httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Curtis ...@homes2see.com>
Subject [users@httpd] Access to directories by IP address.
Date Thu, 16 Oct 2003 14:23:43 GMT

 I'm running Apache 1.3.26 on a Debian system. I would like to lock down
some directories located inside a virtual host directory.

 Say I have www.homer.com and I also have www.homer.com/stuff

 I want to lock access to /stuff to only allow access from certain ip
addresses. I've read the manual on this and did exactly as it says.

 In the virtual host config for www.homer.com I have.

	<Directory /test>
	order deny,allow
	deny from all
	allow from this class c/24
	allow from 10.0.0.0/24
	</Directory>

I restarted the server, made sure mod_access is loaded and can still
access the www.homer.com/test directory from outside the networks outlined
in the above directive.

 Where do I go from here?

Thanks,

Ed



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message