Subdomain PATHS Help!

Discussion in 'Programming' started by jl255, Oct 31, 2009.

  1. #1
    Ok, i'm not experienced with subdomains and need some urgent help.

    I have a forum on
    forums.mydomain.com
    with path /home/username/public_html/forums

    And i have a script that is installed in a subfolder inside the 'forums' directory

    So the question is:
    1. What is the server path of my script?
    2. What is the url path of my script?

    Tks!
     
    jl255, Oct 31, 2009 IP
  2. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Server Path: /home/username/public_html/forums
    Path to script: /public_html/forums

    Incase if it is a forum, you'll have to sort its internal links aswell, or you'll have a cookie problem.
     
    flamer, Oct 31, 2009 IP
  3. jl255

    jl255 Well-Known Member

    Messages:
    2,762
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    185
    #3
    tks but i'm asking for the script path NOT for the forum....
     
    jl255, Oct 31, 2009 IP
  4. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have given answers for both.
     
    flamer, Oct 31, 2009 IP
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    path to your script would be

    /home/username/public_html/forums/Script Folder Name Here/
     
    Bohra, Oct 31, 2009 IP