Config:
OS-> Win 7 x64
Wamp server versions-> wampserver2.2e - php5.4.3 - httpd-2.4.2 - mysql5.5.24
Skype is not installed. Port 80 is
I just put the onlineoffline tag as a comment and it worked :
# onlineoffline tag - don't remove
Require local
Just get past the warning and comment this one
# onlineoffline tag - don't remove
# Require local
Optional : You can add, just to be sure
Order Allow,Deny
Allow from all
Worked for me with both.
I found the solution thanks to the link at the bottom of this post : How to allow remote access to my WAMP server for Mobile(Android) on the page : https://gist.github.com/samvaughton/6790739
Re: Static IP. That comment was supposed to mean that Your PC running the WAMPServer i.e. Apache should have a static IP, so that when you reboot your PC or your router it always gets the same IP address so that the Port Forwarding from your router to your webserver PC always remains the same and therefore the port forwarding always forwards to the correct PC inside your internal network.
In this section:
<Directory "c:/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
# onlineoffline tag - don't remove
Require all granted
</Directory>
You have this statement Require all granted
occuring twice, you only need it once.
Apache 2.4.2 is IPV6 aware so it should be quite happy accepting connections in the IPV6 range.
You could check your Apache Listen
directive, it is possible that you have something like this in the httpd.conf
file
Listen 0.0.0.0:80
The 0.0.0.0
part will tell Apache to only listen on the IPV4 network. If that is the case change it to
Listen 80
So that it listens to both IPV4 and IPV6.
Or
Listen 0.0.0.0:80
Listen [::0]:80
Also does your router support IPV6? If not then any external connections from the IPV6 range will not be accepted by your router, and therefore of course those connections will not make it past your router. Check that your router is IPV6 capable and if it is that you have IPV6 turned on, if it is an optional feature!
A simple step it will work:
Change the following property: Require all granted
Now restart all services and access your box from the outside.