我在我的桌面上使用 ubuntu 15.04。我已经安装了灯泡,但我无法启用 mod 重写。我已经尝试使用终端:
sudo a2enmod rewrite
sudo service apache2 restart
我也改成
/etc/apache2/sites-available/ooo-default.conf
如下所示:
<Directory "/var/www/html">
AllowOverride All
</Directory>
接着
sudo service apache2 restart
但它不起作用。请帮忙。