Fred
01-30-2004, 01:01 AM
I am currently using this 404 redirect back to my homepage in my .htaccess under Linux/Apache
ErrorDocument 404 http://www.cyberserious.com
This works great, but I want to find out how I can set it up to retain any bad page URLs in the browser's address bar instead of removing them from my homepage URL, and works for all types of pages - php and html.
IE: If somebody attempts to go to a non-existent page like
http://www.cyberserious.com/xyz.html
I would like the redirect to retain the "/xyz.html" part when it redirects to
http://www.cyberserious.com
and continue to appear as http://www.cyberserious.com/xyz.html
in their browser's address bar, instead of bouncing to http://www.cyberserious.com
Reason: I want to protect my privacy from prying eyes who want to find out if I'm using php, asp, etc..
Fred
ErrorDocument 404 http://www.cyberserious.com
This works great, but I want to find out how I can set it up to retain any bad page URLs in the browser's address bar instead of removing them from my homepage URL, and works for all types of pages - php and html.
IE: If somebody attempts to go to a non-existent page like
http://www.cyberserious.com/xyz.html
I would like the redirect to retain the "/xyz.html" part when it redirects to
http://www.cyberserious.com
and continue to appear as http://www.cyberserious.com/xyz.html
in their browser's address bar, instead of bouncing to http://www.cyberserious.com
Reason: I want to protect my privacy from prying eyes who want to find out if I'm using php, asp, etc..
Fred