Closed Thread
Results 1 to 2 of 2
Like Tree3Likes
  • 3 Post By quasar

Thread: 404 error for files in cgi-bin

  1. #1
    quasar is offline x10Hosting Member quasar is an unknown quantity at this point
    Join Date
    Feb 2010
    Posts
    15

    Question 404 error for files in cgi-bin

    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.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,437

    Re: 404 error for files in cgi-bin

    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.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

Closed Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers