At the top of the screen you can see the warning message. It usually appears right after the Magento installation as all Magento configuration settings are set to default.
I\’ve also got 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.
Can anyone tell me which files are checked? And what conditions are checked?
Are there any files checked for file permissions (like 777 or something)?
At the moment, it\’s a sort of guessing what the problem should be.
The warning is not saying anything to help me.
Our webserver is configured to allow acces to all files, but in the .htaccess it is configured to not show any .ini files.
Via .htaccess we also deny access to directories like \"app\".
I\’ve also got 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.
Can anyone tell me which files are checked? And what conditions are checked?
Are there any files checked for file permissions (like 777 or something)?
At the moment, it\’s a sort of guessing what the problem should be.
The warning is not saying anything to help me.
Our webserver is configured to allow acces to all files, but in the .htaccess it is configured to not show any .ini files.
Via .htaccess we also deny access to directories like \"app\".
I’ve installed Magento on a different server too. Same way of installation (via the downloader), same configuration of PHP, same configuration of Apache. No error. The only difference is that the first server is running PHP 5.2.14 and the second is running PHP 5.2.17.
So the error shows up with PHP 5.2.17 and not with PHP 5.2.14.
I had the same problem and was able to resolve this by changing the permissions to the files
magento/app/etc/local.xml
You need to make sure this is not open to the public view. It contains your database access details. These were exposing my link details and password information with a view of everyone.
Running PHP Version 5.2.17, magento 1.5.0.1
Setting file permission to local.xml does not work for me.
But setting the AllowOverride works. Beware, there may be a few of them in the httpd.conf, so set it at the right place.
HI,
It is better to report this error to your hosting provider
and one more thing is file permission check file permission and Best idea is to get
help from hosting provider
the problem may cause the local.xml and related config file be accessed by any browser.this was caused by misconfig with web server.
in fact,magento has place an htaccess file in app folder to prevent this.but the htaccess file maybe override by some directive in other place.
so it has nothing to do with file permission.
but casued by web server config.check it if you have ssh perm or contact your server admin.
Options FollowSymLinks
Allow Override None (change to AllowOverride All)
Directory /yourpathtomagento/
Options Indexes FollowSymLinks MultiViews
AllowOverride None ( change to AllowOverride All)
Order allow,deny
Deny from all ( change to Allow from all)
Then, don’t forget to restart Apache2.
If you’re running Ubuntu, use the following ssh command:
sudo /etc/init.d/apache2 restart
Refresh your admin page, and I hope it works for you too!
Hi all,
This error is actually driving me crazy any minute now ..
I have 3 different installations of magento on the same server
2 of them are OK, but the 3:rd shows the error 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 have set the permissions to 755 and 644
I have searched for files with other permissions, but all files are 644 and all dirs are 755 (except var/ but that is the same on all installations)
I have reinstalled a number of times (via ssh)
I have changed permission on /app/etc/local.xml to 400 but it did not help
Nothing helps
The message is still there.
Since it is on the same server, apache conf seems not to be the issue.
Same with php version issues.
The .htaccess-files are identical on all 3 installations
Anyone who knows what kind of tests are done by magento software that gives this message? Or anyone having an idea what it can be?