view .htaccess @ 76:55582b82c43d

Leger changement sur les tags, tag1 |tag2 => tag1 | tag2. Techniquement, on stocke desormais un array des tags. Accessoirement, en bonus, on vire les quelques tabs qui se trouvaient dans ce fichier pour les remplacer par des espaces.
author Franck Deroche <webmaster@defr.org>
date Sun, 29 Jun 2008 22:34:01 +0200
parents 8dfd60fcb385
children
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]
# Atom feed
RewriteRule ^dualblog.atom$ index.php?atom [L,QSA]
# Map the nice urls
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]

# Ignore case for the logo
RewriteRule ^dualblog.gif$ logo.gif [L,NC]

<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>