403 Forbidden within home network
Posted by: termite (---.cpe.net.cable.rogers.com)
Date: June 18, 2008 05:04AM

I have WAMP setup and it runs fine on the local computer.

My goal is to make it available inside my home network to my laptop while still keeping it closed to anyone outside the home network.

When I try to access a page from laptop I get "403 You don't have permission to access / on this server."

I am not sure what to modify. My httpd.conf looks like this...

<Directory "C:/Web/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride all
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all

# Laptop IP is 192.168.1.101
Allow from 192.168.1.101
Allow from 127.0.0.1
</Directory>

Options: ReplyQuote
Re: 403 Forbidden within home network
Posted by: stevenmartin99 (---.34-85-b.business.telecomitalia.it)
Date: June 18, 2008 07:48AM

just do this

<Directory "C:/Web/wamp/www/">
Options Indexes FollowSymLinks
AllowOverride all
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 192.168.
Akllow from 127.0.0.1
</Directory>




this will allow anyone on the network use it.. proviveded your network it not a huge WAN!

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: 403 Forbidden within home network
Posted by: termite (---.cpe.net.cable.rogers.com)
Date: June 18, 2008 10:17AM

Thanks for the reply.

I want to restrict access just to that that one laptop though so I used "Allow from 192.168.1.101"

It turned out i had an .htaccess file in the root document folder that was causing the problem tongue sticking out smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.