Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i would like to hide ONLY the dirs in users root dir. and i want it to be genereic (i have mysql users)

i have :

<Directory />
   HideFiles ((lib|var|etc|tmp).*)$
   <Limit ALL DIRS WRITE>
     IgnoreHidden on
   </Limit>
</Directory>

how to make it work only for the users root(home) dir ??

so for example it will work for

~/lib/*

but not for

~/example.com/lib/*
share|improve this question
    
i think it might be possible using DenyFilter but i have no idea how –  n00b32 Feb 5 '11 at 12:49
add comment

1 Answer

up vote 0 down vote accepted

okay i think it is impossible using that command so i just created a group www-hidden and

HideGroup www-hidden

...

but if someone knows a way to do it without this workaround please post

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.