B
Beneter
Guest
[Solved] vhost.conf is not included in .include - Files
Hello,
I'm running 10.2.0 on Linux 2.6.18-028stab091.2 (= Ubuntu-Server 10.04 LTS).
I'm trying to host "moodle" (a CMS) via https on my Domain. Everything works great so far, but during the "install.php" the following error shows up:
So I created a /var/www/vhosts/my-domain.de/conf/vhost.conf with the following content:
Now, to read the vhost.conf I start the following commands in the shell:
At /var/www/vhosts/my-domain.de/conf/ there are always two new .include-Files, i.e.:
13233365070.95216700_httpd.include
13233365070.95216700_httpd_ip_default.include
(see Attachement)
As you can see, open_basedir is still set to "php_admin_value open_basedir /var/www/vhosts/my-doamin.de/httpdocs/:/tmp/"
What am I doing wrong?
Kind Regards,
Beneter
P.S. The sensitive information is censored.
Hello,
I'm running 10.2.0 on Linux 2.6.18-028stab091.2 (= Ubuntu-Server 10.04 LTS).
I'm trying to host "moodle" (a CMS) via https on my Domain. Everything works great so far, but during the "install.php" the following error shows up:
I was searching for a solution and found http://kb.parallels.com/en/432, http://download1.swsoft.com/Plesk/Plesk8.1/Doc/plesk-8.1-unix-administrators-guide/17359.htm and http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/.Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/my-domain.de/moodledata) is not within the allowed path(s): (/var/www/vhosts/my-domain.de/httpdocs:/tmp://var/www/vhosts/my-domain.de/moodledata) in /var/www/vhosts/my-domain.de/httpdocs/install.php on line 314 Warning: is_writable(): open_basedir restriction in effect. File(/var/www/vhosts/my-domain) is not within the allowed path(s): (/var/www/vhosts/my-domain.de/httpdocs:/tmp://var/www/vhosts/my-domain.de/moodledata) in /var/www/vhosts/my-domain.de/httpdocs/install.php on line 318
So I created a /var/www/vhosts/my-domain.de/conf/vhost.conf with the following content:
I also copyed it, for being sure, to /var/www/vhosts/my-domain.de/conf/vhost_ssl.conf .<Directory /var/www/vhosts/my-domain.de/httpdocs>
php_admin_value open_basedir "/var/www/vhosts/xplore-dna.net/httpdocs:/tmp:/var/www/vhosts/my-domain.de/moodledata"
</Directory>
Now, to read the vhost.conf I start the following commands in the shell:
But when launching the install.php again it still shows the same Error!root@my-2nd-domain.de:~# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
root@my-2nd-domain.de:~# apache2ctl configtest
Syntax OK
root@my-2nd-domain.de:~# /etc/init.d/apache2 restart
* Restarting web server apache2 ... waiting
root@my-2nd-domain.de:~# [OK]
At /var/www/vhosts/my-domain.de/conf/ there are always two new .include-Files, i.e.:
13233365070.95216700_httpd.include
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
#/var/www/vhosts/xplore-dna.net/conf/vhost.conf
#/var/www/vhosts/xplore-dna.net/conf/vhost_ssl.conf
13233365070.95216700_httpd_ip_default.include
(see Attachement)
As you can see, open_basedir is still set to "php_admin_value open_basedir /var/www/vhosts/my-doamin.de/httpdocs/:/tmp/"
What am I doing wrong?
Kind Regards,
Beneter
P.S. The sensitive information is censored.
Attachments
Last edited by a moderator: