Author |
|
V4g_Br4Ck3r Newbie
Joined: 14 October 2011 Location: Brazil
Online Status: Offline Posts: 7
|
Posted: 14 October 2011 at 5:44am | IP Logged
|
|
|
Hello,
First excuse my English, I am Brazilian and not use both the English language! However my company will start using WebMail Pro (php) and the attachment system is not working!
When I put the attachment should see the "Success" and be attached to the color type "Active". However this message does not appear and the color is attached to "Off" (Disabled). And the attachments are not sent.
I know the problem is the upload. Files are not going!
The following information that will help:
php.ini:
max_execution_time 30
max_file_uploads 50
post_max_size 15M
upload_max_filesize 20M
WebMail: Pro (latest version in php)!
Linux 2.6.18-6-686
PHP Version 5.2.6-1 lenny13
When I send a file in the Apache error log it appears:
"[Thu Oct 13 10:49:08 2011] [error] [client 189.72.78.34] ModSecurity: Access denied with code 501 (phase 2). Match of" rx (?:^(?: application \ \ \ \ / x-www-form-
against "REQUEST_HEADERS: Content-Type" required. [file
"/ var/lib/modsecurity/modsecurity_crs_30_http_policy.conf"] [line "69"] [id "960010"] [msg "Request content type is not allowed by policy"] [severity
"WARNING"] [tag "POLICY / ENCODING_NOT_ALLOWED"] [hostname "nameofserver.com.br"] [uri "/ test / fileuploader.php"] [unique_id
"TpbsVH8AAAEAACoTQYEAAAAm"] "
The permissions of the folders (chmod):
date: 777
Date / time: 755
date / temp / files: 644
settings: 755
convert: 755
logs: 755
plugins: 755
Anyone know how to fix?
Should I change something in ModPolicy Apache or something should be changed in WebMail?
Thanks in advance!
|
Back to Top |
|
|
Blaze_VibeSN Newbie
Joined: 14 October 2011 Location: United Kingdom
Online Status: Offline Posts: 4
|
Posted: 14 October 2011 at 6:25am | IP Logged
|
|
|
Hi There!
SSH into your server and edit the file: /var/lib/modsecurity/modsecurity_crs_30_http_policy.conf and comment out line 69.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 October 2011 at 11:34pm | IP Logged
|
|
|
Indeed, that sounds like a problem with mod_security extension: some web request sent by WebMail Pro was in violation of security rules set for your server. Revising those rules is suggested.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
V4g_Br4Ck3r Newbie
Joined: 14 October 2011 Location: Brazil
Online Status: Offline Posts: 7
|
Posted: 17 October 2011 at 3:28am | IP Logged
|
|
|
Thank you for your attention Blaze_VibeSN and Igor!
I commented the line 69 and the system is working perfectly!
|
Back to Top |
|
|