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

Re: [cobalt-users] .htaccess !.htaccess custom 404



I use a .htacces file. It is on the directory i want to change error page.
it look like this :

ErrorDocument 404 http://www.mydomain.com/errors/404.htm
Options -Indexes

Just add lines for other sorts of errors.

Thats all, and it works perfectly...

Hope it will help you

Ramon LOPEZ

----- Original Message -----
From: DenIT Internet Services [Thijs] <thijs@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, October 04, 2001 3:02 PM
Subject: [cobalt-users] .htaccess !.htaccess custom 404


> Ok, one more post about the custom 404's.
> I know, this subject has been stomped into the ground and thrown around
like
> a monkey, but still I remain clueless.
>
> I tried changing srm.conf, changed the /cobalt_error/<errordoc>.html to
> /404.html, and now it doesn't display the 404.html nor does it diplay the
> cobalt error (im thinking it is now looking in <root>/404.html
>
> I also tried adding "FileInfo" to srm.conf, right place, restarted apache,
> still no go. I uploaded a .htaccess, and in it i put this
> ErrorDocument 404 /404.html
> ErrorDocument 401 /401.html
> ErrorDocument 500 /500.html
> ErrorDocument 403 /403.html
>
> still no go... I am completely lost here. whaat am I missing...
>
>  Regards
>
> Thijs Boonstra,
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>