httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Machin <...@linuxpro.co.za>
Subject Re: [users@httpd] howto exclude localhost from authenication
Date Thu, 19 Jan 2012 20:44:14 GMT
Thanks that worked for me :-)

On Wed, Jan 18, 2012 at 9:49 PM, Guillaume Rossolini
<g.rossolini@gmail.com> wrote:
> 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,
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message