Guest Jinfury Posted September 19, 2003 Report Share Posted September 19, 2003 I just installed Mandrake 9.1 and am using the "out of the box" apache server, with mod_perl, mod_php and mysql. Problem is, that everything works except CGI scripts. They give me a 500 error, even though they run fine on my windows server. The test CGI script that comes with the server works fine though... Anyone have any ideas why this is happening? When I look into the error log it says "premature end of script headers" or something like that. Quote Link to comment Share on other sites More sharing options...
Guest fubar::chi Posted September 20, 2003 Report Share Posted September 20, 2003 i'm no cgi expert but "premature end of script headers" probably means your header files are messed up. I personally use php scripts instead of cgi, so i can't provide more help. Quote Link to comment Share on other sites More sharing options...
Guest Jinfury Posted September 20, 2003 Report Share Posted September 20, 2003 If they were messed up they would give en error on the windows erver too or? Cgi is Cgi... no mater if linux or windows... Quote Link to comment Share on other sites More sharing options...
Guest fubar::chi Posted September 20, 2003 Report Share Posted September 20, 2003 i googled and this was the first thing i got. http://www.icehousedesigns.com/community/v...opic.php?t=1493 Scroll down and go to The Brain. This is pretty much along the line of thinking i was having. To make a file executable chmod 755 /path/to/file/name_of_file Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.