Mercurial > defr > DualBlog
changeset 40:17d9188755b0
Ajout de QSA a la re-ecriture, permet de conserver le ?outputType
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Mon, 12 Nov 2007 01:44:55 -0800 |
parents | 876d42d93e5b |
children | 0efb116b1e31 |
files | .htaccess |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.htaccess Mon Nov 05 14:20:58 2007 +0100 +++ b/.htaccess Mon Nov 12 01:44:55 2007 -0800 @@ -4,10 +4,10 @@ RewriteRule ^dualblog.rss$ index.php?outputType=atom [L,QSA] RewriteRule ^dualblog.atom$ index.php?outputType=atom [L,QSA] RewriteRule ^posts/$ index.php [L] -RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?mode=cal&year=$1&month=$2 [L] -RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] -RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] -RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L] +RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?mode=cal&year=$1&month=$2 [L,QSA] +RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L,QSA] +RewriteRule ^posts/(.*)$ comment.php?id=$1 [L,QSA] +RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L,QSA] <Files admin*.php> # AuthUserFile "w:\www\blog\.htpass"