Help with perl script installation

Discussion in 'Programming' started by amedno1, Oct 6, 2006.

  1. #1
    This is my first time installing a script, I thought I'l just follow the instructions and Im done but didn't turn out that way, but I think I know where Im going wrong...

    At some point I have to edit this file with my domain which was easy and it also asks for the absolute path to my data directory

    $_data_path variable
    Enter the absolute path to your data directory. This is
    normally cgi-bin/arplus/data but can be anywhere on your server.
    NOTE: This is the absolute path from your host's server root, not from your domain's root. It would be normal for this path to contain your domain or login name in it.

    # EXAMPLE: /usr/home/loginname/usr/httpd/cgi-bin/arplus/data


    I dont quite understand what they are asking for the path from my hosts server root? Im using cpanel hosting


    can anyone help?
     
    amedno1, Oct 6, 2006 IP
  2. Bombaywala

    Bombaywala Peon

    Messages:
    1,249
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do pwd on command prompt and you will get the absolute path.
     
    Bombaywala, Oct 6, 2006 IP
  3. amedno1

    amedno1 Active Member

    Messages:
    427
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #3
    pwd?? whats that?
     
    amedno1, Oct 6, 2006 IP
  4. Bombaywala

    Bombaywala Peon

    Messages:
    1,249
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Type on your prompt.

    >pwd [enter]

    And you will get the location of the directory. Learn Unix basics and then Perl basics.
     
    Bombaywala, Oct 6, 2006 IP
  5. barutiwa

    barutiwa Greenhorn

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Wow. This is an old post. Anyway you'll have to provide the location from your host perspective. Therefore, /usr/home/loginname/usr/httpd/cgi-bin/arplus/data seems to be more accurate.
     
    barutiwa, Nov 25, 2010 IP