rhandalthor
asked on
Server error while uploading file in Wordpress
While uploading a file in Wordpress 2.8 I got this error:
[Mon Jul 06 07:25:21 2009] [error] [client 193.138.70.59] mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [hostname "sub.domain.net"] [uri "/subdomain/wp-admin/async -upload.ph p"]
The upload folder is CHMOD 777 so I don't follow
[Mon Jul 06 07:25:21 2009] [error] [client 193.138.70.59] mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [hostname "sub.domain.net"] [uri "/subdomain/wp-admin/async
The upload folder is CHMOD 777 so I don't follow
ASKER
I have asked my ISP, but no answer so far. No answers here yet either. Anybody?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [severity "EMERGENCY"]
This error message from ModSecurity means that the request body was not
properly constructed or something was wrong with the file upload (most
likely that the client timed out and did not fully complete the upload).
Other possible reasons for this -
1) If the end of the final boundary is missing a CRLF
2) If the size specified in the Content-Length header is too small. In
this case, Apache would cut off the end of the file.
Known bugs
If you are using Apache with mod_security this will not work, you need to put the following in your .htaccess file to disable mod_security:
SecFilterEngine Off
SecFilterScanPOST Off
Disabling mod_security isnt allowed on some shared hosts, and only do this if you know what you are doing.
So editing the .htacces is what i will do next
What does "the request body was not properly constructed" mean?