ID: 10272
User Update by: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Apache related
Description: Looks for php script in main folder, not virtual host folder

I figured this out. It's not really a bug, just something strange. When you set the 
documentroot in php.ini, all pages are read from there, ignoring any virtualhosts, I 
don't know why, it seems stupid. So, as soon as I removed the value from there 
(leaving it blank), it worked fine. :)

Previous Comments:
---------------------------------------------------------------------------

[2001-04-10 16:15:50] [EMAIL PROTECTED]
When I call http://www.myvirtualhost1.com/script.php

rather than running /home/vh1/script.php, it tries /home/script.php (/home is where 
http://localhost/ goes).

I've seen a few posts about this in the phpbuilder archives, but no solution, and I 
can't find anything in these bug reports. I'm not sure if it's Apache not passing on 
the right filename, of a problem with php.

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=10272


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to