• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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