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 None
Directory
.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
.htaccess
AllowOverride
.htaccess
.htaccess
添加回答
舉報