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'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

1 Answer 1

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

 
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.