Click to See Complete Forum and Search --> : .htaccess problem in custom error page


php4om
09-07-2004, 03:03 AM
hi
i am using .htaccess file for display custom error page but is is not working.

iam using
ErrorDocument 404 http://localhost/om/error/404.php
or
ErrorDocument 404 /404.php

both are them are not working. 404.php and .htaccess file are on the same dir.
i want when some user try to access the which is not existing it should display my 404.php page

i am using Win XP in local server and installed apache2triad where i am exucting php code.

Please help me.
thanks

LordShryku
09-07-2004, 09:45 PM
Originally posted by php4om
i am using Win XP in local server and installed apache2triad where i am exucting php code.

And this is a Linux problem? :confused: