1 |
unnilennium |
1.1 |
diff -Nur smeserver-ajaxterm-1.0.5.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm |
2 |
|
|
--- smeserver-ajaxterm-1.0.5.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm 2016-06-13 11:33:19.015000000 -0400 |
3 |
|
|
+++ smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm 2016-06-13 11:41:44.364000000 -0400 |
4 |
|
|
@@ -10,14 +10,14 @@ |
5 |
|
|
$OUT .= " # Ajaxterm\n"; |
6 |
|
|
$OUT .= " ProxyPass /$webalias/ http://127.0.0.1:$port/\n"; |
7 |
|
|
$OUT .= " ProxyPassReverse /$webalias/ http://127.0.0.1:$port/\n"; |
8 |
|
|
- $OUT .= " AddExternalAuth pwauth $fileauth\n"; |
9 |
|
|
- $OUT .= " SetExternalAuthMethod pwauth pipe\n"; |
10 |
|
|
+ $OUT .= " DefineExternalAuth pwauth pipe /usr/bin/pwauth\n"; |
11 |
|
|
$OUT .= " <Location /$webalias>\n"; |
12 |
|
|
$OUT .= " order deny,allow\n"; |
13 |
|
|
$OUT .= " deny from all\n"; |
14 |
|
|
$OUT .= " allow from all\n"; |
15 |
|
|
$OUT .= " AuthName \"$webalias\"\n"; |
16 |
|
|
$OUT .= " AuthType Basic\n"; |
17 |
|
|
+ $OUT .= " AuthBasicProvider external\n"; |
18 |
|
|
$OUT .= " AuthExternal pwauth\n"; |
19 |
|
|
$OUT .= " require user $users\n"; |
20 |
|
|
$OUT .= " Satisfy all\n"; |