---------- Forwarded message ----------
From:
Michele Mase' <michele.mase@xxxxxxxxx>
Date: Wed, Mar 30, 2011 at 10:30 AM
Subject: Virtualhost location variable
To:
users@xxxxxxxxxxxxxxxxI'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 ...
</Location>
...
I need to do the same for all the virtualhosts, more than 1K...
Solution1:
using sed|awk put the rule inside all virtualhosts.
Solution2:
How could I write some env variable that by default blocks the /manager uri?
Is it possible?
Regards
Michele