Magento Apache configuration (app/etc/local.xml ac

2020-02-23 03:54发布

Just finished installing Magento on a Linux server.

When I go to the Magento "Admin Panel" I can see the following message at the top of the page.

Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from outside. Please contact your hosting provider.

What is the most likely cause for this error message?

Thanks,

John Goche

7条回答
姐就是有狂的资本
2楼-- · 2020-02-23 04:37

@Brijmohan karadia and @Spudley

Your solution worked. I am using AWS Linux for Magento installation.

  1. Go to /etc/httpd/conf/httpd.conf

  2. Add following in httpd.conf.

    Options FollowSymLinks AllowOverride All

3.set permission from SSH/FTP to local.xml =>600 in the file path /app/etc/local.xml

  1. sudo service httpd restart
查看更多
登录 后发表回答