Mercurial > defr > DualBlog
view .htaccess @ 41:8d209692d734
Conversion des atomes de type ?param¶m2=truc en param=param
Cela correspond à ce qui se fait par exemple sur les
attributs lors du passage de XML à XHTML, avec
checked='checked' pour les checkbox par exemple.
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Mon, 12 Nov 2007 17:05:37 +0100 |
parents | 876d42d93e5b |
children | 17d9188755b0 1cdb1a68634b |
line wrap: on
line source
Options +FollowSymlinks RewriteEngine on # Kill the RSS version, re-direct to the atom feed 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] <Files admin*.php> # AuthUserFile "w:\www\blog\.htpass" AuthUserFile "/home/defrnet/defr.net/blog/.htpass" AuthGroupFile /dev/null AuthName "Dual Blog - Administration" AuthType Basic require valid-user # Order Deny,Allow # Deny from all # Allow from 127.0.0.1 </Files>