And im getting a "Warning" in Magento Web Panel
Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider.
What i can do for this ?
Hi
use the following steps:
1) Login to admin section by using the URL
http://domain.com/index.php/admin
2) then go to “System >> Configuration >>Web >> Search Engines Optimization”
Use Web Server Rewrites : YES
3) Go to “System >> Configuration >>Web >>Secure”
Use secure URL Frontend: YES
4)Then create the .htaccess file under your the Magento installed folder. If the Magento installed under document root (/home/username/public_html) then add following rules into .htaccess file
<IfModule mod_rewrite.c>RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]</IfModule>
Hope it helps!
That looks like your apache is not configured properly
In httpd.conf file please check if this line is uncommented:
LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so
Actually if you meet system requirements there is no need to manually insert something into database or edit .htaccess file. It must work out-of-box