PHP POST results in 404
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server > PHP POST results in 404




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    PHP POST results in 404  
Thomas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-04 10: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






[ Post a follow-up to this message ]



    Re: php POST results in 404  
chanmmn


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-04 10: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
>







[ Post a follow-up to this message ]



    Re: php POST results in 404  
Thomas


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-04 10: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... 
>
>
>





[ Post a follow-up to this message ]



    Re: php POST results in 404  
David Wang [Msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-28-04 07: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register