I am currently working on my own website which runs on the local Apache server.
I have .htaccess files that redirect 404 errors to a custom page.
Here it is:
ErrorDocument 404 / 404.php
But I have the following error instead of my custom 404 page:
not found The requested URL / my-site / gqehgr was not found on this server There was also a 404 missing error when trying to use an ErrorDocument to handle the request. Apache / 2.4.9 (Win32) PHP / 5.5.12 server port 80 on PortHost port 80 I have seen on many forums that I can use revetigin but I understand this Does not come about how it works. Does anyone have any clues? Edit: should be a line: Error document 404 / my site / 404.php
Your 404.php
can not be found. Please try to request your code /404.php
manually.
Comments
Post a Comment