26 April 2005 Tuesday
RewriteRule ^$ index.html [L]
ie. allowing index.html despite textpattern’s obsession with index.php
thank you Andrew (aka ‘birthday boy’) for the line:
RewriteRule ^$ index.html [L]
making my .htaccess file:
RewriteEngine On
# line with [L] is specifically for construction
RewriteRule ^$ index.html [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.*) index.php
the brilliance and use of this is that index.html
is no longer trumped by the index.php which is core to textpattern… so i can have my placeholder active in index.html
, and still have my textpattern site/index.php
running along happily.
If you don't have one (and would like one), get a Gravatar.
Add your comment here: