Koozali.org: home of the SME Server

404 errors (page not found) to get re-directed to main site

noredlac

404 errors (page not found) to get re-directed to main site
« on: April 27, 2004, 05:59:40 AM »
Hi all, here goes another question.

Valid URL -> www.abc.com
Invalid URL example -> www.abc.com/custlist.html

If a web user tries to go to the invalid URL listed above, I would want him to get re-directed automatically to www.abc.com instead of getting the 404 error.  Is it possible in SME?

Still on version 5.6 and setting up a new v.6 server.
I would like this functionality on both versions if possible.

Thanks
 :-D

Anonymous

404 errors (page not found) to get re-directed to main site
« Reply #1 on: April 27, 2004, 06:34:33 AM »
You should be able to do it using apache's error handling.

http://httpd.apache.org/docs/mod/core.html#errordocument

mstenson

404 errors (page not found) to get re-directed to main site
« Reply #2 on: April 27, 2004, 06:36:06 AM »
Quote from: "Anonymous"
You should be able to do it using apache's error handling.

http://httpd.apache.org/docs/mod/core.html#errordocument





Somehow I never seem to notice my login's timed out  :roll: