1 |
snetram |
1.1 |
diff -up smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.pwauth-32-or-64-bit smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent |
2 |
|
|
--- smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.pwauth-32-or-64-bit 2012-05-26 17:01:01.000000000 +0200 |
3 |
|
|
+++ smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent 2012-09-07 17:49:39.247896334 +0200 |
4 |
|
|
@@ -241,7 +241,12 @@ |
5 |
|
|
|
6 |
|
|
if ($port eq 443) { |
7 |
|
|
|
8 |
|
|
- $OUT .= " AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth\n"; |
9 |
|
|
+ if (-f "/usr/lib64/httpd/modules/pwauth") { |
10 |
|
|
+ $OUT .= " AddExternalAuth pwauth /usr/lib64/httpd/modules/pwauth\n"; |
11 |
|
|
+ } else { |
12 |
|
|
+ $OUT .= " AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth\n"; |
13 |
|
|
+ } |
14 |
|
|
+ |
15 |
|
|
$OUT .= " SetExternalAuthMethod pwauth pipe\n\n"; |
16 |
|
|
|
17 |
|
|
} |