httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anam Ali Khan <>
Subject Re: [users@httpd] Access rules in an intranet
Date Thu, 14 Jun 2012 16:44:04 GMT
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</Directory


 From: Luís de Sousa <>
To:; Anam Ali Khan <> 
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>

Where exactly should I put the Directory block?

Thank you.

On 13 June 2012 19:18, Anam Ali Khan <> wrote:

>Insert "Directory" block in virtual host container (configuration). It seems you have
added in that area where <Directory> option is not allowed.
View raw message