• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Full Server Path Needed

A

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.
 
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
 
Ooops! Typo. That should be more recently /var/www/vhosts/domain.com/httpdocs
 
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.
 
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.
 
Back
Top