Changeset 176


Ignore:
Timestamp:
12/02/05 10:14:32 (7 years ago)
Author:
sam
Message:
  • cleaned up rewrite rules
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trollforge/lastmeasure/.htaccess

    r152 r176  
    1010RewriteRule ^~([^/]+)/(.*)$ /index.php?u=$1 [L] 
    1111 
    12 #RewriteCond %{QUERY_STRING} ^(.+)$ 
    13 #RewriteRule ^blog/(rss|rss20|rss20.xml)$ /blog/index.html?%1&mode=rss20 [L] 
    14  
     12# Rewrite almost everything to /index.php 
    1513RewriteCond %{REQUEST_URI} !^/*index\.php.* 
    1614RewriteCond %{REQUEST_URI} !^/favicon\.ico 
    1715RewriteCond %{REQUEST_URI} !^/gnaa\.png 
    1816RewriteCond %{REQUEST_URI} !^/$ 
    19 RewriteCond %{REQUEST_URI} !^/(images|stats|flash).* 
     17RewriteCond %{REQUEST_URI} !^/(images|stats|flash|java)/ 
    2018RewriteRule ^(.*) /index.php?%{QUERY_STRING} [L] 
    2119 
    22 #RewriteCond %{REQUEST_URI} !^/~.* 
    23 #RewriteCond %{REQUEST_URI} !^/~ 
    24 #RewriteRule ^/.* /index.php [R=permanent,L] 
    25  
    26 #ErrorDocument 404 /index.php 
    27  
Note: See TracChangeset for help on using the changeset viewer.