Re: IIS5.1 (WinXP), PHP5 and virtual directory

From: Date: Tue, 20 Apr 2004 16:36:05 +0000
Subject: Re: IIS5.1 (WinXP), PHP5 and virtual directory
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-13287@lists.php.net to get a copy of this message
> PHP5 runs (cgi or iisapi dll) well when > php script is located under wwwroot directory > But when I use a Virtual directory (i.e. located > outside wwwroot), I get '404 File not found' > error. Any ideas? -------------------------- Hi. This problem is very simple to solve. * Open IIS console * Select "Web site" * Click on this item with right buon mouse * Select "Property" * Then select "error message" Page * In the column "Error HTTP" assign to error 404 this follow file C:\WINDOWS\help\iisHelp\common\404b.htm (or copy 404b.htm into new file i.e. 404.htm and assign that) then leave at item "Message type": file * open C:\WINDOWS\help\iisHelp\common\404(b).htm file and personalize error messages It's all. My Windows version is italian, but the passages are the same. Regards Francesco Mannarino

« previous php.install (#13287) next »