404 error for CGI-BIN files

rmenon

New Member
Messages
4
Reaction score
0
Points
0
Hey,

I am getting 404 error for the perl and CGI files in the CGI-BIN directory. Can somebody please help?

Thanks in advance.

rmenon
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
Are they chkmod 755? What are the scripts? Who wrote them?

More info equals better response.
 

rmenon

New Member
Messages
4
Reaction score
0
Points
0
@DefecTalisman

Yes, these files as well as the CGI-BIN directory has 755 permission. These are some very simple scripts which I had written.

Rakesh
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
what file extension are they saved as?
Try putting "use strict;" after the hashbang.
If not then try "use diagnostics;" also.
 

rmenon

New Member
Messages
4
Reaction score
0
Points
0
@DefecTalisman

The files are small perl files and have extension .pl.

I tried the option you have mentioned and it seems to have no difference. Also i noticed that even the HTML's in CGI-BIN directory are showing 404 error message.

Rakesh
 

DefecTalisman

Community Advocate
Community Support
Messages
4,148
Reaction score
5
Points
38
A 404 error is a "Not Found" error.
This could mean either there is a prob with the directory or maybe you have placed an .htaccess file in it.

Did you change the permissions on the directory itself?

You should close this thread and post in the "free hosting forum" something along the lines of:

404 error on anything in CGI-BIN

I am getting an error on all files in my cgi-bin, perl files are chkmod 755. HTML file dont work either.

example html url : http://www.
examlpe perl url : http://www.

hosting account user name :
 

rmenon

New Member
Messages
4
Reaction score
0
Points
0
@DefecTalisman,

I will do that.

Anyway, thanks.

Rakesh
 
Top