The correct syntax for Apache 2.4.x is
<Directory "c:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
Now if you did not actually want to give access to your site while you develop it to the whole internet a better method would be
<Directory "c:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride all
Require local
</Directory>
The require local covers localhost, 127.0.0.1 and ::1. ::1 is the IPV6 equivalent of 127.0.0.1
If you want to be able to access the WAMPServer (Apache) from other PC's on your local network then you can include this line as well
<Directory "c:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride all
Require local
Require ip 192.168.0
</Directory>
Note: I used only the first 3 quartiles of the normal 4 quartile set, this gives access to any ip on your internal subnet.
You will have to check what your actual subnet is as 192.168.0.x is a default but not for all home routers.
Can i suggest you read this document and make the required fixes for the WAMPServer 2.4 release. Make each change one by one and make sure that Apache and MySQL start again after each change so you can know where you make any mistakes, as they happen, rather than doing them all in one go!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…