Newbie to ".pl" files needs advice about "$cgiurl".
I'm trying to set up a Guestbook script for my site.
(I have my own "virtual server")
I am using a script found at: http://www.scriptarchive.com/guestbook.html
It says this: (under "# Set Variables"
$cgiurl - The url portion of the address to the guestbook.pl file
As an example it shows:
$cgiurl = "http://your.host.com/cgi-bin/guestbook.pl";
How do I do this?
The CGI-BIN is under: /home/httpd/cgi-bin
... as seen per FTP, but how does one figure out the "URL"?
I've tried every combination I can think of but keep getting this:
The requested URL /cgi-bin/guestbook.pl was not found on this server.
Also, my GGI-BIN is not "in" my website folder (ie:your.host.com/cgi-bin/)
Rather, 2 levels above it:
/home/httpd/cgi-bin <- this is the CGI-BIN address, FTP wise.
/home/httpd/docs/zwerchfe <- this is the website address, FTP wise.
Please help !!
can you run any cgi scripts in your cgi-bin?
Thanks for replying!
My mistake was on the "guestbook" page itself :-(
So everythings "OK" now.
Sorry- but I'm still learning here.
Thanks very much for the rely though!!!