From: angelv on 5 May 2010 17:33 Hi guy(s) I have FreeBSD 7.2 #uname -a FreeBSD alpha.company.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #2: Sat Jul 4 12:17:17 COT 2009 angel(a)alpha.company.com:/usr/obj/usr/src/sys/MYKERNEL amd64 #ls /var/db/pkg --- apache-2.2.14_6 nut-2.4.1_3 nmap-5.21_1 --- # ls /usr/local/etc/nut/ cmdvartab nut.conf.sample upsd.users upssched.conf.sample upsstats.html driver.list ups.conf upsd.users.sample upsset.conf upsstats.html.sample hosts.conf ups.conf.sample upsmon.conf upsset.conf.sample hosts.conf.sample upsd.conf upsmon.conf.sample upsstats-single.html nut.conf upsd.conf.sample upssched.conf upsstats-single.html.sample # ls /usr/local/www/nut/ bottom.html header.html index.html nut-banner.png # ls /usr/local/www/cgi-bin/nut/ upsimage.cgi upsset.cgi upsstats.cgi # edit /usr/local/etc/apache22/httpd.conf --- <Directory /usr/local/www/nut> AllowOverride Options FileInfo Order deny,allow Allow from all </Directory> <Directory /usr/local/www/cgi-bin/nut> Options ExecCGI </Directory> ScriptAlias /nut/cgi/ /usr/local/www/cgi-bin/nut/ Alias /nut /usr/local/www/nut/ --- I try enter here http://192.168.1.1/nut and click on Statistics but receive this error Not Found The requested URL /cgi-bin/nut/upsstats.cgi was not found on this server. If you like please enter here for view the same error http://alpha.telemedellin.tv/nut I think the nut state work ok, i receive this report # upsc myups(a)localhost battery.charge: 100.00 battery.runtime.low: 0 battery.temperature: 32.00 battery.voltage: 256.80 driver.name: snmp-ups driver.parameter.pollinterval: 2 driver.parameter.port: 192.168.1.252 driver.version: 2.4.1 driver.version.internal: 0.44 input.current: 0.00 input.frequency: 59.90 input.phases: 1.00 input.quality: 34.00 input.voltage: 1955.00 output.current: 0.00 output.phases: 1.00 output.realpower: 0.00 output.voltage: 2295.00 ups.firmware: Ver P7.0 ups.firmware.aux: AlphaLink Card v4.26 (SN 1117027624120) ups.load: 69.00 ups.mfr: UPS ups.model: Model 10K ups.power: 0.00 ups.serial: ups.status: OL ups.test.result: Pleas i need the correct options for put in my httpd.conf -- "Afirmo que ambos somos ateos. Yo simplemente creo en un dios menos que tú. Cuando entiendas por qué descartas a todos los otros posibles dioses, entenderás por qué yo descarto al tuyo." Stephen Roberts _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Pages: 1 Prev: FreeBSD Port: openldap-server-2.4.22 Next: FreeBSD Port: websvn-2.3.0 |