On Thu, 30 Jun 2005 02:37:16 +0200, Oliver Wittkopf wrote:
> How is it possible to request a password for directory listing but allow
> direct acces to files? My htaccess file asks for a password on accessing
> every file.
That would be normal. However, once the credentials have been entered,
the browser should carry on using the same ones for subsequent queries.
> www.q1lan.com --> should ask for password and show directory listing
> www.q1lan.com/info.html --> should not ask for password and display the
> file
> ------------------------------------------------
> AuthType Basic
> AuthName "Locked"
> AuthUserFile /www//q1lan.com/www/.htusers
> AuthGroupFile /www//q1lan.com/www/.htgroups
> require group admin
> Options +Indexes
> <Files *.*>
> </Files>
I don't see what the files bit is in there for, it's not doing anything.
I don't know why you've got double slashes after www, either.
I'm not sure if it's possible to do what you're asking, but perhaps
putting an "allow from any" directive into the files section might
override the need for any credentials to access the contents.
But is that what you really want? Do you really want unfettered access to
the files, or are you just trying to avoid being continually asked to
provide credentials. If it's the latter, it's a problem with your browser.
--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.
This message was sent without a virus, please delete some files yourself.