Re: howto exclude localhost from authenication

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

 



On Wed, Jan 18, 2012 at 9:26 AM, Gregory Machin <gdm@xxxxxxxxxxxxxx> wrote:
Hi.
I have a virtual host, that is configured with ldap authentication,
and this works well. The problem is that internal calls on the server
to the virtual host now require authentication as well.

How can I excluded  localhost and selected sources from authentication
so that back-end processes don't require authentication ?

Thanks

GM

 
Hi,

You might want to try "Satisfy". After the "require valid-user" directive, add the following:
Allow from 127.0.0.1
Satisfy Any

(You can add several "Allow from" before the Satisfy directive)

Documentation is here: http://httpd.apache.org/docs/2.2/mod/core.html#satisfy

Regards, 


[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