Created
January 3, 2012 11:58
-
-
Save bastianallgeier/1554649 to your computer and use it in GitHub Desktop.
Kirby Default htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DirectoryIndex index.php index.htm index.html | |
# disable directory listing | |
Options -Indexes | |
# rewrite rules | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# make sure to set the RewriteBase correctly | |
# for your domain and subfolders. Otherwise | |
# the installation of kirby won't work | |
RewriteBase / | |
RewriteRule ^(.*) index.php [L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment