source: trollforge/lastmeasure/.htaccess @ 564

Revision 275, 568 bytes checked in by sam, 5 years ago (diff)
  • Disallow browsing /images /java and /audio.
Line 
1# $Id: .htaccess 141 2005-12-02 09:14:32Z sam $
2
3AddDefaultCharset utf-8
4
5RewriteEngine On
6
7# Rewrite /~foo/blah/bluh -> /index.php?u=foo
8RewriteCond %{QUERY_STRING} ^(.+)$
9RewriteRule ^~([^/]+)/(.*)$ /index.php?%1&u=$1 [L]
10RewriteRule ^~([^/]+)/(.*)$ /index.php?u=$1 [L]
11
12# Rewrite almost everything to /index.php
13RewriteCond %{REQUEST_URI} !^/*index\.php.*
14RewriteCond %{REQUEST_URI} !^/favicon\.ico
15RewriteCond %{REQUEST_URI} !^/gnaa\.png
16RewriteCond %{REQUEST_URI} !^/$
17RewriteCond %{REQUEST_URI} !^/(stats|java)/
18RewriteRule ^(.*) /index.php?%{QUERY_STRING} [L]
19
Note: See TracBrowser for help on using the repository browser.