|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hi there!
My houser had to reinstall my server (before the update it was RedHat - now the machine is running Suse Linux). The Apache server works fine - but everytime it has to execute a CGI script, it gives back a 500 server error. Apache's httpd.conf includes <Directory /> Options +Includes -FollowSymLinks +Multiviews +ExecCGI</Directory> so CGI _should_ be enabled. And that's, was the error log says (debug logging): [Wed Mar 7 21:49:55 2001] [error] (2)No such file or directory: exec of /home/www/myisn/clients/count.cgi failed [Wed Mar 7 21:49:56 2001] [error] [client 62.158.222.216] Premature end of script headers: /home/www/myisn/clients/count.cgi When I run these scripts directly by shell, no error happens - very strange, isn't it? The Perl directory is set correctly at the beginning of the script. Think - it's a very fresh system and all my scripts have already worked for month...I don't know this time what I should be able to do? I already called my houser's support team - the technican checked the server and said, he was not able to find any error. Do you have any solution for me? Thank you very much! -Chris |
|
#2
|
|||
|
|||
once I hade same problem, but there was Perl directory set wrong.. but if you are sure about that.. check does Apache have right access to execute perl.. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > hard Apache problem :-( |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|