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:
parent
7fca875a7f
commit
c186211614
@ -25,7 +25,7 @@ RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
|
|||||||
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
||||||
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
|
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
|
||||||
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
|
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
|
||||||
RewriteCond %{REQUEST_URI} !-U
|
#RewriteCond %{REQUEST_URI} !-U
|
||||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||||
|
|
||||||
<Files *.tpl.php>
|
<Files *.tpl.php>
|
||||||
|
@ -27,7 +27,7 @@ RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
|
|||||||
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
||||||
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
|
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
|
||||||
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
|
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
|
||||||
RewriteCond %{REQUEST_URI} !-U
|
#RewriteCond %{REQUEST_URI} !-U
|
||||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||||
|
|
||||||
<Files *.tpl.php>
|
<Files *.tpl.php>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user