After installing magento ver 1.4.2.0 i get the following warning in the admin panel:
Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.
My server is lighttpd and i have the latest version of php / mysql.
Earlier was getting error:
“client denied by server configuration: app/etc/local.xml”
Hence added the line
Allow from 192.168.50.5 127.0.0.1 localhost
in /app/.htaccess
That error is gone but now getting the message “Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.”
I had exactly the same problem with a new and clean install.
After playing arround to get rid of this problem i decided to reinstall and did it via SSH. I did the full install as per official guide. Everything is running smoothly now.
I had the same problem. In my specific case, the reason was that Apache was configured to ignore directives specified in .htaccess files.
To solve the problem, you need to change Apache’s configuration accordingly---i.e., by setting to “All” the value of the “AllowOverride” directive applying to the directory where Magento has been installed.
I got the same problem after changing the URL in the core_config_data.
It´s the latest Version.
Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.