Skip to content

Commit

Permalink
Merge pull request #910 from jpetto/bug-845988-url-double-slashes
Browse files Browse the repository at this point in the history
Add RewriteCond/Rule to remove URL double slashes. Bug 845988.
  • Loading branch information
pmac committed Jul 25, 2013
2 parents 5a02b7c + ab531a2 commit bfbcc30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/httpd/global.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ExpiresActive on
RewriteCond %{HTTP_HOST} ^(.*)\.$
RewriteRule ^(.*)$ $1 [L,R=301]

# bug 845988 - remove double slashes in URLs
RewriteRule ^(.*)//(.*)$ $1/$2 [L,R=301]

# bug 880182
RewriteRule ^/ja-JP-mac(/.*)? /ja$1 [L,R=301]

Expand Down

0 comments on commit bfbcc30

Please sign in to comment.