.htaccess - Apache directory listing restriction per IP bases -
i need limit directory listing users except ip's. idea how that?
the option should be:
options -indexes
and let's directory need restrict /restricted/
<directory /restricted> options -indexes </directory>
but how place ip restriction but, instance, 127.0.0.1
any appreciated
options -indexes <files *> deny allow 213.106.26.195 allow 213.106.15.132 options +indexes </files>
i used directive because tried in .htaccess, in server profile can use directive well, of course.
Comments
Post a Comment