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 ...
</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 thet by default block the /manager uri?
Is it possible?

Regards
Michele

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to