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
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