1

"500 Internal Server Error" When cgi-bin directory is in URL on lighttpd

view story
linux-howto

http://serverfault.com – On lighttpd. I'm constantly getting a 500 error when I try to access anything inside /usr/lib/cgi-bin. At first I thought I had configured mod-cgi incorrectly, however, I realised that any file (IE .html) which is placed inside /usr/lib/cgi-bin would result in a 500 error. I then discovered that if i removed the alias inside lighttpd.conf and made a cgi-bin directly in /var/www, I would also get a 500 error. What's weird is that I can make a symlink or alias from /var/www/x/ to /usr/lib/cgi-bin then the scripts will execute, however, if the symlink is itself called cgi-bin then I will once aga (HowTos)