You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "James R. Marcus" <jm...@mvalent.net> on 2004/01/08 17:54:36 UTC
[users@httpd] Allow from in
How do I keep the machines from domain.local from being prompted for a
password?
I thought allow from would work, but they are still prompted.
<Location /cgi-bin/test.cgi>
AllowOverride None
AuthUserFile /usr/local/apache2/passwd/passwd
AuthName "Restricted Files"
AuthType Basic
require valid-user
Allow from .domain.local
</Location>
Thanks,
James
---------------------------------------------------------------------
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
Re: [users@httpd] Allow from in
Posted by "Eimantas \"EnC\" Vaičiūnas" <ei...@lietuvoje.lt>.
James R. Marcus wrote:
> How do I keep the machines from domain.local from being prompted for a
> password?
> I thought allow from would work, but they are still prompted.
>
> <Location /cgi-bin/test.cgi>
> AllowOverride None
> AuthUserFile /usr/local/apache2/passwd/passwd
> AuthName "Restricted Files"
> AuthType Basic
> require valid-user
> Allow from .domain.local
> </Location>
>
> Thanks,
> James
Shouldn't 'Order' directive go before 'Allow' ?
---------------------------------------------------------------------
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
Re: [users@httpd] Allow from in
Posted by BAO RuiXian <ru...@pp.inet.fi>.
James R. Marcus wrote:
>How do I keep the machines from domain.local from being prompted for a
>password?
>I thought allow from would work, but they are still prompted.
>
>
From the documentation, the 'Allow' directive is used in the contexts
'directory' and '.htaccess', so you might try to replace the paire
<Location doc-path>..</Location> with the pair <Directory
system-path>...</Directory> in the following.
Good luck.
Bao
><Location /cgi-bin/test.cgi>
>AllowOverride None
>AuthUserFile /usr/local/apache2/passwd/passwd
>AuthName "Restricted Files"
>AuthType Basic
>require valid-user
>Allow from .domain.local
></Location>
>
>Thanks,
>James
>
>
>
>
---------------------------------------------------------------------
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