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

Annotation of /rpms/smeserver-ajaxterm/contribs8/smeserver-ajaxterm-1.0.5-patch2.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Jun 27 00:08:39 2013 UTC (11 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ajaxterm-1_0_5-6_el5_sme, smeserver-ajaxterm-1_0_5-5_el5_sme, HEAD
* Wed Jun 26 2013 JP Pialasse <tests@pialasse.com> 1.0.5-5
- fix lib64 issue to auth [SME: 7309 ]
- patch2

1 unnilennium 1.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