Try to add a new virtual directory.

Select your C:\Temp and go to File/Properties, go to Web Sharing, and click
add, and name a virtual directory let's say: /temp
you can now access as:

http://localhost/test/yourscript.php

Best Wishes,
Elias,

"Aerial" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm running WinME + PWS 4 + PHP 4.0.6 using CGI. When I tried to run a
> script outside the DOC_ROOT set in php.ini
> (i.e. DOC_ROOT = c:\webroot and I'm running a script at c:\temp), an error
> was shown and said the CGI program could not return the headers. I've
> checked that the CGI self has no problem and that dir with CGI scripts
have
> set access with "execute" box checked already. Thanks a lot
>
>



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