Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    May 2007
    Location
    Denver USA
    Posts
    8

    Default Access the cgi bin directory

    Hello : I know that this is the most ignorant question, but rather than pondering my ignorance, I thought that I'll just get rid of it with some help . . .
    So if my cgi bin is one folder above my domain as in /var/www/cgi-bin/
    what public address do I use if mys script is residing in the main domain folder - a in var/www/html/formscript.html?
    Thanks kindly, Eric

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Well your actual "script" must be located in /var/www/cgi-bin in order to work. It also must end in .cgi or .pl in order to be executed by the server. That being said there is what is called a symbolic link in /var/www/html/ that is called cgi-bin that points to the one in /var/www/. That is so that in a web page you can point to the script with "/cgi-bin/examplescript.cgi" or "example.com/cgi-bin/examplescript.pl".
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #3
    Junior Member
    Join Date
    May 2007
    Location
    Denver USA
    Posts
    8

    Default Thanks.

    Thanks kindly. Too simple. I'll give it a try.
    Thanks, Eric

Similar Threads

  1. How to restrict FrontPage Access to a directory.
    By wildjokerdesign in forum Microsoft FrontPage
    Replies: 2
    Last Post: 06-02-2007, 10:58 PM
  2. Miva 4 to Miva 5 upgrade problems Did this happen to you?
    By brady9111 in forum Miva Merchant
    Replies: 3
    Last Post: 05-25-2007, 10:11 AM
  3. Replies: 3
    Last Post: 03-15-2007, 08:32 PM
  4. additional domains with own cgi bin
    By justus in forum CGI Scripts / Perl
    Replies: 3
    Last Post: 03-01-2007, 08:29 AM
  5. Replies: 8
    Last Post: 11-24-2003, 11:17 AM

Posting Permissions

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