From e99ac00b481eb2541d748884dda09907655c07ef Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 6 May 2008 08:23:16 +0000 Subject: [PATCH] Document, RewriteRule for admin --- docs/NEWS | 6 ++++++ include/tpl/htaccess_cgi_rewrite.tpl | 1 + include/tpl/htaccess_rewrite.tpl | 1 + 3 files changed, 8 insertions(+) diff --git a/docs/NEWS b/docs/NEWS index 7314c56f..4a77c477 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,12 @@ Version 1.4 () ------------------------------------------------------------------------ + * Added RewriteRule to ensure that admin panel can be called, + thanks to rich4647 from the forums. + + * Added file checksums to be able to verify integral structure + of a s9y release (judebert) + * Use semantically better HTML output by sidebar plugins (ordererd lists, less
s, ...) (YellowLED) diff --git a/include/tpl/htaccess_cgi_rewrite.tpl b/include/tpl/htaccess_cgi_rewrite.tpl index 40667dc7..67930154 100644 --- a/include/tpl/htaccess_cgi_rewrite.tpl +++ b/include/tpl/htaccess_cgi_rewrite.tpl @@ -4,6 +4,7 @@ DirectoryIndex {PREFIX}{indexFile} RewriteEngine On RewriteBase {PREFIX} +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] RewriteRule ^({PAT_PERMALINK_FEEDCATEGORIES}) {indexFile}?/$1 [NC,L,QSA] diff --git a/include/tpl/htaccess_rewrite.tpl b/include/tpl/htaccess_rewrite.tpl index b8f46d84..342dae70 100644 --- a/include/tpl/htaccess_rewrite.tpl +++ b/include/tpl/htaccess_rewrite.tpl @@ -6,6 +6,7 @@ php_value register_globals off RewriteEngine On RewriteBase {PREFIX} +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] RewriteRule ^({PAT_PERMALINK_FEEDCATEGORIES}) {indexFile}?/$1 [NC,L,QSA]