/[smeserver]/rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.0-remove_double_slash_in_rewrite.patch
ViewVC logotype

Annotation of /rpms/e-smith-ibays/sme9/e-smith-ibays-2.4.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:54:27 2016 UTC (8 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ibays-2_4_0-14_el6_sme, HEAD
* Wed Jan 20 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme
- Remove double / in SSL RewriteRule [SME: 9195]

1 vip-ire 1.1 diff -Nur e-smith-ibays-2.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent e-smith-ibays-2.4.0_bz9195/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent
2     --- e-smith-ibays-2.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent 2016-01-20 21:47:55.517285799 +0100
3     +++ e-smith-ibays-2.4.0_bz9195/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/20IbayContent 2016-01-20 21:51:47.987267520 +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