PDA

Bekijk de volledige versie : Problem with lighttpd and php-fcgi



Untouchable
04-05-2008, 10:52
Hello,

I'm still trying to manage transmission.cgi from outside of LAN but no luck so far. I can run lighttpd, open port for access from WAN, so when I type http://my-modem-IP:8081 I get to router settings, like 192.168.1.1. But when I type http://my-modem-IP:8081/cgi-bin/transmission.cgi I get purple 404 error. What do I have to change in lighttpd.conf to make it work? I tried installing php and php-fcgi, then in lighttpd.conf uncomment mod_fastcgi, fastcgi.server, document.root set to /opt/share/www,... but when I start lighttpd I get these errors:



[admin@WL-500GP root]$ /opt/etc/init.d/S80lighttpd start
Starting web server: lighttpd
Duplicate config variable in conditional 0 global: fastcgi.server
2008-05-04 11:47:54: (configfile.c.885) source: cat /opt/etc/lighttpd/conf.d/*.conf line: 15 pos: 1 parser failed somehow near here: (EOL)
2008-05-04 11:47:54: (configfile.c.885) source: /opt/etc/lighttpd/lighttpd.conf line: 333 pos: 1 parser failed somehow near here: (EOL)


My lighttpd.conf is attached.
Regards.