* Default .htaccess now contains a conditional rewrite pattern

for fallback *.html generation. Thanks to absynth.
      (TODO: Regenerate .htaccess on update, maybe make this
       condition optional)
This commit is contained in:
Garvin Hicking 2008-06-02 07:37:48 +00:00
parent a4533104e8
commit 763b7da5db
3 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,11 @@
Version 1.4 ()
------------------------------------------------------------------------
* Default .htaccess now contains a conditional rewrite pattern
for fallback *.html generation. Thanks to absynth.
(TODO: Regenerate .htaccess on update, maybe make this
condition optional)
* Update to Spartacus to support custom mirrors (garvinhicking)
* Added possibility to access more SQL query parts of fetchEntries

View File

@ -23,6 +23,7 @@ RewriteRule ^{PAT_PLUGIN} {indexFile}?url=$1/$2 [L,QSA]
RewriteRule ^{PAT_SEARCH} {indexFile}?url=/{PATH_SEARCH}/$1 [L,QSA]
RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
RewriteCond %{REQUEST_URI} !-U
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]

View File

@ -25,6 +25,7 @@ RewriteRule ^{PAT_PLUGIN} {indexFile}?url=$1/$2 [L,QSA]
RewriteRule ^{PAT_SEARCH} {indexFile}?url=/{PATH_SEARCH}/$1 [L,QSA]
RewriteRule ^{PAT_COMMENTS} {indexFile}?url=/{PATH_COMMENTS}/$1 [L,QSA]
RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
RewriteCond %{REQUEST_URI} !-U
RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]