Hi

2008/7/24 Georgy <[EMAIL PROTECTED]>:

> Hello all,
> I have succefully configure a trust 1200v ups with nut-2.2.2 on an
> ubuntu 6.06 LTS by follow this instructions :
> http://www.networkupstools.org/doc/2.2.0/INSTALL.html
>
> I have the nut-cgi  2.0.3-4 from the ubuntu repos installed
> Now, I have problems to configure the nut-cgi in my web browser and I
> have this when i tried to http://localhost/cgi-bin/nut/upsstats.cgi.
>
> Error: can't open hosts.conf
>
> I added to /etc/apache2/sites-available/default :
>
> ScriptAlias /nut /usr/lib/cgi-bin/nut
>        <Directory "/usr/lib/cgi-bin/nut">
>                AllowOverride Limit
>                Options +ExecCGI
>                Order allow,deny
>                Allow from all
>        </Directory>
>
> ls -l /etc/nut :
>

I guess you missed the dir itself:
as per /usr/share/doc/nut-cgi/README.Debian
> chmod 766 /etc/nut

you can check by doing an ls -a /etc/nut


-- Arnaud
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to