I’m biginner with wamp, I have windows 7, apache 2.4.9 .
When I try "http://localhost"
I get error :
You don't have permission to access / on this server.
i have no problem with "http://localhost/phpmyadmin"
.
This is a part of my httpd.conf :
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
My phpmyadmin.conf :
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin4.1.14/"
<Directory "c:/wamp/apps/phpmyadmin4.1.14/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
<IfDefine APACHE24>
Require local
</IfDefine>
<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1
</IfDefine>
php_admin_value upload_max_filesize 128M
php_admin_value post_max_size 128M
php_admin_value max_execution_time 360
php_admin_value max_input_time 360
</Directory>
What should I do ?
This part of your httpd.conf file
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>
Should be returned to its original state
<Directory />
AllowOverride none
Require all denied
</Directory>
This controls access to the drive that Apache is installed on i.e. C:\
. If you set this to allow access then you are making your whole C:\ drive potentially accessible to anybody.
Its not to big an issue while you are using WAMPServer as a development tool, but if you decide to make a site available for some remote testing and you open up your router then WAMMO Hackers paradise.