/[smeserver]/rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-remove_double_slash_in_rewrite.patch
ViewVC logotype

Annotation of /rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-remove_double_slash_in_rewrite.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Jan 20 20:59:45 2016 UTC (8 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ibays-2_2_0-16_el5_sme, HEAD
* Wed Jan 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-16.sme
- Remove double / from SSL RewriteRule [SME: 9194]

1 vip-ire 1.1 diff -Nur e-smith-ibays-2.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent e-smith-ibays-2.2.0_bz9194/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent
2     --- e-smith-ibays-2.2.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent 2016-01-20 21:55:49.680248330 +0100
3     +++ e-smith-ibays-2.2.0_bz9194/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent 2016-01-20 21:56:49.541243518 +0100
4     @@ -19,7 +19,7 @@
5     {
6     my $portspec = ($SSLPort eq 443) ? "" : ":$SSLPort";
7     $OUT .= " RewriteEngine on\n";
8     - $OUT .= " RewriteRule ^/(/.*|\$) https://%{HTTP_HOST}${portspec}/\$1 [R,L]\n";
9     + $OUT .= " RewriteRule ^/(.*|\$) https://%{HTTP_HOST}${portspec}/\$1 [R,L]\n";
10     }
11    
12     if ($cgiBin)

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