root/trunk/.htaccess

Revision 526, 379 bytes (checked in by michiel, 13 months ago)

make sure the mvblog.ini cannot be requested by visitors.

Line 
1<IfModule mod_rewrite.c>
2        RewriteEngine On
3        RewriteRule post/(.*)$ index.php?action=view&id=$1 [NC,L]
4        RewriteRule archive/(.*)$ index.php?action=archive&m=$1 [NC,L]
5        RewriteRule category/(.*)$ index.php?action=archive_cat&c=$1 [NC,L]
6</IfModule>
7ErrorDocument 404 "/index.php?action=view&id=httperror&error=404"
8<Files ~ "^mvblog.ini">
9        Order deny,allow
10        deny from all
11</Files>
Note: See TracBrowser for help on using the browser.