On 10/27/05, <b class="gmail_sendername">Chris Withers</b> &lt;<a href="mailto:chris@simplistix.co.uk">chris@simplistix.co.uk</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Gary wrote:<br>&gt; How do I stop acquisition at the root of my website?<br>&gt; If I have two websites in zope, and I set the virtual host mapping to<br>&gt; <a href="http://www.sitea.com/websites/SiteA">www.sitea.com/websites/SiteA
</a> &lt;<a href="http://www.sitea.com/websites/SiteA">http://www.sitea.com/websites/SiteA</a>&gt;<br>&gt; <a href="http://www.siteb.com/websites/SiteB">www.siteb.com/websites/SiteB</a> &lt;<a href="http://www.siteb.com/websites/SiteB">
http://www.siteb.com/websites/SiteB</a>&gt;<br>&gt;<br>&gt; I don't want my users to get to SiteB from <a href="http://www.sitea.com/SiteB">http://www.sitea.com/SiteB</a><br><br>Why not? How would they find a URL like that?
<br><br>You can't do anything from the Zope side to stop this.<br>An Apache rewrite rule maybe? You'll need ot be clever mind...<br><br><a href="http://www.sitea.com/somefolder/somesubfolder/SiteB/somesitebfolder/etc">http://www.sitea.com/somefolder/somesubfolder/SiteB/somesitebfolder/etc
</a><br><br>...will still work.<br><br>Best bet? Don't sweat it, onyl worry about it if it really proves to be<br>a problem ,which it shouldn't be...<br><br>cheers,<br><br>Chris<br><br>PS: There's always Zope 3 ;-)<br><br>
</blockquote></div><br>
Thanks Chris,<br>
<br>
I don't know how the URL got out.&nbsp; But the web-bots are having so
much fun with my website right now.&nbsp; :(&nbsp;&nbsp;&nbsp;&nbsp;
They are indexing everything for the wrong virtual host.&nbsp; Maybe
robot.txt will stop them.<br>
<br>
--<br>
Gary<br>