Forum Moderators: phranque
I just tried what I thought would be the easiest of tasks, protecting a directory, but Webmin errors out when doing so. Looks to me like Webmin is confused about where things are, but I don't know how to fix it. Here's the issue:
Trying to protect:
/var/www/html/site/cgi-bin/tool/admin/
In Webmin I go to the "Others" section and into the Protected Directories section from there. In there I CAN browse to select the appropriate directory, but when I actually try to add the protected directory I get this error:
Failed to save directory : Failed to create users file /home/site/public_html/cgi-bin/tool/admin/.htpasswd : No such file or directory
Any ideas why it's doing this?
I don't know anything else about Webmin, but evidently, it will need to be able to write to that directory and to files in that directory in order to work. Other than that, this reply will bump your post back up on the active list, so maybe someone else can answer from experience...
Jim