Thanks for your reply Kunal
Quote:
Originally posted by kunal
Just create a dir called "cgi-bin" without the " ". CHMOD it to 755. I presume u know how to do that? Now, put all your scripts in the cgi-bin dir. CHMOD each file to there requirments. I think 755 should be write. This should work.
As far as the Errors are concerned, I think it is because of the paths and permisions you have set for your scripts.
|
Is this standard to create a cgi-bin directory? Is this directory not normally on the hosts section of the server?
If I create the directory do I create it as a sub directory to my main directory "web' which is where my index.htm file is or where?
I have figured out the CHMOD. I use WS_ftp and it just gives the settings as to read, write & execute not the numerical.
But using an old version of Cute ftp which gives the numbers which correspond I was able to understand the settings. The script file is 755. The guestbook.htm is 777 and the addguest.htm is 744.
I am sure the problem lies with the paths placed in the variables. I don't think that I am enetring them correctly.
As an example for the following :
$cgiurl= The url portion of the address to the guestbook.pl file. The file guestbook.pl needs to be placed in your server's cgi-bin
Tera-byte indicated the following info for this variable
/home/sites/www.artbyjudy.com/web/cgi-bin/
I have tried using this and different combinations.
One problem is I have no understanding of what it means ie:
-Should it be preceeded by something like "http:" or ".."
-What does /home/sites mean is this something to do with the address to the server?
Can someone explain this url and what it does?
Also can I use my IP address in place of "www.artbyjudy.com" in the urls.