httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JingTian <>
Subject Re: [users@httpd] I want a file can be accessed by some ip only, how to do that?
Date Wed, 01 Jul 2009 05:49:11 GMT
i think you should put the two file in different dirs,and use Allow,Deny
dictate to do the access control,

for example:

<Directory "/index1">
    Order deny,allow
    Allow from
    Allow from
    Deny from all

hope this help.

2009/7/1 Yi Zhao <>

> 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?
> thanks

Tianjing <>

View raw message