Hi Steve,

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

should do it.

Reagards,
Gabriel


                                                                           
             Steve Finkelstein                                             
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                       users@httpd.apache.org              
             20/06/2007 06:03                                           cc 
             PM                                                            
                                                                   Subject 
                                       [EMAIL PROTECTED] mod_rewrite inquiry   
             Please respond to                                             
             [EMAIL PROTECTED]                                             
                   e.org                                                   
                                                                           
                                                                           
                                                                           




Hi all,

I have a URL that looks like the following:

http://foo/confirm/[EMAIL PROTECTED]/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/[EMAIL PROTECTED]&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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to