Mercurial > defr > DualBlog
diff .htaccess @ 0:629389204276
Import initial
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Sat, 20 Oct 2007 14:15:10 +0200 |
parents | |
children | 3b7c1400f89a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.htaccess Sat Oct 20 14:15:10 2007 +0200 @@ -0,0 +1,22 @@ +Options +FollowSymlinks +RewriteEngine on +RewriteRule ^dualblog.atom$ atom.php +RewriteRule ^dualblog.rss$ rss.php +RewriteRule ^posts/$ index.php [L] +RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?type=cal&year=$1&month=$2 [L] +RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L] +RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] +RewriteRule ^tags/(.*)$ tag.php?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> +