source: trollforge/lastmeasure/.htaccess @ 224

Revision 224, 587 bytes checked in by sam, 7 years ago (diff)
  • fix .htaccess
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} !^/(images|stats|flash|java|audio)/
18RewriteRule ^(.*) /index.php?%{QUERY_STRING} [L]
19
Note: See TracBrowser for help on using the repository browser.