我尝试用Chevereto在Ubuntu 16.04 LTS上安装Apache 2.4.7免费版本。在安装过程中,我会自动重定向到文件夹/install,这是不存在的。/app/install/installer.php给出了错误消息:
无法直接访问此文件。
已启用Apache mod_rewrite。/install应由index.php文件处理。
发布于 2018-03-05 12:23:26
必须在/etc/apache2/apache2.conf文件中允许重写。
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>https://stackoverflow.com/questions/49099454
复制相似问题