Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: noredlac on April 27, 2004, 05:59:40 AM

Title: 404 errors (page not found) to get re-directed to main site
Post by: noredlac 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
Title: 404 errors (page not found) to get re-directed to main site
Post by: Anonymous 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
Title: 404 errors (page not found) to get re-directed to main site
Post by: mstenson 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: