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

RE: [cobalt-users] 404 Pages



> 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.

It's not supposed to work that way.

> If i change 
> /home/sites/site1/web/404.htm to a url eg. 
> http://www.url.com/index.htm this 
> works.

Right.

> 
> 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.

Huh? Did you put:
ErrorDocument 404 http://www.url.com/index.htm
or
ErrorDocument 404 index.htm

-- 
Dan Kriwitsky

Please reply to the list only. Offlist replies are not read.