Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i need to redirect


where :id, :name and :domain are variables. any advice on this?


share|improve this question
up vote 1 down vote accepted

You can just append the end of the first url like this:

rewrite ^/verify/(.*)$$1

you can of course do a more complicated rewrite like this

rewrite ^/verify/(.*)/(.*)/(.*)$$1/$2/$3

This makes it possible to change the order of the three variables

share|improve this answer
thanks, works great! – Tronic Dec 13 '12 at 6:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.