Strange bug: 404 when posting certain word combinations

Started by 4dd1ct, January 20, 2005, 01:50:04 PM

Previous topic - Next topic

4dd1ct

I'm using the latest version of SMF with mod_rewrite on to make the urls more friendly.

If people post certain word combinations, they're taken to a 404 and the post isn't made.

So far people on my forum have come up with the following words that will cause a 404:

"jheri curl" followed by any other word on the same line
"echo" followed by any other word

Any ideas what might be happening here? I thought with the echo one it might be a security thing but "jheri curl" ? Does SMF have something against 80s hair styles? ;)

Oldiesmann

"Curl" is a PHP library - http://www.php.net/curl

That mod_rewrite thing might be what's killing it. What browser are you using when this happens?

4dd1ct

Ah indeed it is curl rather than jheri curl ;)

It's cross browser - I use firefox but most people on the site in question use IE.

I thought the rewriting worth mentioning as I initially thought it might be what was causing the error, however I turned it off and this still happens, so I guess it is a general forum thing.

An example URL after posting one of the words which leads to a 404:

board/index.php?action=post2;start=0;board=16

Looks pretty standard to me, so I guess it is some kind of security setting.

Ben_S

Looks like some dodgy mod_security (or similar) rules, suggest you ask your host to disable it as they are effectively preventing you running a forum with it.
Liverpool FC Forum with 14 million+ posts.

jdougher

Which version has mod_rewrite bilt in?

Quote from: 4dd1ct on January 20, 2005, 01:50:04 PM
I'm using the latest version of SMF with mod_rewrite on to make the urls more friendly.

If people post certain word combinations, they're taken to a 404 and the post isn't made.

So far people on my forum have come up with the following words that will cause a 404:

"jheri curl" followed by any other word on the same line
"echo" followed by any other word

Any ideas what might be happening here? I thought with the echo one it might be a security thing but "jheri curl" ? Does SMF have something against 80s hair styles? ;)


Advertisement: