我知道这个线程已经谈了很多网页和这里,我尝试了几乎所有的方法,但我依然有同样的问题。获得404 Not Found错误,同时尝试使用的ErrorDocument
这是我的本地服务器上我的网址(毫安)
http://localhost:8888/hellothere/index.php
而且我试图插入一个错误的道路带我到错误的页面,如下图所示:
http://localhost:8888/hellothere/eiurgiuerib
相反带我到错误页面它显示:
Not Found
The requested URL /hellothere/eiurgiuerib was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
我的404页面在Error目录中。而我的.htaccess文件里面我已经包含了这一点:
ErrorDocument 404 /Error/404.php
是什么问题? – StaticVariable
自定义错误页面不起作用。所以我该怎么做 ? – user1725155
你能显示你的文件夹架构吗? – StaticVariable