mod_rewrite troubles

New to mod_rewrite? This is a good place to start.

Postby Guest » Tue Jun 25, 2002 9:04 pm

Hi there!

I'm sure this question has been asked and answered a million times, but I've spent a couple hours searching already without luck!

I'm trying to rewrite:
/go/this/that/ (w/ and w/o trailing slash) to /browse.php?1=$1&2=$2


/go/this/ (w/ and w/o trailing slash)
to /index.php?1=$1

And the other condition is that I want 'this' and 'that' to contain both alphanumeric characters, as well as dashes (-) and underscores (_).

My results are bits of pieces of all these conditions, but none of them ever cooperate and work together. Can I have some help?

Thank so much!


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 5 guests