View Single Post
Old 10-19-2009, 06:41 PM  
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Code:
<IfModule mod_rewrite.c>
	RewriteEngine On
        RewriteRule ^captcha.gif$ /captcha/index.php?mode=GIF [L]
        RewriteRule ^captcha.jpg$ /captcha/index.php?mode=JPG [L]
        RewriteRule ^country.gif$ /geoip/index.php?mode=GIF [L]
        RewriteRule ^fortune.gif$ /fortune/index.php?mode=GIF [L]
        RewriteRule ^wherefrom.jpg$ /whowhere/index.php?mode=JPG [L]
	RewriteRule ^gfyrss$ /gfyrss/index.php [L]
	RewriteRule ^gfyrss.xml$ /gfyrss/index.php [L]
        RewriteRule ^channel([0-9]+)\.gif /xmsig/index.php?mode=GIF&channel=$1 [L]
	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]
	RewriteRule ^(.*) index.php
        RewriteCond %{REQUEST_URI} !=/favicon.ico
        RewriteRule ^(.*) index.php
        RewriteCond %{HTTP:Authorization}  !^$
        RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
What? I try to keep shit fairly clean, but I have some legacy crap.
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote