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

vhost.conf

Discussion in 'Plesk for Linux - 8.x and Older' started by MaRiOs, Oct 25, 2005.

  1. MaRiOs

    MaRiOs Guest

    0
     
    I try to install the moodle cms in a subdomain called education/

    but I get errors of : Warning: file_exists(): open_basedir restriction in effect.

    so I created a vhost.conf file containing :

    <Directory /home/httpd/vhosts/mariosmaravelias.info/subdomains/education/httpdocs>
    php_admin_value open_basedir none
    php_admin_value safe_mode 0
    </Directory>

    The I runned the command /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=maindomain.com

    and I got no error.
    Then I restarted apache.

    And I saw no change to the errors of the cms ...
     
  2. CoKo

    CoKo Guest

    0
     
    Where did you set up the vhost.conf file?

    It should be

    /home/httpd/vhosts/mariosmaravelias.info/subdomains/education/conf/vhost.conf

    NOT

    /home/httpd/vhosts/mariosmaravelias.info/conf/vhost.conf

    (That was my fault the last time...)
     
Loading...