1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

My cgi-bin not working

Discussion in 'Plesk for Linux - 8.x and Older' started by adus123, Dec 2, 2005.

  1. adus123

    adus123 Guest

    0
     
    My cgi-bin not working

    Okay this may be a stupid question because i am completely new to cgi stuf

    but my cgi-bin is located /home/httpd/vhosts/my-domain-name.net/cgi-bin/

    and not /home/httpd/vhosts/my-domain-name.net/httpdocs/cgi-bin/ where i expected it to be.

    I have a virtual host server running multiple domain names

    On one of my domain names after hours of playing around and managed to get something working.

    Should it be possible to simply make a folder called cgi-bin or not my-domain-name.net/httpdocs/cgi-bin/

    I have some CGI scripts I want to use but thay require you to directly link to CGI script in the cgi-bin

    folder

    Like www.my-domain-name.net/cgi-bin/apf4/apf_config.cgi


    ok me being me I thought I could simply get round the problem my creating a folder called cgi-bin set it

    to 755 and simply get it working. Like this /httpdocs/cgi-bin/

    but that did not work I just got error messages like 403 and 500 and stuff

    So for some reason I thought I would rename it to cgi-bin2 and hay presto it worked.

    see http://old-classic-cars.co.uk/cgi-bin2/apf4/amazon_products_feed.cgi

    so I thought I would try my luck an get it working on a different domain name on the same server but no

    luck all I get is server error 500

    Any suggestions

    Thank You
    Adrian Eyre
    :)
     
  2. nos4

    nos4 Guest

    0
     
    disable mod cgi allow regular and check perms and #!/path/perl still get error run dos2unix on the files there probabls some microsoft on your files. if you still cant figure it contact me for hire . i have 1 day open this week.
     
Loading...