1 (edited by boneheade 2005-05-10 17:30)

Topic: 403 error when moving a topic

I keep getting a 403 error when I try to move a topic. Then if I go to the index, I continue to get a 403. I have to clear cache and cookies to get back to the site.

This is what's in my error log:

[Mon May  9 14:48:08 2005] [error] [client 63.16.76.65] client denied by server configuration: /home/rav/public_html/forum/moderate.php

But I haven't banned myslef or anything, I'm confused.

Re: 403 error when moving a topic

Probably an Apache problem (mod_proxy or something). Google for the error message and you'll find lots of discussions on the subject.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: 403 error when moving a topic

Well it's not my htaccess file because one of the first things I tried was a blank one. Is this a server issue or a punbb issue? Can anyone else offer up some more suggestions?

Re: 403 error when moving a topic

It's a server issue. Are you using mod_proxy?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: 403 error when moving a topic

I found what seems to be causing in issue in my htaccess. It's this:

# kill referral spam
SetEnvIfNoCase Referer ".*(blackjack|buy|card|cards|cash|casino|casinos|chat|cheat|cialis|credit|debt|diet|doobu|finance|financing|gambling|gaming|hold|holdem|info|insurance|interest|learnhowtoplay|levitra|loan|mortgage|nude|payday|pics|pills|phentermine|poker|porn|prozac|rates|reductil|refinance|roulette|sex|slot|tecrep|valium|viagra|video|vinhas|wsop|xanax|xxx|yelucie).*" goodbye
<Files *>
order deny,allow
deny from env=goodbye
</Files>

I don't understand why that would be causing an issue. It's only happening when I want to move a topic.

Re: 403 error when moving a topic

put a # before SetEnvIfNoCase and try

also it could well have nothing to do with .htaccess, it could be to do with the main apache config, why don't you just contact your host?

Re: 403 error when moving a topic

Does your website URL contain any of the words on the SetEnvIfNoCase line?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: 403 error when moving a topic

Connorhd wrote:

put a # before SetEnvIfNoCase and try

also it could well have nothing to do with .htaccess, it could be to do with the main apache config, why don't you just contact your host?

I am the host.

Putting the # in front worked.

Re: 403 error when moving a topic

lol k then thats the problem wink