In your httpd.conf file, put something like the following: <Location /aliased-directory-here> order deny,allow deny from all allow from .domain.here.com allow from 192.168.1.0/26 allow from 192.168.5.64/28 </Location>
Substitute the netblock and CIDR notation netmasks where appropriate. On Thu, 1 Nov 2001, Margaret Doll wrote: > I am using .htaccess files in some directories of my web pages to > restrict access to those directories and directories under them to > certain accounts with passwords. This works. > > AuthName "Some Name of the section of web pages" > AuthType Basic > AuthuserFile /home/httpd/something/filename > require user username > > I am now trying to use .htaccess files in other directories to limit > access to those directories by ip address. The setup follows. This > does not work; everyone is denied access. > > order deny,allow > deny from all > allow from mysubnet.net.edu my2ndsubnet.net.edu _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
