[Zope] Zope is slow on a windows 2000 server

2000-08-07 Thread Meeting Maker Webmaster

Hello,

I've been using Zope on a Linux box without any problem this last month. I 
now have to move the Zope server to it's final location, which is a Windows 
2000 server (it's not my choice ;-(

I am trying to get the user authenticated based on his IP address to allow 
everybody on the subnet we are here to access the Zope server, but not 
other IPs. This works fine except it is really slow (about 5 seconds to go 
to an object to start downloading). I've tried it on a clean Win2k box to 
check if I had a problem with my configuration, but it didn't change anything.

Here are the basic operations I did. First create a local role "test" in / 
that has the same authorization as anonymous. Then disable any 
authorization for this Anonymous user. Create a user in acl_user which 
don't have a password but has a domain entry 192.168.0.* and the role 
"test". Now when I connect from the 192.168.0. subnet, I have access to the 
Zope server, but it is very slow to answer. When I add a user that has to 
log in (password instead of IP check), it goes much faster.

I am using Zope 2.2.0 with the built-in Medusa web server.

As I am with the Win2000 questions, is there a way to configure IIS to 
behave like Apache an the rewrite rules?

Thank you for your help.

Best regards,

Gérard Métrailler Jr.

Meeting Maker Inc.
... the intelligent choice for collaborative scheduling

Email: [EMAIL PROTECTED]
Web: http://www.meetingmaker.com


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Zope is slow on a windows 2000 server

2000-08-07 Thread Meeting Maker Webmaster

Hello again,

At 15:20 07.08.2000 +, Meeting Maker Webmaster wrote:
I am trying to get the user authenticated based on his IP address to allow
everybody on the subnet we are here to access the Zope server, but not
other IPs. This works fine except it is really slow (about 5 seconds to go
to an object to start downloading). I've tried it on a clean Win2k box to
check if I had a problem with my configuration, but it didn't change
anything.

OK, so let's answer my own email in case somebody comes into the same 
problem one day.

I changed my configuration to use IIS instead of Medusa of the front end. 
Since then, everything is fine. Now instead of using my.server.com:8080/ , 
I simply use my.server.com/zope.cgi/. I simply followed the excellent 
How-to available under http://www.zope.org/Members/brianh/iis_howto. I only 
had a few problems for the authentication. To be able to use Zope for the 
authentication, make sure you allow Anonymous login and that you set all 
the "Custom Errors" of IIS to default. Else you won't be able to log into 
Zope management screen for example ;-)

As I am with the Win2000 questions, is there a way to configure IIS to
behave like Apache an the rewrite rules?

This is still an open question.

By the way, a very interesting site about IIS configuration is 
http://www.iisfaq.com ;-)

Best regards,

Gérard Métrailler Jr.

Meeting Maker Inc.
... the intelligent choice for collaborative scheduling

Email: [EMAIL PROTECTED]
Web: http://www.meetingmaker.com


___
Zope maillist  -  [EMAIL PROTECTED]
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 )