Hi folks,
I just want to run some cgi scripts on my router (i.e. wrtstats) and got stuck. I've tried some different web-servers (thttpd, lighttpd) and now run mini_httpd from Nico. It works fine (SSL only?), but I can't run cgi-scripts. What I've done so far:
put a # in front of /usr/sbin/httpd in S50 httpd, so internal daemon will not be started, verified with ps:no process httpd
installed mini_httpd with ipkg install - this installed itself the required libmatrixssl,libopenssl and so on
installed haserl
chmod 777 to /www/cgi-bin
Now I can get static html pages well. But on loading any cgi related I always get
500 Internal Error - Something unexpected went wrong running a CGI program.
mini_httpd/1.19 19dec2003
When starting mini_httpd it says 'socket: Address family not supported by protocol'
Whats going wrong? Can anyone help me?
Thanks!
Matze