Page 3 of 3

Re: Can't add specific text to content SOLVED!!

Posted: Tue 21. Oct 2008, 10:22
by Heiko H.
it is like the error_log says:
tester wrote:[Tue Oct 21 09:45:01 2008] [error] [client 90.185.18.91] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(http:\\/.*?){4}" at ARGS:chtml. [file "/etc/httpd/modsecurity/modsecurity_crs_42_comment_spam.conf"] [line "29"] [id "950020"] [msg "Comment Spam"] [severity "ERROR"] [hostname "www.team-island.dk"] [uri "/phpwcms.php"] [unique_id "m-AtqcHJIyoAAHf-IBwAAAAM"]
please try the following: add to your .htaccess

Code: Select all

<IfModule mod_security2.c>
SecRuleRemoveByID 950020
</IfModule>
Good luck, Heiko...

[EDIT]
Did you type "SOLVED!!" to the topic? Fine! :D
Please post the solution... THX
[/EDIT]

Re: Can't add specific text to content SOLVED!!

Posted: Tue 21. Oct 2008, 10:23
by tester
Finally solved.

The firewall at my webhotel does not accept posts with more than four links by default.
It is a way to stop spammers who only post links to get higher rankings at Google - my provider told.

They have changed it for my site now :D

Thanx to all of you for your kind help :D :D :D

Re: Can't add specific text to content SOLVED!!

Posted: Tue 21. Oct 2008, 10:32
by Heiko H.
tester wrote:The firewall at my webhotel does not accept posts with more than four links by default.
It is not really a behavior of your firewall, but from Module "ModSecurity" in your Apache...
Anyway, good to hear that you have found a solution...

Heiko.

Re: Can't add specific text to content SOLVED!!

Posted: Tue 21. Oct 2008, 10:42
by marcus@localhorst
wow, that's really witchcraft, but cool you found out!
So my first idea about Bad Behaviour Spamblocking was not so far away - even if it was not really the cause.
greetings marcus

Re: Can't add specific text to content SOLVED!!

Posted: Tue 21. Oct 2008, 10:47
by Heiko H.
marcus@localhorst wrote:wow, that's really witchcraft
NO! You only have to know, where to find what happend -> logfiles are your friend... :wink:

Heiko...

Re: Can't add specific text to content SOLVED!!

Posted: Tue 21. Oct 2008, 11:03
by marcus@localhorst
Heiko H. wrote:
marcus@localhorst wrote:wow, that's really witchcraft
NO! You only have to know, where to find what happend -> logfiles are your friend... :wink:
sure you are right!! professionals or maybe semi professionals know the processes and how to resolve or find the root of those problems, but the end-user who is able to install such software, but have no idea about server processes would go crazy I think and sometimes it's not logical what happen (on the first view).
cheers marcus