This does break staticpages for custom permalinks. Use a different 404 fallback, in staticpages. hopefully soon to come. until then, query {$view == '404'} in your template to show 404 content

This commit is contained in:
Garvin Hicking 2008-09-11 11:19:03 +00:00
parent afec8eca2d
commit 8e028c425d
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteCond %{REQUEST_URI} !-U
#RewriteCond %{REQUEST_URI} !-U
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
<Files *.tpl.php>

View File

@ -27,7 +27,7 @@ RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteCond %{REQUEST_URI} !-U
#RewriteCond %{REQUEST_URI} !-U
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
<Files *.tpl.php>