I think you don't need to use <DirectoryMatch> option in your config file. 
Replace <DirectoryMatch> with <Directory> option and add following code in it.


Order deny,allow
deny from all
allow from 10.215.1.0</Directory

-Anam



________________________________
 From: Luís de Sousa <luis.a.de.so...@gmail.com>
To: users@httpd.apache.org; Anam Ali Khan <anamalik...@yahoo.com> 
Sent: Thursday, 14 June 2012, 12:19
Subject: Re: [users@httpd] Access rules in an intranet
 

Hi Anam,

The config file has only two blocks: DirectoryMatch and IfModule, organised 
like this:

<DirectoryMatch /usr/share/phppgadmin/>
...
<IfModule mod_php4.c>
...
</IfModule>
...
</DirectoryMatch>

Where exactly should I put the Directory block?

Thank you.

On 13 June 2012 19:18, Anam Ali Khan <anamalik...@yahoo.com> wrote:

Hi,
>
>
>Insert "Directory" block in virtual host container (configuration). It seems 
>you have added in that area where <Directory> option is not allowed.
>
>
>-Anam
>
>

Reply via email to