Forum

PasswordFile = none override doesn't work via a .hiawatha file

Akash
11 October 2016, 08:50
Hi.

I have domain example.com, globally protected using PasswordFile in VirtualHost section which also has the setting UseLocalConfig = yes. I have placed a .hiawatha file containing PasswordFile = none in a sub-directory: example.com/pub. But accessing example.com/pub still asks for the password. If I move the .hiawatha file one step above (i.e. in example.com doc root), whole domain becomes unprotected. But same thing isn't working for a sub-directory.

Please suggest. Thanks.
Akash
11 October 2016, 09:49
Sorry for the trouble. Not sure why but with a PasswordFile = none .hiawatha file in pub directory:

example.com/pub asks for password

but:

example.com/pub/ works.
Hugo Leisink
13 October 2016, 17:53
A .hiawatha file applies to the directory it is in and all sub directories. So, your file containing PasswordFile = none is overridden by the one in the webroot.
This topic has been closed.