Hello Nicolas,
I pasted the output of
# wigwam -d user 'Private Page'
In a file created with emacs on my server (my server is my computer, as I host a website at home)
The added last empty line change nothing for me. I also used simple user/password to avoid typing mistake.
Here is the relevant part of my conf (one of the many conf I tried actually) :
## in hiawatha.conf
Directory {
DirectoryId = prive
StartFile = index.html
Path = prive/
# LoginMessage = Login # If i set this I get a syntax error, with 'Login' as well
PasswordFile = digest:prive/.pswd
}
VirtualHost {
Hostname = www.mysite.win, mysite.win
WebsiteRoot = /var/www/mysite
AccessLogfile = /var/www/mysite/log/access_mysite.log
ErrorLogfile = /var/www/mysite/log/error_mysite.log
RequireTLS = yes
UseLocalConfig = no
UseDirectory = prive
}
The directory I want to password protect is /var/www/mysite/prive and the password file is at /var/www/mysite/prive/.pswd
With that set up anyone can acces the page (no login asked).