Htaccess File

klevo/wildflower/master/.htaccess

DOCUMENT_ROOT, GET, REQUEST_METHOD
# 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>
Exit mobile version