[Zope] Zope and IIS
James W. Howe
jwh@allencreek.com
Wed, 09 Feb 2000 12:35:14 -0500
I'm trying to get my Zope installation to work with IIS. I've read various
items from the mailing lists and I've read the how-to's and I still can't
get it to work correctly. The closest I've come is getting the Zope
welcome screen. I've never been able to see any contents of my site.
I think I've followed the process correctly.
1. I have a zope.pcgi file in my IIS scripts directory.
2. I have the pcgi-wrapper.exe file in this directory as well.
3. I've configured IIS to have a mapping between .pcgi and pcgi-wrapper.exe
4. I've reconfigured my zope startup to include a -p
c:\inetpub\scripts\zope.pcgi parameter
5. I've modified by access file to just be of the following format:
<domain>/<userid>:
The domain is uppercase and the userid is how it was defined in the user
manager.
6. I've set the permissions on the zope.pcgi file to disable anonymous but
activated basic and challenge/response.
7. I've restarted Zope and IIS (several times)
When I try to use access my site with http://foo.com/scripts/zope.pcgi I am
prompted for a password, but I never authenticate. I eventually get a "You
are not authorized to access this resource" traceback page (fails at line
551 in HTTPResponse.py)
What am I missing? How can I debug this configuration?
Assuming that I can make this work, I have a couple other configuration
questions:
1. Is there a way to make a particular folder in Zope the default page for
my web site? I want people to be able to go to http://foo.com and have
that really access something like http://foo.com/RootName/StartingPoint.
2. How do you configure access to this site? I want to provide my customer
with limited access to particular folders. Do they need to have an account
in the NT Domain on which the server is running? If I want anybody to be
able to access certain portions of the site for viewing only how do I
configure Zope and IIS? In other words, I want to have one or more users
with some sort of content control capability, but everyone else just sees a
web site (no folders, no knowledge that this is Zope). I'm pretty sure I
know how to do this if I just use ZServer, but I'm not sure what I need to
do to configure this for IIS.
I'm going out on a limb recommending that my company user Zope for a
potentially key customer. I'm confident that the environment itself will
support the customers needs, but I need to be able to show that the system
can actually work in a production environment.
Thanks for any and all help.
James W. Howe mailto:jwh@allencreek.com
Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html
Ann Arbor, MI 48103