httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: [users@httpd] Allow from in <Location>
Date Thu, 08 Jan 2004 23:09:09 GMT
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


Mime
View raw message