> How to allow access to a directory in the Apache document root to a range
> of IP addresses. Is it possible to set this in .htaccess files.
>
normally you set this in the httpd.conf file. in redhat it is found in
/etc/httpd/conf/httpd.conf or the access.conf file.
# change this directory name to you docroot
# this configuration allows every unit in with the network address
# 192.168.0.0/255.255.0.0
<Directory "/services/httpd/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from 192.168.0.0
Deny from all
</Directory>
hope this helps.
---------------------
[EMAIL PROTECTED]
Delta: The kids will love our inflatable slides. -- David Letterman
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]