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

Contents of /rpms/smeserver-ajaxterm/contribs9/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 Nov 12 19:00:52 2013 UTC (11 years ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-ajaxterm-1_0_5-6_el6_sme, smeserver-ajaxterm-1_0_5-7_el6_sme, HEAD
Import for SME9

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