moved qdb here because matt is lazy
[public/www-new.git] / pub / qdb / .htaccess
1 <IfModule mod_rewrite.c>\r
2 RewriteEngine On\r
3 RewriteRule  ^([0-9]+|0x[0-9A-Fa-f]+|0b[01]+)$  index.cgi?id=$1  [L]\r
4 RewriteRule  ^(rss|atom)$  %{REQUEST_URI}/qotw  [L,R=301]\r
5 RewriteRule  ^(rss|atom)/([a-z_]+)$  index.cgi?action=$2&output=$1  [L]\r
6 RewriteRule  ^ms/([a-z_]+)$  index.cgi?action=$1&output=ms  [L]\r
7 RewriteRule  ^search/(.+)  index.cgi?action=search&query=$1  [L]\r
8 RewriteRule  ^tags/([^\ ]+)$  index.cgi?action=search&query=tag:$1  [L]\r
9 RewriteRule  ^([a-z_]+)(/([a-z_]*))?$  index.cgi?action=$1&admin_action=$3  [L,QSA]\r
10 </IfModule>\r
11 \r
12 <IfModule mod_access.c>\r
13 <Files chirpy.ini>\r
14 order deny,allow\r
15 deny from all\r
16 </Files>\r
17 </IfModule>\r
18 \r
19 AuthType WebAuth\r
20 require valid-user\r
21 \r
22 AddHandler cgi-script .cgi\r