source: trollforge/lastmeasure/.htaccess @ 152

Revision 152, 753 bytes checked in by sam, 7 years ago (diff)
  • don't redirect on rewrite
  • Property svn:keywords set to Id
Line 
1# $Id$
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#RewriteCond %{QUERY_STRING} ^(.+)$
13#RewriteRule ^blog/(rss|rss20|rss20.xml)$ /blog/index.html?%1&mode=rss20 [L]
14
15RewriteCond %{REQUEST_URI} !^/*index\.php.*
16RewriteCond %{REQUEST_URI} !^/favicon\.ico
17RewriteCond %{REQUEST_URI} !^/gnaa\.png
18RewriteCond %{REQUEST_URI} !^/$
19RewriteCond %{REQUEST_URI} !^/(images|stats|flash).*
20RewriteRule ^(.*) /index.php?%{QUERY_STRING} [L]
21
22#RewriteCond %{REQUEST_URI} !^/~.*
23#RewriteCond %{REQUEST_URI} !^/~
24#RewriteRule ^/.* /index.php [R=permanent,L]
25
26#ErrorDocument 404 /index.php
27
Note: See TracBrowser for help on using the repository browser.