Project

General

Profile

Error 500 with fastcgi using C

Added by Theif almost 14 years ago

It's my first post, so hi all!

I've got a problem, I'm trying to configure lighttpd + fast_cgi, I compiled 1 programm in C, but lighttpd says NO 500 Error!

I guess there is a problem in my conf files, but no idea where...
My configuration is:
Gentoo Linux(x86)
lighttpd 1.4.20 (bzip2 fam fastcgi gdbm ldap mysql pcre php ssl -doc -ipv6 -lua -memcache -minimal -rrdtool -test -webdav -xattr)
fcgi 2.4.0
Im not using php but I have it installed so..
php 5.2.8-r2 (bzip2 cgi cli crypt ftp gdbm iconv ldap mysql ncurses nls pcre readline reflection session spell spl sqlite ssl threads truetype unicode xml zlib (others are with -))
and my browser is
firefox 3.0.6

So my conf files
lighttpd.conf
http://paste.lighttpd.net/FBGWx

mod_fastcgi.conf
http://paste.lighttpd.net/DX6oo

www-root/fcgi-bin/test.fcgi is .c file
http://paste.lighttpd.net/zCirt

And here goest what I get if try http://localhost/fcgi-bin/test.fcgi
http://paste.lighttpd.net/x503q

So What I Do Wrong? It's first time I'm configuring web server, so may be solution is simple and obvious, but I dont get it...


Replies (1)

RE: Error 500 with fastcgi using C - Added by Theif almost 14 years ago

It was my code error, sorry

    (1-1/1)