Topic: Can not post the word "print"

I recieve the following if I try and post a message with the word "print" in it.

Forbidden

You don't have permission to access /msgboard/post.php on this server.

I have absolutely no clue what the heck this could be.

Re: Can not post the word "print"

This is my environment:
PunBB version
    PunBB 1.2.12 - Check for upgrade

Environment
    Operating system: Linux
    PHP: 5.1.1 - Show info
    Accelerator: N/A
Database
    MySQL 4.1.18-standard
    Rows: 8575
    Size: 579.79 KB

Re: Can not post the word "print"

Check if the file's permissions are correct.

Or can you use other text in posts?

4 (edited by saltcreep 2006-09-07 18:49)

Re: Can not post the word "print"

Posting and replying is no problem, its just that word that i can not use.
If the message has the word print anywhere in it , I get the forbidden message.

Re: Can not post the word "print"

Have you installed any .htaccess spam protection?

Re: Can not post the word "print"

Or does your host run mod_security?

Re: Can not post the word "print"

I managed to locate my log files, and looking in the error_log, this is what I see.. So I am guessing this is a mod_security issue.   No idea how to address this, but I'll research it.


[Thu Sep 07 21:58:39 2006] [error] [client 12.214.55.62] mod_security: Access denied with code 403. Pattern match "(debug|configdir|perl|chmod|exec|print|cgi)" at POST_PAYLOAD [severity "EMERGENCY"] [hostname "www.southalabamadogowners.com"] [uri "/msgboard/post.php?tid=44"]

Re: Can not post the word "print"

Yup, mod_security rule, talk to your host wink