Hi all,
On a few new servers we are now running apache 2.4* version a new customer we had today uploaded a cgi script but it doesnt seem to work.
After a few hour looking and comparing it indeed doesnt work even a simple script like hello world doesnt work but you get redirected to the main url with ?500 added in the url
The hello world test script is like:
When running from shell the script does work.
In the apache error logs ik see error messages like
So what am i missing it looks like apache cant handle the scipts so does it need to be found in the vhosts or can it be some thing else mod_ruid2 perhaps ?
On a few new servers we are now running apache 2.4* version a new customer we had today uploaded a cgi script but it doesnt seem to work.
After a few hour looking and comparing it indeed doesnt work even a simple script like hello world doesnt work but you get redirected to the main url with ?500 added in the url
The hello world test script is like:
PHP:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n";
When running from shell the script does work.
In the apache error logs ik see error messages like
[Mon Aug 05 22:06:06.507610 2013] [cgi:error] [pid 22920] [client 83.82.126.140:54069] End of script output before headers: hello.cgi
So what am i missing it looks like apache cant handle the scipts so does it need to be found in the vhosts or can it be some thing else mod_ruid2 perhaps ?