2
我试图在Apache(2.4.18)上设置新的magento站点。我目前的PHP版本是7.0.8并使用Ubuntu 16.04。一切工作正常,除了后端登录。当我尝试输入管理员用户名和密码时,显示的网站无法访问。我想,我可能在Apache上配置错误。在这里我的配置文件!在magento后台登录后无法访问站点
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/html/public_html
<Directory /var/www/html/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/exampl_error.log
CustomLog /var/log/apache2/example_access.log combined
</VirtualHost>
我的登录界面在这里!
登录后,显示出类似的;
我已经尝试过以清除下在/ var /缓存/ core_config_data和缓存文件
看起来你网站的apache配置有什么问题,也许你的magento安装不好? – Epodax
我刚刚从Git下载了所有代码。我尝试了很多次与其他的登台服务器(nginx)。但是,我在Apache上遇到了这个问题。我确定Apache问题或PHP 7问题。 –
@Epodax,是的,那是我的错。我设置了web/unsecure/base_url是错误的。 –