Problems with 404 pages and .htaccess files
Create a .htaccess and that’s it
ErrorDocument 404 /missing.html
On the homepage, you need to make sure your host supports .htaccess..
To modify the conf file, you need to restart apache..
It has nothing to do with UrlRewrite, it mainly depends on whether it supports .htaccess
Add a sentence if you support:
ErrorDocument 404 /my404page.html
http://www.bkjia.com/PHPjc/632478.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632478.htmlTechArticle404 page and .htaccess file problem. Create .htaccess and it will be fine. ErrorDocument 404 /missing.html Home Page You Make sure your host supports .htaccess.. To modify the conf file, restart apache...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn