Bug #15334: no way to upload to a virtual domain

From: Date: Fri, 01 Feb 2002 22:53:54 +0000
Subject: Bug #15334: no way to upload to a virtual domain
Groups: php.dev 
Request: Send a blank email to php-dev+get-78825@lists.php.net to get a copy of this message
From:             carlo_rocchi@tin.it
Operating system: FreeBSD 4.4
PHP version:      4.1.1
PHP Bug Type:     HTTP related
Bug description:  no way to upload to a virtual domain

using phpMyAdmin to upload a SQL query file, Apache reports the following
error:

***********************************************************

Warning: open_basedir restriction in effect. File is in wrong directory in
/usr/local/psa/home/vhosts/bogus.org/httpdocs/sql/read_dump.php on line
220

Warning:
fopen("/usr/local/psa/home/vhosts/anotherone.com/httpdocs/_php_upload_tmp/php66Xwh8",
"r") - Operation not permitted in
/usr/local/psa/home/vhosts/bogus.org/httpdocs/sql/read_dump.php on line
220

Warning: Supplied argument is not a valid File-Handle resource in
/usr/local/psa/home/vhosts/bogus.org/httpdocs/sql/read_dump.php on line
220

**********************************************************

Please notice that Apache is referring to two different virtual domains,
"bogus.org" and "anotherone.com" !!!
I was uploading to bogus.org and Apache reported trying to fopen on
anotherone.com!!
Is it impossible to perform uploads on a server that hosts virtual
domains? It shouldnt, should it....


-- 
Edit bug report at: http://bugs.php.net/?id=15334&edit=1
Fixed in CVS: http://bugs.php.net/fix.php?id=15334&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15334&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15334&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15334&r=oldversion
Not for support: http://bugs.php.net/fix.php?id=15334&r=support
Not wrong behavior: http://bugs.php.net/fix.php?id=15334&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15334&r=notenoughinfo



Thread (2 messages)

« previous php.dev (#78825) next »