Gabriel Rossetti wrote:
> Hello,
>
> I am trying to configure BackupPC on FreeBSD and Gentoo linux without
> Samba. I setup everything like in severl howtos and it won't show my
> hosts in BackupPC's CGI interface.
You will need to setup httpd authentication to get into the cgi
interface. Standard htpasswd from apache will do the trick.
The cgi needs to authenticate a user and determine whether that user can
see any hosts.
Do a man on htpasswd or search the apache site for how to setup.
Here is how i do it to give you a leg up...
[EMAIL PROTECTED] ~]# cat /etc/httpd/conf.d/cgi-bin.conf
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from 192.168.1 127.0.0.1
AuthName "System Administration"
AuthType basic
AuthUserFile /etc/httpd/security/passwd
Require valid-user
</Directory>
...i don't run any othe cgi's on this server, so for simplicity i setup
the auth in that dir. Depending on your setup you may not want to use
cgi-bin, thus setup another directory.
p.s. there are probably many ways to achieve the same result...
Regards,
Les
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/