Well, this my first time installing Magento.
Using Magento ver. 1.4.2.0
I made it through, and everything seems to of worked fine - except I get this error:
“Your web server is configured incorrectly. As a result, configuration files with sensitive information are accessible from the outside. Please contact your hosting provider.”
The error doesn’t seem to prevent anything from working properly - it’s just a little scary sounding.
What should I do?
I installed via the full version and not the autodownloader thing.
Also, I didn’t install in the root directory, I installed in a directory called /store
Magento is using .htaccess files to protect certiain files and directories. (ex. /app and everything underneath it)
If you’re running Apache, check in your (virtual)server configuration, if overriding from .htaccess files is allowed.
Setting AllowOverride to All should make the warning disappear.
--- config snippet ---
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
--- end ---
I have the same problem. When im going to install (webbased) on my apache2 server. I use the following commands:
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 777 {} \;
Than after installation, I get the message that it isnot secure etc.etc. WHAT chmod do i have to use after the installation??
I can access http://192.168.1.3/magento/app/etc/local.xml with my browser… I cant find a simple answer to use what chmods etc for what directory…
Mmm. I changed the following in /etc/apache2/sites-enabled/000-default
Documentroot /var/www <Directory /> Options FollowSymLinks AllowOverride [b]All[/b] </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride [b]All[/b] Order allow,deny allow from all </directory>
Do I have to set both AllowOverride from None to All or just one? Thanks.
Hi there. I’m new in magento. I strart with 1.4.2 and i got problem. It shows me this same error.
SORRY FOR MY ENGLISH. i had hope you will understand me
Help Me !!!!
I dont have acces to my server conf so i cant change anything in there. the only thing i can change is .htaccess file.
Can enyone help me do this.
I put here what i got i my .htaccess. if this will work and anyone can change this for me in this file. Will be great and you save my life.
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
############################################ ## rewrite everything else to index.php
RewriteRule .* index.php [L]
</IfModule>
############################################ ## Prevent character encoding issues from server overrides ## If you still have problems, use the second line instead
############################################ ## By default allow all access
Order allow,deny Allow from all
############################################ ## If running in cluster environment, uncomment this ## http://developer.yahoo.com/performance/rules.html#etags
#FileETag none
agenti - 14 January 2011 04:53 AM
Magento is using .htaccess files to protect certiain files and directories. (ex. /app and everything underneath it)
If you’re running Apache, check in your (virtual)server configuration, if overriding from .htaccess files is allowed.
Setting AllowOverride to All should make the warning disappear.
--- config snippet ---
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
--- end ---
This usually happens if app/etc/local.xml is set to 777 or is readable in the browser. I would recommend setting its permissions to 640 or 644, and making sure that your .htaccess files are intact.
I am running Magento version 1.5.1.0, so that’s not a version problem.
I am not sure if this message is due to wrong file permission settings, if it’s due to apache2.conf configuration, or sites-enabled/default configuration, or .httpd file configuration.
By the way, I’ve tried multiple changes to all of them, and nothing worked.
I’m not experient at all with apache server configuration, do anyone have a clue how this can be fixed??
I’ve set on apache2.conf “AllowOverride All” for .httpd.
My httpd.conf file is empty.
On sites-enabled/default file, everything is set, in this moment, to “AllowOverride None” ( I’ve tried MULTIPLE configurations, now I left it as it is, until someone can put a light on this subject...)
My permissions for app/etc, media and var are set to 777. The rest of the files and directories are set to 755.
I didn’t find anywhere a tutorial explaining which are the right permissions, when I set them to 6xx, 655 etc, Magento stops working.