Re: Access rules in an intranet

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

 



Try the following configuration:

<Directory "phppgadmin location>
Order deny,allow
deny from all
allow from 10.215.1.0
</Directory>

Replace "phppgadmin location" with the actual location whereyou have installed your application.

Hope it will solve :)

-Anam


From: Luís de Sousa <luis.a.de.sousa@xxxxxxxxx>
To: users@xxxxxxxxxxxxxxxx
Sent: Tuesday, 12 June 2012, 14:55
Subject: [users@httpd] Access rules in an intranet

Dear all,

I'm configuring a server to which I have ssh access through an intranet. I'd like to open access to all nodes in the same IP range as mine to a particular application (phppgadmin). In the .conf file I have the following:

order allow,deny
deny from all
allow from 10.215.xxx.xxx

But this way I get the Forbidden error in the browser. I've also tried with:

order allow,deny
deny from all
allow from 10.215

And even by specifying my IP:

order allow,deny
deny from all
allow from 10.215.1.119

Still, I get the Forbidden error. The only way I found out to access this application is by using "allow from all", which is not acceptable since this server will be going to the DMZ sometime.

What am I doing wrong? Any further information I can provide to solve this issue?

Thank you.




[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