3 回答
TA贡献1829条经验 获得超9个赞
/etc/apache2/apache2.conf/var/www):
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>
<Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
sudo service apache2 restart
sudo a2enmod rewrite
TA贡献1772条经验 获得超6个赞
AllowOverride
AllowOverride NoneDirectory.htaccess/my/path/to/a/directory<Directory /my/path/to/a/directory>.htaccess.htaccess.htaccess
<Directory><Directory /><Directory C:><Directory /my/path/to/a/directory>.htaccess.htaccessAllowOverride.htaccess.htaccess
添加回答
举报
