Current time: 05-07-2024, 05:17 PM Hello There, Guest! (LoginRegister)


Thread Closed 
Run CGI Script from cgi-bin 500 error
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #11
RE: Run CGI Script from cgi-bin 500 error
.htaccess is checked for existance in all folders that doesn't have "AllowOverride None" set. The "cgi-bin" folder itself should be owned by vuXXX:vuXXX and have 0755 permissions.

Coincidentally, I've got a report from one of my users about the same issue. At the end, it turned out that he was using "#!/usr/local/bin/perl" as shebang, which doesn't exist on my server. The front-error was "500 internal server error", and there was an entry in "/var/log/apache2/suexec.log" stating "(2)No such file or directory: exec failed (script.cgi)".

Replacing the shebang by the correct "#!/usr/bin/perl" solved the issue...
12-18-2009 08:23 AM
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Run CGI Script from cgi-bin 500 error - kilburn - 12-18-2009 08:23 AM
RE: Run CGI Script from cgi-bin 500 error - Nuxwin - 12-18-2009, 09:28 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)