Magento2未找到错误
当我点击进一步的链接,就不会发现错误发生。另外,当登录到管理面板时,我也没有发现错误。
发布于 2016-12-12 06:13:52
首先,用其他解决方案解决这个问题,如果仍然不能工作,只需在终端上运行命令
sudo a2enmod rewritesudo /etc/apache2/apache2.conf (或在编辑器中手动打开文件)
代码下面的更改
From:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
TO:
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>然后通过以下命令重新启动apache2
sudo service apache2 restart完成了!
发布于 2017-04-08 08:09:47
我也面临过同样的问题,我刚刚解决了这个问题。
我的解决办法是:
sudo -i #then enter your root password
chmod -R 777 <magento_installation_dir>/可能不得不重新启动apache2。
就这样。
发布于 2015-08-23 13:17:42
检查您的基本URL,您还可以检查您是否已经为Apache正确地设置了AllowOverrides。
http://devdocs.magento.com/guides/v2.0/install-gde/prereq/apache.html#apache-help-rewrite
https://stackoverflow.com/questions/32156510
复制相似问题