Re: IIS + PHP...
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 03/16/05
- Next message: Kristofer Gafvert: "Re: Sharing Beatrix"
- Previous message: Kristofer Gafvert: "Re: No authentication prompt"
- In reply to: Rob: "Re: IIS + PHP..."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Mar 2005 09:41:39 -0800
Based on your description, IIS can certainly do those things. It may not be
called the same as Apache nor have similar configuration, but the concepts
are the same.
IIS has a concept of configurable custom errors, where you define the URL
(code that gets executed) or static HTML file that gets run by IIS when an
error code (HTTP status codes 4xx-5xx) happens. You can define such a thing
for the 404 custom error so that IIS runs a certain file on a 404.
I am confused by what you are trying to do with the rest of your
description -- can you please describe what you are trying to accomplish:
> if i give the file an extention... .php it runs, but as soon as i
> got further into the file.. for example
>
> directory.php/iis_help/iis_help.html
>
> its complains, No input file specified.
I have no idea what you are trying to do here. Are you trying to have PHP
mapped to all extension-less files such that it executes with a path info of
/iis_help/iis_help.html ? I'm not certain what you are trying to accomplish,
but if anything fails at this point, it is a PHP/configuration problem.
Bottom line: I'm pretty certain that Apache concepts used by PHP exists in
IIS. It just may not have the same syntax or semantic, which is perfectly
ok -- two different software products usually have different ways of looking
at the same problem, so it is expected that configuration/syntax to be
different. So, it is probably better to describe the concept that needs to
happen (instead of searching for corresponding syntax)
-- //David IIS http://blogs.msdn.com/David.Wang This posting is provided "AS IS" with no warranties, and confers no rights. // "Rob" <rob@tbswebdesign.com> wrote in message news:eLeJSNkKFHA.3916@TK2MSFTNGP14.phx.gbl... basically the script i am trying to use requires that it have no extension... its a php file called 'directory' i need a way to my IIS to execute that file with php, at the moment it says 404 in Apache you can force the default application type using htaccess. if i give the file an extention... .php it runs, but as soon as i got further into the file.. for example directory.php/iis_help/iis_help.html its complains, No input file specified. David Wang [Msft] wrote: > Can you clarify what you are trying to do? > > I have no idea what you mean by "Force Application Type". > > Creating virtual HTML pages on the fly works perfectly well on IIS >
- Next message: Kristofer Gafvert: "Re: Sharing Beatrix"
- Previous message: Kristofer Gafvert: "Re: No authentication prompt"
- In reply to: Rob: "Re: IIS + PHP..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|