user1360280
user1360280

Reputation:

Error 404 display Issues

I need help with Error 404 Display of my website. When i enter a wrong URL i get a Error 500 display. If i change the URL to a page that i'm sure is in the root, i still get this same Error 500 display.

Please where could the problem come from.

Both the .htaccess file and the 404.php are in the same directory ( root )...

Below is the content of my .htaccess file

  ErrorDocument 404/church/404.php

this is the error in the Apache Error File

   [Sat Apr 28 9:10:04] [alert] [client 127.     0. 0.1] C:/wamp/www/church/.                        htaccess: ErrorDocument takes two          arguments, Change responses for HTTP       errors

thanks for the help.

Upvotes: 1

Views: 2346

Answers (1)

Gareth McCaughan
Gareth McCaughan

Reputation: 19981

You're missing a space: it should say ErrorDocument 404 /church/404.php. (Well, I can't absolutely guarantee that that will work because I don't know what you have in your filesystem, but that's definitely righter than what you have now.)

Upvotes: 1

Related Questions