.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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -