• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

My cgi-bin not working

A

adus123

Guest
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
:)
 
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.
 
Back
Top