source: trollforge/lastmeasure/.htaccess @ 773

Revision 693, 701 bytes checked in by gary, 16 months ago (diff)

Disable deprecated shit from .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} !^/robots.txt
17RewriteCond %{REQUEST_URI} !^/$
18RewriteCond %{REQUEST_URI} !^/(stats|java)/
19RewriteRule ^(.*) /index.php?%{QUERY_STRING} [L]
20#RewriteRule ^(.*) http://upload.wikimedia.org/wikipedia/en/9/9d/Goatse.fr_homepage.png [L]
21
Note: See TracBrowser for help on using the repository browser.