Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made .htaccess play nice with other files

  • Loading branch information...
commit 5ac7f6620c5c3a82a164a3a1c9aeacbbbf4b9641 1 parent 5f5cf20
@brucespang authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 .htaccess
View
8 .htaccess
@@ -1,3 +1,9 @@
RewriteEngine On
-RewriteRule (.*) index.php?q=$1 [L]
+#Rewrite Rules
+
+RewriteRule ^$ index.php?q=/ [L]
+
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule (.*) index.php?q=$1 [L]

0 comments on commit 5ac7f66

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