vhost + Plesk + open_basedir
Posted: 2007-06-05 08:35
Guten Morgen,
ich habe unter /srv/www/vhosts/domain.de/conf eine vhost.conf erstellt und dann /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost=domain.de ausgeführt und apache neu gestartet. In der httpd.conf wird nun auch die vhost.conf includiert.
In der vhost.conf ist (ausschließlich) notiert:
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/srv/www/vhosts/domain.de/httpdocs:/tmp:/srv/www/vhosts/domain.de/httpdocs/inc"
</IfModule>
Warum bekomme ich immer noch den Fehler:
Warning: main() [function.main]: open_basedir restriction in effect. File(/inc/vars.ini.php) is not within the allowed path(s): (/srv/www/vhosts/domain.de/httpdocs:/tmp) in /srv/www/vhosts/domain.de/httpdocs/index.php on line 2
Warning: main(/inc/vars.ini.php) [function.main]: failed to open stream: Operation not permitted in /srv/www/vhosts/domain.de/httpdocs/index.php on line 2
Und in line 2 in der index.php wird nur inc/vars.ini.php includiert.
Ist das gar kein vhosts-Problem oder doch oder wo soll ich suchen?
Auf Hilfe hoffend,
Helge
ich habe unter /srv/www/vhosts/domain.de/conf eine vhost.conf erstellt und dann /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost=domain.de ausgeführt und apache neu gestartet. In der httpd.conf wird nun auch die vhost.conf includiert.
In der vhost.conf ist (ausschließlich) notiert:
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/srv/www/vhosts/domain.de/httpdocs:/tmp:/srv/www/vhosts/domain.de/httpdocs/inc"
</IfModule>
Warum bekomme ich immer noch den Fehler:
Warning: main() [function.main]: open_basedir restriction in effect. File(/inc/vars.ini.php) is not within the allowed path(s): (/srv/www/vhosts/domain.de/httpdocs:/tmp) in /srv/www/vhosts/domain.de/httpdocs/index.php on line 2
Warning: main(/inc/vars.ini.php) [function.main]: failed to open stream: Operation not permitted in /srv/www/vhosts/domain.de/httpdocs/index.php on line 2
Und in line 2 in der index.php wird nur inc/vars.ini.php includiert.
Ist das gar kein vhosts-Problem oder doch oder wo soll ich suchen?
Auf Hilfe hoffend,
Helge