且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

404没有找到,请求的URL<< URL名称>>在字preSS此服务器上未找到

更新时间:2023-08-21 20:20:04

如果它是一个新的Web服务器的安装有可能的.htaccess规则默认情况下不容许。为了解决这个问题,编辑您的httpd.conf(通常是在/ etc / apache2的),找到

If it is a fresh install of web server it is possible that .htaccess rules are not allowed by default. To fix that, edit you httpd.conf (usually it is in /etc/apache2), find

<Directory "path/to/your/document/root">    
    # ....

     AllowOverride None

    # ....

</Directory>

和变化

AllowOverride None

AllowOverride All

然后重新启动您的Web服务器,然后重试。

Then restart your web server and try again.