Keral_Patel
I'll do itRestricted (Chatroom)
- Impact
- 1,449
Hello friends,
I have one script that uses CGI.
But when uploaded it gave me 500 error.
So I decided to upload just a simple file something like this.
But it is still giving me 500 error.
I have checked :
1) That the URL is not case sensitive.
2) That the file permission is 755 and the cgi-bin directory is also 755.
3) I have checked that there is a ScriptAlias for the particular domain in httpd.conf
4) Plus I have checked that the script above is also working on another shared server but not on this server.
5) And yes the script was uploaded in ASCII.
So I don't know exactly how to fix this. Can someone help me or give me some idea what should I do next.
Thanks.
I have one script that uses CGI.
But when uploaded it gave me 500 error.
So I decided to upload just a simple file something like this.
Code:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello<br><br>";
print "<br><br>\n";
But it is still giving me 500 error.
I have checked :
1) That the URL is not case sensitive.
2) That the file permission is 755 and the cgi-bin directory is also 755.
3) I have checked that there is a ScriptAlias for the particular domain in httpd.conf
4) Plus I have checked that the script above is also working on another shared server but not on this server.
5) And yes the script was uploaded in ASCII.
So I don't know exactly how to fix this. Can someone help me or give me some idea what should I do next.
Thanks.







