when I try password-protecting a directory with a '~' in it (ie. /~test), it gives an error (You must enter a valid path. eg: /public_html). This directory is within the public_html dir.
The complete path is either /home/<username>/domains/example.com/public_html/<whateverdirectory> or just /public_html/<whateverdirectory>. Probably the latter. Try it.
ok. but how can I enter the address manually? when I choose to protect a directory I login as the user, click on 'password protected directories', 'find a directory to protect', and then just click 'protect' at the desired dir. There doesn't seem to be any manual input involved.
as a workaround I could of course use a .htaccess, but that's not a solution.