Hello,<br><br>I am currently trying to get a deployment ready in an attempt to migrate my wiki from apache to nginx and php-fpm. Things have gone pretty smoothly so far, but I am having a real problem with rewrite rules. Here is what is currently in my apache config for a rewrite:<br>
<br>&lt;Directory &quot;/var/www/ws/wiki&quot;&gt;<br>RewriteEngine On<br>RewriteCond %{REQUEST_FILENAME} !-f<br>RewriteCond %{REQUEST_FILENAME} !-d<br>RewriteRule ^(.*)$ /index.php?title=$1 [PT,L,QSA]<br>RewriteRule ^(images|skins)\/(.*)$ <a href="http://images.testsite.com/$1/$2">http://images.testsite.com/$1/$2</a> [L]<br>
&lt;/Directory&gt;<br><br>I have tried adding this a couple of different ways into the nginx config file but it isn&#39;t working. Can someone give me a hand with this? Also, where can I find docs on the rewrite functionality within nginx?<br>
<br>I appreciate any and all help,<br><br>Andrew<br><br>