Can't add specific text to content SOLVED!!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

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

Post 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]
Last edited by Heiko H. on Tue 21. Oct 2008, 10:25, edited 1 time in total.
Not longer here - sorry...

Haubner-IT GbR Dresden
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

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

Post 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
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

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

Post 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.
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

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

Post 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
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

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

Post 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...
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

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

Post 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
Post Reply