Hello,<br><br>We are evaluating migrating to nginx from apache2 with mod_rewrite.  Currently we have something like this in apache2 .htaccess:<br><br>RewriteRule ^(.*)$ - [CO=%1:%2:.<a href="http://ourdomain.com">ourdomain.com</a>,R=301]<br>
RewriteRule (.*) $1? [R=301,L]<br><br>Is there any possible way that nginx with its modules can do something similar?  Yes i do understand that html and php this can be done but we are looking for a way to do it within the webserver before it actually reaches a file.<br>
<br>Thank you<br><br>David<br><br><br>