httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Lynch" <>
Subject [users@httpd] RewriteRule oddity
Date Tue, 12 Dec 2006 01:31:52 GMT
I have a RewriteRule that works on all but one (1) input where I would
expect it to work.

Here is the site (currently very ugly, but functional):

The example redirect links all work.

If you try it with '2' the re-direct behaves as expected:

However, for some reason beyond my ken, using '1' does NOT redirect:

The rewrite rule is not all that tricky:
RewriteRule ^([0-9()-]+)([0-9()a-zA-Z-]*)$ /index.php?number=$1$2 [R,L]

Why would '2' match that rule, but '1' would not?

It's POSSIBLE that (the webhosts at the moment) have done
something with their rewrite rules and ErrorDocument, which I can't
even see much less edit.

doesn't do their 404 lookup either.

So, like, that almost for sure proves that their rules are at fault,

I can't turn RewriteLogLevel on in .htaccess, so can't really debug
this very easily :-(
I get 500 Internal Server Error trying to do that.

We'll probably move this over to a racked server so the issue may
resolve itself once we are free of, but I wanted to confirm
my thinking more than anything, since I'm not a mod_rewrite guru by
any means.

Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
Yeah, I get a buck. So?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message