sudo a2enmod rewrite
sudo vim /etc/apache2/sites-enabled/000-default
AllowOverride None 修改为 AllowOverride All
重启Apache sudo /etc/init.d/apache2 restart Chenpeng201804
ubuntu apache开启重写模块
最新推荐文章于 2024-05-23 11:49:24 发布
sudo a2enmod rewrite
sudo vim /etc/apache2/sites-enabled/000-default
AllowOverride None 修改为 AllowOverride All
重启Apache sudo /etc/init.d/apache2 restart Chenpeng201804