httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madeleine Freudenberg <>
Subject [users@httpd] multipart/form-data weirdness
Date Sat, 06 Jan 2007 17:37:11 GMT
Hi everybody,

This one baffles me.

I have the following scenario:

  - Apache 2.2.3 with mod_php and mod_rewrite enabled (disabling those modules 
    doesn't change a thing), no other fancy configuration items
  - An arbitrary form with enctype="multipart/form-data"
  - An arbitrary receiver for the form data, such as a php script or cgi 
  - An arbitrary browser, such as Firefox, or Konquerer which POSTs the form 
    to the Apache web server

Problem is:

  - The web server appears to convert all multipart form data to 
    application/x-www-form-urlencoded data before passing it on to the 
  - Any <input type="file"> data is silently dropped
  - A find+grep for the mime types in question yields nothing of note, except 
    for them being listed in mime.types (even when the find is done on the
    entire Apache chroot tree)
  - Nothing unusual appears in the log files
  - The problem shows up consistently for all receivers (tried mod_php, cgi, 
    and mod_perl)
  - I can't reproduce the error on other servers
  - Recompiling apache on that particular server does not help
  - tcpdump -w proves that the client does transmit form data correctly, in 
    multipart/form-data format, including any files
  - multipart form data was known to work for that server until about a month 
    ago. MD5 checksumming suggests that the Apache configuration hasn't 
    changed for more than 3 months.

What on earth would trigger this behavior?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message