httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Finkelstein ...@stevefink.net>
Subject [users@httpd] mod_rewrite inquiry
Date Wed, 20 Jun 2007 22:03:00 GMT
Hi all,

I have a URL that looks like the following:

http://foo/confirm/foo@bar.com/6w5vdn799umk01k5aaz0col.html

I'm trying to have it rewrite to the following:

RewriteEngine On
RewriteRule
^confirm/([^/]*)/([^/]*)\.html$confirm.php?lmusr=$1&lmconfrm=$2 [R,L]

so that the end result looks like:

http://foo/confirm.php?lmuser=foo@bar.com&lmconfrm=6w5vdn799umk01k5aaz0col

Any help with my syntax would be greatly appreciated.

Thanks!

- sf

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message