Hi Mirto,<br><br>First off, there is a deliverance list where this email would be better served.  <br><br>I think your regex is fine.  If fact, I think you could get away will just doing &#39;&lt;proxy path=&quot;/base3&quot; ....&#39;.   I think your problem comes from the way you set up the virtual host monster url.  IIRC, if should be like this,<br>
 &lt;proxy path=&quot;regex:^/base3&quot; class=&quot;plone-msb-base&quot;&gt;<br>
   &lt;dest href=&quot;<a href="http://localhost:4180/VirtualHostBase/http/%7BHost%7D/VirtualHostRoot/base3/" target="_blank">http://localhost:4180/VirtualHostBase/http/{Host}/base3/VirtualHostRoot/</a>&quot; /&gt;<br>
 &lt;/proxy&gt;<br><br><br>Good luck,<br>Nathan Van Gheem<br><br><div class="gmail_quote">On Wed, Sep 30, 2009 at 11:06 AM, Mirto Silvio Busico <span dir="ltr">&lt;<a href="mailto:mirtosilvio.busico@fastwebnet.it">mirtosilvio.busico@fastwebnet.it</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
I&#39;m trying to use two plone sites behind deliverance.<br>
<br>
I&#39;m using regex in the path of the proxy directive, but it doesn&#39;t work as I expect. So I suppose that I&#39;m using it in the wrong mode.<br>
<br>
The plone sites live in &quot;<a href="http://locahost:4180/base3" target="_blank">http://locahost:4180/base3</a>&quot; and &quot;<a href="http://locahost:4180/intonso" target="_blank">http://locahost:4180/intonso</a>&quot;<br>

<br>
The deliverance (serving on port 4170) proxy statements are:<br>
<br>
 &lt;proxy path=&quot;regex:^/base3&quot; class=&quot;plone-msb-base&quot;&gt;<br>
   &lt;dest href=&quot;<a href="http://localhost:4180/VirtualHostBase/http/%7BHost%7D/VirtualHostRoot/base3/" target="_blank">http://localhost:4180/VirtualHostBase/http/{Host}/VirtualHostRoot/base3/</a>&quot; /&gt;<br>
 &lt;/proxy&gt;<br>
<br>
 &lt;proxy path=&quot;regex:^/intonso&quot; class=&quot;plone-msbtema1&quot; rewrite-links=&quot;1&quot;&gt;<br>
   &lt;dest href=&quot;<a href="http://localhost:4180/VirtualHostBase/http/%7BHost%7D/VirtualHostRoot/intonso/" target="_blank">http://localhost:4180/VirtualHostBase/http/{Host}/VirtualHostRoot/intonso/</a>&quot; /&gt;<br>

 &lt;/proxy&gt;<br>
<br>
And these are the results for the various links:<br>
<br>
<a href="http://localhost:4170/base3/" target="_blank">http://localhost:4170/base3/</a>               works correctly<br>
<a href="http://localhost:4170/base3/intonso" target="_blank">http://localhost:4170/base3/intonso</a>    ERROR goes to &quot;<a href="http://locahost:4180/intonso" target="_blank">http://locahost:4180/intonso</a>&quot; with base3 class: I expected a 404 page not found<br>

<a href="http://localhost:4170/intonso/" target="_blank">http://localhost:4170/intonso/</a>            works correctly<br>
<a href="http://localhost:4170/intonso/base3" target="_blank">http://localhost:4170/intonso/base3</a>   ERROR goes to &quot;<a href="http://locahost:4180/base3" target="_blank">http://locahost:4180/base3</a>&quot; with intonso class: I expected a 404 page not found<br>

<br>
In my mind &quot;regex:^/base3&quot; should mean: &quot;a path that starts with /base3&quot; so &quot;/base3/something&quot; matches and &quot;someting/base3&quot; doesn&#39;t match.<br>
If it is so, &quot;/base3/intonso&quot; should match the first rule and should be proxied to  &quot;<a href="http://locahost:4180/base3" target="_blank">http://locahost:4180/base3</a>&quot; that doesn&#39; have an &quot;intonso&quot; page.<br>

<br>
What I&#39;m doing wrong?<br>
<br>
Thanks<br><font color="#888888">
   Mirto<br>
<br>
<br>
<br>
</font><br>_______________________________________________<br>
Product-Developers mailing list<br>
<a href="mailto:Product-Developers@lists.plone.org">Product-Developers@lists.plone.org</a><br>
<a href="http://lists.plone.org/mailman/listinfo/product-developers" target="_blank">http://lists.plone.org/mailman/listinfo/product-developers</a><br>
<br></blockquote></div><br>