public
Description: A CakePHP Content Management System
Homepage: http://wf.klevo.sk
Clone URL: git://github.com/klevo/wildflower.git
Click here to lend your support to: wildflower and make a donation at www.pledgie.com !
klevo (author)
Tue Oct 06 07:07:42 -0700 2009
commit  853920ce542235a426a12ae3ae2e697a80080143
tree    5ac8bd5519c7b6255bf50cdfa46f7adde7abd4dd
parent  e552d3b9a8d88eb3936b73108970fb8b998bdd90
wildflower / .htaccess
100644 18 lines (13 sloc) 0.552 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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>