1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Relative path and subdomain

Discussion in 'Plesk for Linux - 8.x and Older' started by comptech520, Sep 10, 2008.

  1. comptech520

    comptech520 Guest

    0
     
    What would the relative path be to my main httpdocs folder from a subdomain?
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    if your domain is

    /var/www/vhosts/test.com/httpdocs

    and your sub domain is
    /var/www/vhosts/test.com/subdomains/testing/httpdocs

    then your relative path from /var/www/vhosts/test.com/subdomains/testing/httpdocs to /var/www/vhosts/test.com/httpdocs would be ../../../httpdocs/
     
Loading...