• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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