Mercurial > defr > DualBlog
comparison .htaccess @ 43:1cdb1a68634b
Changement dans la facon dont on choisi le format.
Pour choisir un format, on passe maintenant en query-string
un paramètre dont le nom correspond au nom du format souhaité,
et sans valeur.
Mise à jour du .htaccess en fonction de cette nouvelle
forme de selection.
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Wed, 14 Nov 2007 17:12:37 +0100 |
| parents | 876d42d93e5b |
| children | 0efb116b1e31 |
comparison
equal
deleted
inserted
replaced
| 42:390bbf7c5aea | 43:1cdb1a68634b |
|---|---|
| 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?outputType=atom [L,QSA] | 4 RewriteRule ^dualblog.rss$ index.php?atom [L,QSA] |
| 5 RewriteRule ^dualblog.atom$ index.php?outputType=atom [L,QSA] | 5 RewriteRule ^dualblog.atom$ index.php?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] |
| 8 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] | 8 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] |
| 9 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] | 9 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] |
| 10 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L] | 10 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L] |
