Re: Access rules in an intranet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.sousa@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx; Anam Ali Khan <anamalikhan@xxxxxxxxx>
Sent: Thursday, 14 June 2012, 12:19
Subject: Re: 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 <anamalikhan@xxxxxxxxx> 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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux