Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made .htaccess play nice with other files

  • Loading branch information...
commit 5ac7f6620c5c3a82a164a3a1c9aeacbbbf4b9641 1 parent 5f5cf20
Bruce Spang authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 .htaccess
8 .htaccess
View
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.