AccessRules are not designed to return page content. look at: http://www.zope.org/Members/4am/SiteAccess2/otheruse I posted a ZServer solution to this list just last night that shows an alternative way. http://zope.nipltd.com/public/lists/zope-archive.nsf/Main/E81DE647DC4E568680 256A17001B4FCF?OpenDocument&mode=subject&topic=[Zope]VirtualHostingconfigura tionforZope
-----Original Message----- From: Anton A. Zotov [mailto:futurb@nh.km.ua] Sent: Thursday, March 22, 2001 11:52 AM To: zope@zope.org Subject: [Zope] Access Rule won't work !? Zope 2.3.1b2
Help needed. Can't get how to handle virtual hosting :-( I do the next: 1) Create in the root folder of the Zope Python script (dtml methods won't work either) with the name 'dns_handler'.(It contains only return "I'm ruling !!!!!!!") 2) Set Access Rule with id 'dns_handler' 3) Make a request to root folder (e.g. 'http://localhost:8080/') and... finally I get my index_html dtml-page located also in the root folder. Deleting index_html doesn't help :-) (just preventing such Gotchas)
Would anybody tell me what to do. I would also appreciate somebody explaining me what are all those SiteRoots & Virtual hosts monsters all about ??? How to apply them at all ? I'm facing great lack of documentation on the topic. help. Help ! HELP !!!!!!!
Thanx in advance for my salvation.
Anton.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )