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

Can´t change DocumentRoot

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by MarkusF, Jul 26, 2010.

  1. MarkusF

    MarkusF New Pleskian

    15
    85%
    Joined:
    Jul 26, 2010
    Messages:
    5
    Likes Received:
    0
    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
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
Loading...