Forum Moderators: phranque

Message Too Old, No Replies

anyone using Webmin?

wondering why it's doing this...

         

Craig_F

4:58 pm on May 16, 2005 (gmt 0)

10+ Year Member



just recently got my own server and had Webmin put on it to help me run it. I'm a total newbie with the server and webmin.

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?

jdMorgan

2:39 pm on May 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check the permissions on /home/site/public_html/cgi-bin/tool/admin/ and make sure that Webmin can write to that directory.

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

encyclo

2:57 pm on May 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know anything about Webmin either, but I notice that the two paths are completely different: it seems than Webmin is looking for the site under the
/home
directory rather than in the place you specified.

This is really just another bump ;)

Craig_F

3:04 pm on May 18, 2005 (gmt 0)

10+ Year Member



thanks! the paths are what I don't get either Encyclo. I'm sure it's either completely correct and I just need to set the permissons as Jim said (I'll check tonight), or there's a setting wrong in Webmin, but I'm not sure which is the issue. I expected the paths to be the same, is there any reason they would need to be different?