Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

RewriteBase directive added, to prevent some issues with virtual hosts.

  • Loading branch information...
1 parent 3e17140 commit fd492ee206ab9e18ff4e97b51799e7a2a03fae92 @bfontaine bfontaine committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  .htaccess
2  .htaccess
@@ -11,6 +11,7 @@ AddType text/cache-manifest .appcache
Options +FollowSymlinks
Options -Indexes
RewriteEngine on
+RewriteBase /
# Redirect to www.
RewriteCond %{HTTP_HOST} ^$ [NC]
@@ -35,6 +36,7 @@ RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteCond %{HTTP_HOST} !^$ [NC]
+RewriteCond %{REQUEST_URI} !=/index.php
# with QSA flag (query string append),
# forces the rewrite engine to append a query string part of the
# substitution string to the existing string, instead of replacing it.

0 comments on commit fd492ee

Please sign in to comment.
Something went wrong with that request. Please try again.