Two GET methods in .htaccess

Posted by Wayne on Stack Overflow See other posts from Stack Overflow or by Wayne
Published on 2010-04-02T23:37:50Z Indexed on 2010/04/02 23:43 UTC
Read the original article Hit count: 283

Filed under:
|
|

What way it is to be to get two GET methods in the URL by htaccess?

RewriteRule ^adm/(.*)$ adm.php?mode=$1

I've used that for the example URL:

http://www.domain.com/adm/thismode

Now I want to get two methods like:

http://www.domain.com/adm/thismode/othermode

I've tried this:

RewriteRule ^adm/(.*)$/(.*)$ adm.php?mode=$1&othermode=$2

But doesn't seem to work... how do I get it to do that?

© Stack Overflow or respective owner

Related posts about htaccess

Related posts about get