Wamp Access
Posted by: veni (---.83-200-24.mc.videotron.ca)
Date: March 26, 2008 05:29AM

Is it possible to change the code below that's located in in the htppd.config so it allows connections on both 127.0.01 and 192.168.1.2 only ?

# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1

</Directory>

Options: ReplyQuote
Re: Wamp Access
Posted by: toivo (203.19.130.---)
Date: March 26, 2008 06:41AM

Hi,

It is possible. Instead of including the IP addresses or subnets in httpd.conf or the virtual host configuration file(s), you could define them in a .htaccess file in the document root.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Wamp Access
Posted by: yfastud (Moderator)
Date: March 26, 2008 12:27PM

As toivo pointed out, you should set it up in vh or .htaccess instead ;-)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.