From apwww@hyperreal.org Fri Aug 8 18:04:32 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id SAA11250; Fri, 8 Aug 1997 18:04:32 -0700 (PDT) Message-Id: <199708090104.SAA11250@hyperreal.org> Date: Fri, 8 Aug 1997 18:04:32 -0700 (PDT) From: Miles Fidelman Reply-To: mfidelman@ntcorp.com To: apbugs@hyperreal.org Subject: multipart/form-data unrecognized X-Send-Pr-Version: 3.2 >Number: 983 >Category: mod_mime >Synopsis: multipart/form-data unrecognized >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Aug 8 18:10:01 1997 >Last-Modified: Fri Aug 8 20:26:02 PDT 1997 >Originator: mfidelman@ntcorp.com >Organization: >Release: 1.2.0 and 1.3a1 >Environment: SunOS ntcorp.com 5.5.1 Generic_103640-08 sun4m sparc SUNW,SPARCsystem-600 >Description: I'm running a set of PHP scripts that run fine on older sites, but when run on a brand new install of a recent Apache install (both 1.2.0 and today, 1.3a1), the scripts fail - passing through the error message "Unsupported content-type: multipart/form-data" This is a two-part failure in that the HTTP 1.1 spec. requires that unrecognized multipart subtypes be treated as multipart/mixed. >How-To-Repeat: try http://ne-arts.net/php/files/files.phtml, select any file for uploading, and push the button - other things will fail since the script isn't fully installed, but the error message will be generated as the first result of executing the form post >Fix: figure out why this stopped working from earlier version >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Fri Aug 8 20:26:02 PDT 1997 State-Changed-Why: This is not an Apache issue. Apache is not responsible for dealing with that at all. The error message you refer to comes from PHP (post.c). My guess would be that you did not configure PHP to allow for file upload support (config time question), but that is something you have to take up with whatever support channels exist for PHP. >Unformatted: