Hopefully simple mod_rewrite problem....

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

Hopefully simple mod_rewrite problem....

Postby dankohn » Tue May 25, 2004 3:51 pm

Hi,

I'm brand new to mod_rewrite, and I think my problem is simple. I want to do the following:

The URL the user clicks on:


http://www.dansdomain.com/rd/click?bfmi ... pid=691178


and gets redirected to:

http://www.redirected.com/cgi-bin/click ... pid=691178

So I'm rewriting anything that gets sent to the "rd" directory of my host to "http://www.redirected.com/cgi-bin/". I have many virtual hosts on my server, and I'd actually like the solution to work across all of them, is that possible?

Any help would be greatly appreciated!
dankohn
 
Posts: 1
Joined: Tue May 25, 2004 3:48 pm

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 30 guests

cron