> 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

Reply via email to