I read everything and made this htaccess file on server Apache/1.3.31 (Unix) PHP/5.0.0 FrontPage/5.0.2.2635 mod_ssl/2.8.19
File:
ErrorDocument 404 [
currentmysite.com...]
ErrorDocument 403 [
currentmysite.com...] forbidden.htm
SetEnvIfNoCase Referer "^http://www.currentmysite.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://www.currentmysite.com$" locally_linked=1
SetEnvIfNoCase Referer "^http://currentmysite.com/" locally_linked=1
SetEnvIfNoCase Referer "^http://currentmysite.com$" locally_linked=1
SetEnvIfNoCase Referer "^$" locally_linked=1
<FilesMatch "\.(gif¦png¦jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>
It works just like everyone said it it would. I get real nice pages for the errors.
However, the access log shows a 304 resonse code for the 403 and a 200 response code for the 404 eror. I expected 403 and 404 response codes. This really messes up the stats and search engines. Is this what everyone gets? I see you do not not help with code. Can I get some help here or can you direct me to a forum that can help me?