[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] 404 Pages



Hi

I am trying to to setup custom 404 pages for a site on a raq4. I have created a .htaccess file in the root of a web site, eg. /home/sites/site1/web/.htaccess and added:
  ErrorDocument 404 /home/sites/site1/web/404.htm
But this dont work. I get a MS IE 404 page. If i change /home/sites/site1/web/404.htm to a url eg. http://www.url.com/index.htm this works.

If I then try putting in a non existant url in the browser I get the redirect to the url that is in the .htaccess. if I then browse to http://www.url.com/fakefolder/fake.htm then it loads the index.htm page in the fakefolder and dont work.

In apache.conf I have AllowOverride All set.

All I need to i be able to have custom 404 pages.

Any help would be apreciated.

Thanks.

------------------
Cameron Cooke
Toucan Resolve Ltd.
cameron@xxxxxxxxxxxxxxxxxxx

_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com