IIS Server - PHP POST results in 404

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > August 2004 > PHP POST results in 404





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author PHP POST results in 404
Thomas

2004-08-23, 5:54 pm

Hello,

I'm using php 4.3.8 on IIS6 (2003 Server Web Edition) My logs are showing
the following:
POST /portal/kronolith/data.php/events fn_ext=%2Fevents.csv 443 -
63.199.163.173
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322) 404 0 0

The browser page displays "No input file specified"

I've been tryin to track down the source but I'm at a complete loss. Any
help would be greatly appreciated.

Thomas

chanmmn

2004-08-23, 5:54 pm

Check the extension and API setting in IIS.

chanmm

"Thomas" <Thomas@discussions.microsoft.com> wrote in message
news:4C5928E7-C3BF-497A-9025-62E3D8015966@microsoft.com...
> Hello,
>
> I'm using php 4.3.8 on IIS6 (2003 Server Web Edition) My logs are showing
> the following:
> POST /portal/kronolith/data.php/events fn_ext=%2Fevents.csv 443 -
> 63.199.163.173
> Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322) 404
> 0 0
>
> The browser page displays "No input file specified"
>
> I've been tryin to track down the source but I'm at a complete loss. Any
> help would be greatly appreciated.
>
> Thomas
>



Thomas

2004-08-23, 5:54 pm

PHP is enable in the Web Extensions section of IIS. Not sure what exactly
your referring to when you say API.

Thanks for the reply.

Thomas

"chanmmn" wrote:

> Check the extension and API setting in IIS.
>
> chanmm
>
> "Thomas" <Thomas@discussions.microsoft.com> wrote in message
> news:4C5928E7-C3BF-497A-9025-62E3D8015966@microsoft.com...
>
>
>

David Wang [Msft]

2004-08-28, 2:48 am

I think you have not completed php configuration.

If IIS is misconfigured, you would likely have gotten a 404 3 50 (for the
access to a .csv file that has no MIME Map), 404 2 # (PHP is not enabled in
Web Service Extension configuration).

If it is a real "404 file not found" sent by IIS, then the end of the log
entry usually looks like 404 0 2 (404 status, 0 substatus, 2 win32 error
code = ERROR_FILE_NOT_FOUND).

This 404 looks to be generated by php itself (you configured IIS to properly
determined to send the response to PHP, the handler for the resource
data.php) -- since an ISAPI can only set the status code, leaving substatus
and win32 error to be both 0. I suggest you look into php configuration as
to why it is sending the 404 response. Maybe php has a configuration that
prevents POST from being accepted.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Thomas" <Thomas@discussions.microsoft.com> wrote in message
news:4C5928E7-C3BF-497A-9025-62E3D8015966@microsoft.com...
Hello,

I'm using php 4.3.8 on IIS6 (2003 Server Web Edition) My logs are showing
the following:
POST /portal/kronolith/data.php/events fn_ext=%2Fevents.csv 443 -
63.199.163.173
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322) 404 0
0

The browser page displays "No input file specified"

I've been tryin to track down the source but I'm at a complete loss. Any
help would be greatly appreciated.

Thomas


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com