<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Gary wrote:
<blockquote
 cite="mid288aff20510271135g7a7ac973p2cc2c6ad74d8c381@mail.gmail.com"
 type="cite">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>
  <pre wrap="">
<hr size="4" width="90%"></pre>
</blockquote>
Gary,<br>
Are these anonymous access sites?&nbsp; If not then where are your users
defined?&nbsp; BTW, im curious - how does Zope 3 otherwise solve this?<br>
David<br>
<br>
<br>
<br>
</body>
</html>