/[smecontribs]/rpms/smeserver-ajaxterm/contribs10/smeserver-ajaxterm-1.0.5-patch2.patch
ViewVC logotype

Contents of /rpms/smeserver-ajaxterm/contribs10/smeserver-ajaxterm-1.0.5-patch2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jan 5 07:33:38 2021 UTC (3 years, 10 months ago) by brianr
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Initial import

1 diff -up smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm.patch2 smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm
2 --- smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm.patch2 2007-11-15 13:55:57.000000000 -0500
3 +++ smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm 2013-06-26 20:05:16.000000000 -0400
4 @@ -1,13 +1,16 @@
5 {
6 if ($port eq "443")
7 {
8 + # 64 or i386
9 + my $fileauth = -f "/usr/lib64/httpd/modules/pwauth" ? "/usr/lib64/httpd/modules/pwauth" : "/usr/lib/httpd/modules/pwauth";
10 +
11 $port=$Ajaxterm{servicePort}||8022;
12 $users=$Ajaxterm{basicAuthUsers}||'admin';
13 $webalias=$Ajaxterm{webAlias}||'ajaxterm';
14 $OUT .= " # Ajaxterm\n";
15 $OUT .= " ProxyPass /$webalias/ http://127.0.0.1:$port/\n";
16 $OUT .= " ProxyPassReverse /$webalias/ http://127.0.0.1:$port/\n";
17 - $OUT .= " AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth\n";
18 + $OUT .= " AddExternalAuth pwauth $fileauth\n";
19 $OUT .= " SetExternalAuthMethod pwauth pipe\n";
20 $OUT .= " <Location /$webalias>\n";
21 $OUT .= " AllowOverride None\n";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed