httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Rossolini <g.rossol...@gmail.com>
Subject Re: [users@httpd] howto exclude localhost from authenication
Date Wed, 18 Jan 2012 08:49:49 GMT
On Wed, Jan 18, 2012 at 9:26 AM, Gregory Machin <gdm@linuxpro.co.za> 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,

Mime
View raw message