404 custom error page [solved]

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

404 custom error page [solved]

Post by papa »

Just did a custom 404 page and works fine on my webhost but not locally. Just curious if there is something in my httpd.conf file I have to change ? I've googled and looked around but seems it "should work".

My .htaccess:
ErrorDocument 404 /404.php

:)
Last edited by papa on Thu Jan 15, 2009 6:18 am, edited 1 time in total.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: 404 custom error page

Post by jaoudestudios »

We were helping Jordi yesterday with a similar issue.
viewtopic.php?f=31&t=93513

Do you have AllowOverride All in your httpd.conf file?
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: 404 custom error page

Post by papa »

Ah thank you, it was my path that was wrong.
Post Reply