From: Jamie C. <jca...@we...> - 2001-06-28 23:01:21
|
Adhamh Findlay wrote: > > Hello, > > I am trying to run Webmin under Apache. I have followed the > directions at http://webmin.com/webmin/apache.html and I think I have > done everything right. However, I am not able to access Webmin. I > get a login panel from Apache when I hit the website, I > authenticate, but then webmin tells me that I do not have access to > any modules. > > Here is my /etc/webmin/htusers file: > > root# more /etc/webmin/htusers > admin:<encryptedpasswd> > > My webmin.acl file > > root# more /etc/webmin/webmin.acl > admin: acl apache bind8 bsdexports cpan cron custom dfsadmin dhcpd > dialog dnsadm > in exports fdisk fetchmail file format grub hpuxexports inetd init inittab lilo > lpadmin majordomo man mount mysql net nis pam pap passwd postfix > postgresql proc > quota raid samba sendmail servers shell software squid status syslog > telnet tim > e useradmin webmin webminlog wuftpd xinetd > > Here is the authentication options I created in my httpd.conf: > > #more webmin stuff, this time for auth > AuthType Basic > AuthName webmin > AuthUserFile /etc/webmin/htusers > Require valid-user > > Any suggestions on what could cause this? Sounds like the WEBMIN_CONFIG and WEBMIN_VAR environment variables haven't been set, so webmin can't find the /etc/webmin/webmin.acl file. You need to add lines to your apache config like : SetEnv WEBMIN_CONFIG /etc/webmin SetEnv WEBMIN_VAR /var/webmin - Jamie |