You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Erik Andersson <er...@cybercomgroup.com> on 2004/08/17 15:29:05 UTC

[users@httpd] Access to only a file

Hi.

I'm running apache 2.0.49.

The server is default configured to use password authorization of all
files. How do I override password authentication for a specific file? (I
tried reading the documentation but I don't get it..) Anyone who is kind
enough to help me out?

Best Regards / Erik Andersson

---------------------------------------------------------------------
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] Access to only a file

Posted by Joshua Slive <js...@gmail.com>.
On Tue, 17 Aug 2004 15:29:05 +0200, Erik Andersson
<er...@cybercomgroup.com> wrote:
> Hi.
> 
> I'm running apache 2.0.49.
> 
> The server is default configured to use password authorization of all
> files. How do I override password authentication for a specific file? (I
> tried reading the documentation but I don't get it..) Anyone who is kind
> enough to help me out?

<Directory /path/to/directory>
<Files filename.html>
Allow from all
Satisfy any
</Files>
</Directory>

But be careful, since this will also override any host-based access controls.

Joshua.

---------------------------------------------------------------------
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