Topic awaiting preservation: .htaccess errorDocument problem... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: USA |
posted 08-22-2005 20:34
Hello again, code: # Custom .htaccess for SFOLWeb.com # Last updated: 08/16/2005 <Files .htaccess> order allow,deny deny from all </Files> # Error pages ErrorDocument 404 /error/index.php # Prevent bandwidth theft RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !sfolweb.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !sfolweb\.com [NC] RewriteCond %{HTTP_REFERER} !sb254.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !sb254\.com [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteRule \.(gif|jpe?g|png|psd)$ - [F,NC,L]
|
Maniac (V) Inmate From: raht cheah |
posted 08-22-2005 22:36
Dreamhost's php-cgi prevents the custom 404, still no way around it |
Bipolar (III) Inmate From: USA |
posted 08-22-2005 23:04
Ahh, figures. Oh well. Thanks for letting me know. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 08-23-2005 05:27 |