[Zope] question about stopping acquisition in VHM sites?

David H bluepaul at earthlink.net
Thu Oct 27 15:38:17 EDT 2005


Gary wrote:

> On 10/27/05, *Chris Withers* <chris at simplistix.co.uk 
> <mailto:chris at simplistix.co.uk>> wrote:
>
>     Gary wrote:
>     > How do I stop acquisition at the root of my website?
>     > If I have two websites in zope, and I set the virtual host
>     mapping to
>     > www.sitea.com/websites/SiteA
>     <http://www.sitea.com/websites/SiteA>
>     <http://www.sitea.com/websites/SiteA>
>     > www.siteb.com/websites/SiteB
>     <http://www.siteb.com/websites/SiteB> <
>     http://www.siteb.com/websites/SiteB>
>     >
>     > I don't want my users to get to SiteB from
>     http://www.sitea.com/SiteB
>
>     Why not? How would they find a URL like that?
>
>     You can't do anything from the Zope side to stop this.
>     An Apache rewrite rule maybe? You'll need ot be clever mind...
>
>     http://www.sitea.com/somefolder/somesubfolder/SiteB/somesitebfolder/etc
>     <http://www.sitea.com/somefolder/somesubfolder/SiteB/somesitebfolder/etc>
>
>     ...will still work.
>
>     Best bet? Don't sweat it, onyl worry about it if it really proves
>     to be
>     a problem ,which it shouldn't be...
>
>     cheers,
>
>     Chris
>
>     PS: There's always Zope 3 ;-)
>
>
> Thanks Chris,
>
> I don't know how the URL got out.  But the web-bots are having so much 
> fun with my website right now.  :(     They are indexing everything 
> for the wrong virtual host.  Maybe robot.txt will stop them.
>
> --
> Gary
>
>------------------------------------------------------------------------
>
Gary,
Are these anonymous access sites?  If not then where are your users 
defined?  BTW, im curious - how does Zope 3 otherwise solve this?
David



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20051027/d6cf1b28/attachment.htm


More information about the Zope mailing list