# How to converte this apache rewrite?

**URL:** <https://www.ruby-forum.com/t/how-to-converte-this-apache-rewrite/222225>\
**Category:** NGINX\
**Created:** [August 17, 2012, 11:39pm UTC](https://www.ruby-forum.com/t/how-to-converte-this-apache-rewrite/222225 "2012-08-17T23:39:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 17, 2012, 11:39pm UTC](https://www.ruby-forum.com/t/how-to-converte-this-apache-rewrite/222225/1 "2012-08-17T23:39:53Z")

</div>

Hi,

How would I convert this

RewriteEngine on  
RewriteRule /Microsoft-Server-ActiveSync(.\*)  
/path/to/your/tine20\_installation/index.php$1  
[E=REDIRECT\_ACTIVESYNC:true,E=REMOTE\_USER:%{HTTP:Authorization}]

To a nginx server definition?

Thanks for any hints.

Sincerely, Joh
