httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Adding restrictons to files added as Alias
Date Thu, 10 Jun 2004 14:19:55 GMT
Erik Andersson wrote:
> Is it possible to add Authentication to some files added using the
> Alias-function? 
> 
> In my httpd.conf I have for example: 
> Alias /access_log opt/app/apache/2.0.49/logs/access_log

I don't see any reason why this wouldn't work:

    <Location /access_log>
        (auth stuff)
        require valid-user
    </Location>

See:
    http://httpd.apache.org/docs-2.0/mod/core.html#location

Regards,
Robert 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


Mime
View raw message