Please help, I want to setup WAMP for LAN access.
Posted by: jeud (---.5.176-151.dynamic.3bb.co.th)
Date: July 22, 2013 07:56AM

Dear all.

I want to setup WAMP on Windows 7 64 bit for LAN access.

I tried to edit httpd.conf as follow.


#Listen 127.0.0.1:80
Listen *:80
...
<Directory />
Options FollowSymLinks
AllowOverride All
#AllowOverride none
#Require all denied
Order deny,allow
Allow from all
</Directory>

This is my alias file
...
Alias /jq_mobile "c:/wamp/www/xxx/"

<Directory "c:/wamp/www/xxx/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local
</Directory>
...

And I already have inbound firewall setup on my Windows 7
[dl.dropboxusercontent.com]

Then I tried to reach the page by [192.168.1.11] but I got the Forbidden Permission.

Please help me solve this problem.

Thanks

Options: ReplyQuote
Re: Please help, I want to setup WAMP for LAN access.
Posted by: RiggsFolly (---.as13285.net)
Date: July 22, 2013 10:29AM

'Require local' is the equivalent of 'Allow from localhost 127.0.0.1 ::1'

If you want to allow access from the LAN try

Require ip 192.168.0


<Directory "c:/wamp/www/xxx/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require ip 192.168.0
</Directory>


to allow access from anyone on the 192.168.0 subnet ( note only 3 of the 4 quartets used to allow any ip on that subnet ), yours may be a different set of numbers.


NOTE

Change this back to 'Deny from all', as what you have done there will allow anybody anywhere to access the root of the drive you installed WAMP onto. AND THAT IS A BAD IDEA!

<Directory />
Options FollowSymLinks
AllowOverride All
#AllowOverride none
#Require all denied
Order deny,allow
Allow from all
</Directory>

Options: ReplyQuote


Sorry, only registered users may post in this forum.