404 error for files in cgi-bin

Status
Not open for further replies.

quasar

New Member
Messages
15
Reaction score
0
Points
0
Hi All,

I used 755 permissions for my cgi-bin and also files uploaded in ASCII mode. Still i am not able to access my cgi-bin folder from public domain. I understand for public domain files should be in folder public_html folder. but cgi scripts for security are generally placed outside this folder. I am able to run a script kept in public domain which calls another script kept in /cgi-bin/ folder. but however scripts kept directly in /cgi-bin folder are giving 404 errors. I can place all executable cgi files in /public_html/cgi-bin but this will reduce security so please suggest how can i run files from folder above my /public_html folder. I have done this in other hostings like netfirms.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
To use the configuration you proposed, you'll have to set up an alias in your .htaccess file that maps the cgi-bin "directory" with the one outside public_html.
 
Status
Not open for further replies.
Top