📌  相关文章
📜  未找到 在此服务器上未找到请求的 URL. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:52.357000             🧑  作者: Mango

代码示例2
first -
sudo a2enmod rewrite


sudo systemctl restart apache2

this line depends on your apache2 version you found on your console copy and past ...

      sudo nano /etc/apache2/sites-available/000-default.conf


     DocumentRoot "/var/www/html"
    
            Options FollowSymLinks
            AllowOverride All
            Require all granted