PHP 4 doesn't seem to work correctly with UNC paths
(\\Servername\ShareName). To help debug, configure IIS to "check if file
exists" for .php (or whatever extension you use). I have gotten around this
by mapping the share to a drive letter. PHP 4 works correctly with virtual
directories that are accessed via drive letter. Permanently setting drive
letters for shares is very difficult on NT servers, but can be done. 

Domenic

-----Original Message-----
From: Ermanno Iannacci [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 12:32 PM
To: Lista PHP Windows
Subject: [PHP-WIN] PHP on virtual directories


I need PHP to run a script in a directory located on a computer different
from the web server where PHP is. I added the remote directory as a virtual
directory in IIS. I can only see this:
"CGI Error
the CGI application misbehaved by returning an incomplete set of HTTP
headers: the headers it sent are:"
(I don't remember exactly, maybe I lost some word)

Nothing follows this phrase, that is, I don't see any header.

Can PHP execute scripts on shared dirs? Problems of permissions? What does
it mean "Virtual directory support enabled" in phpinfo()?

Instead, I can see static HTML pages.

Using PHP 4.0.4, IIS 4.0, WinNT 4


-- 
PHP Windows 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]

-- 
PHP Windows 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