Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (30 sloc) 1.0 kb
<IfModule mod_php5.c>
php_flag register_globals off
# Uncomment the following line to turn on detailed on-screen error
# reporting. Remember: this should be kept off for production sites.
#SetEnv APPLICATION_ENV development
RewriteEngine on
# If know that mod_rewrite is enabled, but you are still getting mod_rewrite errors,
# uncomment the line below and replace "/" with your base directory.
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^admin/ - [C]
RewriteRule .* admin/index.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.php
<FilesMatch "\.(php|ini)$">
Order Allow,Deny
Deny from all
<Files index.php>
Allow from all
# Uncomment the lines below in order to enable caching of some files via Apache (after a finished site has gone live)
<IfModule mod_expires.c>
# <FilesMatch "\.(js|ico|gif|jpg|png|css)$">
# ExpiresActive on
# ExpiresDefault "access plus 10 day"
# </FilesMatch>
Jump to Line
Something went wrong with that request. Please try again.