Sign up ×
Server Fault is a question and answer site for 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).*)$
     IgnoreHidden on

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

so for example it will work for


but not for

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

1 Answer 1

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

Your Answer


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.