Fixes Issue #521
This commit is contained in:
parent
405fa77e3f
commit
07d75a6d65
@ -1,5 +1,9 @@
|
||||
Version 2.x.x (major) ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Adapt .htacess default rules to exclude rewriting documentation
|
||||
(Issue #521)
|
||||
|
||||
* Add backend_view_entry hook, that is executed for every entry
|
||||
in the backend entry list
|
||||
|
||||
|
@ -6,6 +6,7 @@ Options -MultiViews
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase {PREFIX}
|
||||
RewriteRule ^plugins/.+/documentation.*\.html - [L]
|
||||
RewriteRule ^serendipity_admin.php serendipity_admin.php [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK}) {indexFile}?/$1 [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK_AUTHORS}) {indexFile}?/$1 [NC,L,QSA]
|
||||
@ -28,7 +29,6 @@ RewriteRule ^{PAT_CSS}$ {indexFile}?url=/$1 [L,QSA]
|
||||
RewriteRule ^{PAT_JS}$ {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
|
||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
|
@ -5,6 +5,7 @@ DirectoryIndex {PREFIX}{indexFile}
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase {PREFIX}
|
||||
RewriteRule ^plugins/.+/documentation.*\.html - [L]
|
||||
RewriteRule ^serendipity_admin.php serendipity_admin.php [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK}) {indexFile}?/$1 [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK_AUTHORS}) {indexFile}?/$1 [NC,L,QSA]
|
||||
@ -27,7 +28,6 @@ RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
||||
RewriteRule ^{PAT_JS}$ {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
|
||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
|
@ -6,6 +6,7 @@ Options -MultiViews
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase {PREFIX}
|
||||
RewriteRule ^plugins/.+/documentation.*\.html - [L]
|
||||
RewriteRule ^serendipity_admin.php serendipity_admin.php [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK}) {indexFile}?/$1 [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK_AUTHORS}) {indexFile}?/$1 [NC,L,QSA]
|
||||
@ -28,7 +29,6 @@ RewriteRule ^{PAT_CSS}$ {indexFile}?url=/$1 [L,QSA]
|
||||
RewriteRule ^{PAT_JS}$ {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
|
||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
|
@ -5,6 +5,7 @@ DirectoryIndex {PREFIX}{indexFile}
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase {PREFIX}
|
||||
RewriteRule ^plugins/.+/documentation.*\.html - [L]
|
||||
RewriteRule ^serendipity_admin.php serendipity_admin.php [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK}) {indexFile}?/$1 [NC,L,QSA]
|
||||
RewriteRule ^({PAT_PERMALINK_AUTHORS}) {indexFile}?/$1 [NC,L,QSA]
|
||||
@ -27,7 +28,6 @@ RewriteRule ^{PAT_CSS} {indexFile}?url=/$1 [L,QSA]
|
||||
RewriteRule ^{PAT_JS}$ {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
|
||||
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]
|
||||
</IfModule>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user