Re: [Zope] question about stopping acquisition in VHM sites?
Gary wrote: 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. Ah yes, a rewrite rule in your front end server should fix this, robots.txt _should_ help but likely won't ;-) Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] question about stopping acquisition in VHM sites?
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 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 ...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 ;-) -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] question about stopping acquisition in VHM sites?
On 10/27/05, Chris Withers [EMAIL PROTECTED] 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 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/SiteBWhy 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 ...will still work.Best bet? Don't sweat it, onyl worry about it if it really proves to bea problem ,which it shouldn't be...cheers,ChrisPS: 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 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] question about stopping acquisition in VHM sites?
Gary wrote: On 10/27/05, Chris Withers [EMAIL PROTECTED] 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 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 ...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 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] question about stopping acquisition in VHM sites?
On 10/27/05, David H [EMAIL PROTECTED] wrote: Gary wrote: On 10/27/05, Chris Withers [EMAIL PROTECTED] 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 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 ...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 Yes David, it's anonymous access. -- Gary ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] question about stopping acquisition in VHM sites?
Gary wrote: Hi, 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 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 I am using Zope 2.7 You can create in each site an empty Python script or something named like the other site(s). This is not the best solution in the world, since if you have more than a handful of sites, you get a combinatorial explosion. But, it will work. Perhaps someone who is bothered by this problem and has time will do some magic in VHM (or a new type of object) to stop such traversals. --jcc -- Building Websites with Plone http://plonebook.packtpub.com/ Enfold Systems, LLC http://www.enfoldsystems.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )