<tt><font size=2>&gt; You first need to understand how Domino is producing
those URLs <br>
&gt; before you can even think of doing a mapping in Nginx.<br>
&gt; <br>
&gt; Domino in general works with:<br>
&gt; * UNID (Universal ID. Should be unique in a Domino domain)<br>
&gt; * NoteID (should be unique per database)<br>
&gt; * Replication ID (should be unique per Domino domain)<br>
&gt; <br>
&gt; Domino has many ways to represent a URL for the same thing. For example:<br>
&gt; * </font></tt><a href=http://www.isku.lt/IskuASP/interiorweb.nsf?OpenDataBase><tt><font size=2>http://www.isku.lt/IskuASP/interiorweb.nsf?OpenDataBase</font></tt></a><tt><font size=2><br>
&gt; * </font></tt><a href=http://www.isku.lt/IskuASP/interiorweb?OpenDataBase><tt><font size=2>http://www.isku.lt/IskuASP/interiorweb?OpenDataBase</font></tt></a><tt><font size=2><br>
&gt; * </font></tt><a href=http://www.isku.lt/IskuASP/><tt><font size=2>http://www.isku.lt/IskuASP/</font></tt></a><tt><font size=2>&lt;replication
id&gt;?OpenDataBase<br>
&gt; * </font></tt><a href=http://www.isku.lt/><tt><font size=2>http://www.isku.lt/</font></tt></a><tt><font size=2>&lt;replication
id&gt;?OpenDataBase<br>
&gt; <br>
&gt; All the above could open the same database.<br>
&gt; <br>
&gt; Then after the database you can address many different things:<br>
&gt; &lt;database&gt;/&lt;view|document|page|folder|outline|frameset|agent|<br>
&gt; webservice|xpages|image resource|file resource|Lotuscript library|<br>
&gt; Javascript library|etc&gt;?&lt;action&gt;<br>
&gt; <br>
&gt; And most of those things after the database can be either a name <br>
&gt; (like &quot;sp&quot; in your case) or a UNID or an alias or or or...<br>
&gt; <br>
&gt; You can off course write mappings for that. But your customer needs
<br>
&gt; to tell you what needs to be mapped to what. Your customer can <br>
&gt; impossibly expect you to know all the combinations. He is the one
<br>
&gt; who needs to tell you what to do. After you have that list, writing
<br>
&gt; the rewrites in Nginx is easy.<br>
&gt; // Steve</font></tt>
<br>
<br><tt><font size=2>In this case i dont need to map those different types
but those i copied, they are actual URL that web site produces in certain
situation, eg. link in the site that needs to go to new site. But as they
are URL args in nature and contains special characters etc, like spaces,
/ or \ chars, etc. i wonder how in actually rewrite those URLs in nginx,
its kinda difficult because most part of URL is arguments. <br>
</font></tt>
<br><font size=2 face="sans-serif">Terveisin/Regards,<br>
 &nbsp; Pekka Panula, Sofor Oy - Jatkuvat palvelut<br>
</font>