Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to share same "Deny From" from one VirtualHost to another in Apache's httpd configuration, is there a way to do it?

share|improve this question
up vote 3 down vote accepted

I don't know if there is better way, but if noone comes with anything better, just create a file with just the ACLs (ie. somevhosts.acl) and include it everywhere you need it using Include somevhosts.acl directive.

share|improve this answer
yeah, I was thinking about that but wanted to see if there is something better then that... – alexus Dec 17 '11 at 14:09

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.