Re: *.php files not found on non-standard website
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 08/07/04
- Next message: Elaine: "Re: Shell command on IIS 6.0"
- Previous message: Andrey P: "Re: IIS 6.0 - Mapping an application problem"
- In reply to: bjh: "*.php files not found on non-standard website"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 6 Aug 2004 18:42:49 -0700
PHP works just fine for me on every single one of my IIS5 websites, host
headers and all.
IIS has no notion of "standard", "default", or "non-standard" website.
Every single website is exactly the same as every other website -- except
for website-specific configuration (like IP/Host header) and any other code
that may be specific to a website -- for example, a PHP script that is hard
coded to only work on website ID 1 but not ID 2 (for example), or an ISAPI
that only works on one website but not another.
If you have ASP and PHP scripts in the same directory and you can access ASP
just fine but PHP returns 404, then you need to look at your PHP
configuration. In particular, disable "Check if File Exists" option for the
PHP scriptmap if your PHP is using non-standard notation for referencing PHP
Scripts.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "bjh" <bjh@discussions.microsoft.com> wrote in message news:82D21FED-F509-412C-BCE0-2A802B93ADA4@microsoft.com... Hello, I'm running IIS 5 on Windows 2000 Server. I installed PHP as CGI application to test some scripts I wrote. I can call all .php scripts from within the standard website - everything is ok. But if I create a non-standard website with a different host header pointing to a different location within wwwroot and now call a .php file, it gives me a 404 (not found) back. .asp scripts and everything else is working fine. Of course I added PHP support for this website, too! Did anyone experience the same problem and/or can help? Greets, BJH
- Next message: Elaine: "Re: Shell command on IIS 6.0"
- Previous message: Andrey P: "Re: IIS 6.0 - Mapping an application problem"
- In reply to: bjh: "*.php files not found on non-standard website"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|