Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 552 Bytes
# PHP version - on _some_ web hosts you enable PHP5 like this:
# AddType x-mapp-php5 .php
<IfModule mod_rewrite.c>
RewriteEngine on
# Maitenance mode: (uncoment following line)
# RewriteRule ^(.*)$ app/webroot/offline.html [L]
# HTML cache
RewriteCond %{REQUEST_METHOD} ^GET$
RewriteCond %{DOCUMENT_ROOT}/wildflower/app/webroot/cache/$1/index.html -f
RewriteRule ^(.*)$ app/webroot/cache/$1/index.html [L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>