comparison .htaccess @ 15:3b7c1400f89a

Redirections adaptées à la nouvelle architecture.
author Franck Deroche <webmaster@defr.org>
date Fri, 26 Oct 2007 14:36:59 +0200
parents 629389204276
children 5eb974b45cb1
comparison
equal deleted inserted replaced
14:ec1453cb74b8 15:3b7c1400f89a
1 Options +FollowSymlinks 1 Options +FollowSymlinks
2 RewriteEngine on 2 RewriteEngine on
3 RewriteRule ^dualblog.atom$ atom.php 3 RewriteRule ^dualblog.atom$ atom.php
4 RewriteRule ^dualblog.rss$ rss.php 4 RewriteRule ^dualblog.rss$ rss.php
5 RewriteRule ^posts/$ index.php [L] 5 RewriteRule ^posts/$ index.php [L]
6 RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?type=cal&year=$1&month=$2 [L] 6 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] 7 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L]
8 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L] 8 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L]
9 RewriteRule ^tags/(.*)$ tag.php?tag=$1 [L] 9 RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L]
10 10
11 <Files admin*.php> 11 <Files admin*.php>
12 # AuthUserFile "w:\www\blog\.htpass" 12 # AuthUserFile "w:\www\blog\.htpass"
13 AuthUserFile "/home/defrnet/defr.net/blog/.htpass" 13 AuthUserFile "/home/defrnet/defr.net/blog/.htpass"
14 AuthGroupFile /dev/null 14 AuthGroupFile /dev/null