Mercurial > defr > DualBlog
comparison .htaccess @ 39:876d42d93e5b
Suppression du mode RSS, l'ancienne url pointe maintenant vers le flux Atom.
Vu la facon dont est concu RSS, il n'y a pas vraiment moyen pour proprement
intégré le XML des posts là dedans... En conséquence, il n'y aura qu'un
flux Atom 1.0.
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Mon, 05 Nov 2007 14:20:58 +0100 |
| parents | 5eb974b45cb1 |
| children | 17d9188755b0 1cdb1a68634b |
comparison
equal
deleted
inserted
replaced
| 38:33d1c5a13acd | 39:876d42d93e5b |
|---|---|
| 1 Options +FollowSymlinks | 1 Options +FollowSymlinks |
| 2 RewriteEngine on | 2 RewriteEngine on |
| 3 RewriteRule ^dualblog.atom$ index.php?outputType=atom | 3 # Kill the RSS version, re-direct to the atom feed |
| 4 RewriteRule ^dualblog.rss$ rss.php | 4 RewriteRule ^dualblog.rss$ index.php?outputType=atom [L,QSA] |
| 5 RewriteRule ^dualblog.atom$ index.php?outputType=atom [L,QSA] | |
| 5 RewriteRule ^posts/$ index.php [L] | 6 RewriteRule ^posts/$ index.php [L] |
| 6 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] |
| 7 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] | 8 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] |
| 8 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] | 9 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] |
| 9 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L] | 10 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L] |
