Mercurial > defr > DualBlog
view .htaccess @ 45:0efb116b1e31
Merge
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Wed, 14 Nov 2007 17:42:13 +0100 |
parents | 1cdb1a68634b 17d9188755b0 |
children | 254c3ce08fc8 |
line wrap: on
line source
Options +FollowSymlinks RewriteEngine on # Kill the RSS version, re-direct to the atom feed RewriteRule ^dualblog.rss$ index.php?atom [L,QSA] RewriteRule ^dualblog.atom$ index.php?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,QSA] RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L,QSA] RewriteRule ^posts/(.*)$ comment.php?id=$1 [L,QSA] RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L,QSA] <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>