• 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

Can´t change DocumentRoot

MarkusF

New Pleskian
Hello,

i have an vserver from Strato with Plesk Panel 9.5.2 an Ubuntuu Linux.
If I change the DocumentRoot in http.include it will lost if make the next upgrade.
I want to add the dirctory "/markus/gallery2/g2data" into the DocumentRoot.

I have an own vhost.conf in "/var/www/vhosts/my-domain.de/conf/" with the following content:

<Directory /var/www/vhosts/my-domain.de/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/my-domain.de/httpdocs:/tmp:/markus/gallery2/g2data"
</Directory>

Then I make a "/....../psa/admin/sbin/websrvmng -a -v"

Then let me show the configuration with "phpinfo"
But phpinfo show me that the DocumentRoot is "/var/www/vhosts/my-domain.de/httpdocs"

Thats the same as before I make changes to the vhost.conf
Nothing is happend.

What can I do to add the additional directory to my DocumentRoot?

Greetings,
M. Foerg


PS: Sorry for my bad english
 
Back
Top