| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) | ||
|
Registered User
Fresh Surpasser
Joined in Jul 2005
8 posts
Gave thanks: 4
Thanked 0 times
|
PHPBB 403 error on string combination?
Hopefully this is the write topic since this concerns a PHP-MySQL based message board.
Yesterday, I installed PHPBB2 at Good Night Moon RPG :: Index via Fantastico. On certain string combinations, posting replies generates 403 errors. This looks to be a mod_security problem to protect Apache. Here is the text we're posting: Quote:
Quote:
Last edited by evileyes45; March 11th, 2008 at 1:18 PM. |
||
|
|
|
|
|
#2 (permalink) |
|
Surpass Developer
On a golden path...
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
463 posts
Gave thanks: 15
Thanked 75 times
|
Yes it is definitely mod_security. You can turn it off by creating an .htaccess file in the forum directory and adding the following lines:
Code:
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
__________________
Mark Surpass Hosting Developer sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ |
|
|
|
| This user thanks Mark for this great post! | evileyes45 (March 11th, 2008) |
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Jul 2005
8 posts
Gave thanks: 4
Thanked 0 times
|
Hm, I figured. Embarassing question but where is my htaccess file? I searched for it but found none. Maybe I'm looking for the wrong filename.
Thanks for getting back to me so quickly! Out of curiosity, what word(s) in the above set it off? Are there alternate solutions to cover the holes? Would validating my members be decent enough? We're only a small group anyways with no plans to expand. Last edited by evileyes45; March 11th, 2008 at 1:48 PM. |
|
|
|
|
|
#4 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,651 posts
Gave thanks: 81
Thanked 128 times
|
check for it in your public_html folder and also the folder where the forum is located. If not there, try checking in the folder BEFORE click on public_html.
|
|
|
|
| This user thanks Roxy for this great post! | evileyes45 (March 11th, 2008) |
|
|
#5 (permalink) |
|
Surpass Developer
On a golden path...
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
463 posts
Gave thanks: 15
Thanked 75 times
|
You can create one and upload it through ftp, or create it in the cpanel file manager. It just needs to be named .htaccess with the period in front
![]()
__________________
Mark Surpass Hosting Developer sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ |
|
|
|
| This user thanks Mark for this great post! | evileyes45 (March 11th, 2008) |
|
|
#8 (permalink) |
|
Race Surpass
Super #1
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,218 posts
Gave thanks: 18
Thanked 86 times
|
If you want, you can try using just this:
Code:
<IfModule mod_security.c> SecFilterScanPOST Off </IfModule>
__________________
|
|
|
|
| This user thanks MarkRH for this great post! | evileyes45 (March 12th, 2008) |