SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Newbie to ".pl" files needs advice about "$cgiurl".

    Hi!

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

    MERCFROG

  2. #2
    SitePoint Wizard bronze trophy KevinR's Avatar
    Join Date
    Nov 2004
    Location
    Moon Base Alpha
    Posts
    1,053
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    can you run any cgi scripts in your cgi-bin?

  3. #3
    SitePoint Member
    Join Date
    Feb 2007
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi KevinR!

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

    MF


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •