Re: PHP POST results in 404

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 08/28/04


Date: Fri, 27 Aug 2004 21:10:59 -0700

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


Relevant Pages

  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • Re: [PHP] Include directive..
    ... file to specify the location to my script folders. ... Failed to generate a syntactically correct Apache configuration. ... But i do have the <?php tag closed in my Bootstrap file. ...
    (php.general)
  • Re: You must specify the PHP executable used for the debug session
    ... ini file to be copied ... Sorry, PHP Debugging configuration failed. ...
    (comp.lang.php)
  • Re: php.ini settings not taking effect
    ... >don't have control over Apache's httpd.conf, as I'm running my php scripts on my ISP server. ... PHP configuration, at least for the Apache module version ... more settings here than you can with ini_set, ...
    (comp.lang.php)
  • Re: Transfering Website, PHP Configuration
    ... This has nothing to do with PHP - it's straight Apache configuration. ... Your new host probably has a control panel to help you configure your system. ... check security settings on both servers and compare them. ...
    (comp.lang.php)