httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mase'" <>
Subject [users@httpd] Virtualhost location variable
Date Wed, 30 Mar 2011 08:30:57 GMT
I've the following situation:
I need to block the access on a particular location,as the example:
<Location /manager>
Order Deny,Allow
Deny from all
Allow from localhost safenet1 safenet2 ...

I need to do the same for all the virtualhosts, more than 1K...


using sed|awk put the rule inside all virtualhosts.


How could I write some env variable thet by default block the /manager uri?
Is it possible?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message