1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Full Server Path Needed

Discussion in 'Plesk for Linux - 8.x and Older' started by aviscat, Dec 19, 2005.

  1. aviscat

    aviscat Guest

    I need to know what the full server path is using Plesk 7.5.4. I have searched all over. Below is the code I have used on a shared hosting and it works fine there.

    define('DIR_FS_CATALOG', '/home/content/y/a/n/yangle/html/catsafratsrx/catalog/'); // absolute path required

    This is what I tried on my virtual Plesk server and it isn't working for my admin section. I am trying to use .htaccess / .htpasswd to password protect my admin stuff.

    define('DIR_FS_CATALOG', '/home/content/d/o/m/domain.com/httpdocs/test/catalog/'); // absolute path required

    Please help.
  2. brucew

    brucew Guest

    It depends on the version of Plesk used when initially installed on the server.

    /home/httpd/vhosts/domain.com/httpdocs or more recently /var/www/vhosts/domain.com.httpdocs

    A long, long time ago it was in /usr/ something
  3. brucew

    brucew Guest

    Ooops! Typo. That should be more recently /var/www/vhosts/domain.com/httpdocs
  4. aviscat

    aviscat Guest

    Tried both. Didn't work. Trying to get into a password protected directory. It works fine on the test shared hosting. Using .htaccess and .htpasswd. I know I have the correct user/pass yet I can't get in. Need to get this working soon. Thanks.
  5. fuzzball

    fuzzball Guest

    The two versions of the path he gave you are correct. If whatever you're doing still isn't working, then you have some other kind of problem.

    You didn't really explain what your problem is. You said you needed the path and that's what you got.