httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Bell <>
Subject Re: [users@httpd] I want a file can be accessed by some ip only, how to do that?
Date Wed, 01 Jul 2009 06:00:21 GMT

On Jun 30, 2009, at 11:52 PM, Yi Zhao wrote:

> hi, all:
> I have 2 file(index.html, run.log) in directory: index/, now both  
> can be accessed by all people, but I want do that:
> run.log can be accessed by some specified ip only, how to do that?

<Directory index>
	Order allow,deny
	Allow from all
	<Files run.log>
		Order deny,allow
		Deny from all
		Allow from

Doug Bell -- Senior Developer, Plain Black Corp.
[ ]
all that groks is

View raw message