Alem Posted June 26 Posted June 26 (edited) Solved. install nutserver. https://forum.keenetic.ru/topic/6019-настройка-nut-для-keenetic/page/2/ install lighttpd lighttpd mod-cgi Add / Edit lighttpd.conf: server.port = 81 server.modules + = ("mod_cgi") $HTTP["url"] =~ "^/cgi-bin" { cgi.assign = ( "" => "" ) } make directory inside cgi-bin: mkdir -p /opt/share/www/cgi-bin/nut Copy Files: cp -r /opt/share/www/cgi-bin/* /opt/share/www/cgi-bin/nut/* set the execution permissions :chmod +x /opt/share/www/cgi-bin/nut/*.cgi if you want web contol edit /opt/etc/nut/upsset.conf: remove first 3 ### character I_HAVE_SECURED_MY_CGI_DIRECTORY line. Restart lighttpd: /opt/etc/init.d/S80lighttpd restart open : http://192.168.1.1:81/nut/ Edited 11 hours ago by Alem Quote
Question
Alem
Solved.
install nutserver.
https://forum.keenetic.ru/topic/6019-настройка-nut-для-keenetic/page/2/
install lighttpd lighttpd mod-cgi
Add / Edit lighttpd.conf:
server.port = 81
server.modules + = ("mod_cgi")
$HTTP["url"] =~ "^/cgi-bin" {
cgi.assign = ( "" => "" )
}
make directory inside cgi-bin: mkdir -p /opt/share/www/cgi-bin/nut
Copy Files: cp -r /opt/share/www/cgi-bin/* /opt/share/www/cgi-bin/nut/*
set the execution permissions :chmod +x /opt/share/www/cgi-bin/nut/*.cgi
if you want web contol edit /opt/etc/nut/upsset.conf: remove first 3 ### character I_HAVE_SECURED_MY_CGI_DIRECTORY line.
Restart lighttpd: /opt/etc/init.d/S80lighttpd restart
open : http://192.168.1.1:81/nut/
Edited by Alem0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.