Mercurial > defr > DualBlog
comparison .htaccess @ 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 |
comparison
equal
deleted
inserted
replaced
39:876d42d93e5b | 40:17d9188755b0 |
---|---|
2 RewriteEngine on | 2 RewriteEngine on |
3 # Kill the RSS version, re-direct to the atom feed | 3 # Kill the RSS version, re-direct to the atom feed |
4 RewriteRule ^dualblog.rss$ index.php?outputType=atom [L,QSA] | 4 RewriteRule ^dualblog.rss$ index.php?outputType=atom [L,QSA] |
5 RewriteRule ^dualblog.atom$ index.php?outputType=atom [L,QSA] | 5 RewriteRule ^dualblog.atom$ index.php?outputType=atom [L,QSA] |
6 RewriteRule ^posts/$ index.php [L] | 6 RewriteRule ^posts/$ index.php [L] |
7 RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?mode=cal&year=$1&month=$2 [L] | 7 RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?mode=cal&year=$1&month=$2 [L,QSA] |
8 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] | 8 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L,QSA] |
9 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] | 9 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L,QSA] |
10 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L] | 10 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L,QSA] |
11 | 11 |
12 <Files admin*.php> | 12 <Files admin*.php> |
13 # AuthUserFile "w:\www\blog\.htpass" | 13 # AuthUserFile "w:\www\blog\.htpass" |
14 AuthUserFile "/home/defrnet/defr.net/blog/.htpass" | 14 AuthUserFile "/home/defrnet/defr.net/blog/.htpass" |
15 AuthGroupFile /dev/null | 15 AuthGroupFile /dev/null |