Mercurial > defr > DualBlog
comparison .htaccess @ 50:8dfd60fcb385
Ajout de quelques commentaires.
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Wed, 14 Nov 2007 10:15:30 -0800 |
parents | 254c3ce08fc8 |
children |
comparison
equal
deleted
inserted
replaced
49:d0e0a216ad83 | 50:8dfd60fcb385 |
---|---|
1 Options +FollowSymlinks | 1 Options +FollowSymlinks |
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?atom [L,QSA] | 4 RewriteRule ^dualblog.rss$ index.php?atom [L,QSA] |
5 # Atom feed | |
5 RewriteRule ^dualblog.atom$ index.php?atom [L,QSA] | 6 RewriteRule ^dualblog.atom$ index.php?atom [L,QSA] |
7 # Map the nice urls | |
6 RewriteRule ^posts/$ index.php [L] | 8 RewriteRule ^posts/$ index.php [L] |
7 RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?mode=cal&year=$1&month=$2 [L,QSA] | 9 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,QSA] | 10 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L,QSA] |
9 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L,QSA] | 11 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L,QSA] |
10 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L,QSA] | 12 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L,QSA] |