wip
[anoweco.git] / www / .htaccess
1 # PHP does not see the "Authorization" header by default
2 # so we have to manually pass it to PHP
3 SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
4
5 RewriteEngine On
6 RewriteBase /
7 RewriteCond %{REQUEST_FILENAME} !-f
8 RewriteCond %{REQUEST_FILENAME} !-d
9 RewriteRule ^comment/([0-9]+).htm$ comment.php?id=$1
10 RewriteRule ^user/([0-9]+).htm$ user.php?id=$1