Re: [Zope] VirtualHost 403 Forbidden. Help!!

2006-09-22 Thread Chris Withers

Ferhat Ayaz wrote:

I'm now able to access the server. with allowing
access from all IPs. But is this the regular way to do
VirtualHosting with Zope??
Here the solution (!?)


Allow from all



You really better asking these questions on #apache on irc.freenode.net 
as they have nothing to do with Zope.


cheers,

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] Problem with running same script at a time

2006-09-22 Thread Chris Withers

Pletli Antal wrote:

When I move the second script into other outer folder, all is OK.

It is very strange, and I'v never read from this problem before.


Eh? You've never heard of a blocking problem before?

You're creating a blocking loop, which you seem to have now fixed... 
nothing odd about that...


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 )


[Zope] zope hosting

2006-09-22 Thread David H

Hi everyone,

My understanding is that Zettai is closing down.  Bummer cause I have 
been using them.


Just looking for Zope Host recommendations

All best,

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] zope hosting

2006-09-22 Thread Philip Kilner
Hi David,

David H wrote:
> My understanding is that Zettai is closing down.  Bummer cause I have
> been using them.
> 
> Just looking for Zope Host recommendations
> 

I've moved to HSR from Zettai, and am very happy.

I did the migration myself, as I wanted to do it step by step, but: -

http://highspeedrails.com/Weblog/archive/2006/09/06/free-migrations-for-zettai-customers

HTH

-- 

Regards,

PhilK

"someone who experiments with the limitations of systems for
intellectual curiosity"
___
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] Problem with running same script at a time

2006-09-22 Thread Dieter Maurer
Pletli Antal wrote at 2006-9-22 08:51 +0200:
> ...
>I have a demo user folder in my Zope project with two scripts. The first
>script sends a tcp message to the background (with the help of external
>module), the second one do something when the background call it via
>url.

The problem is your setup.

I have to explain a bit that you can understand the problem.

  Zope's request processing has roughly two phases:
  URL traversal to locate the object identified by the URL
  and then calling the located object.

  At the end of URL traversal lies the user authentication.
  This proceeds as follows: Zope starts at the located
  object and looks upward (towards to root) to find
  a User Folder which is ready to authenticate the user
  with the required roles. It will ask each User Folder
  it finds above the object until one gives a positive answer.
  The highest user folder will always return a user, maybe
  the anonymous one.

If your User Folder calls out to a backend system and this
backend system calls back (via URL) into an area controlled
by your User Folder, then you lose -- as the User Folder will again
call out and wait for an answer before it will call the object...

Move the thing called back out of your hiararchy dominated
by the UserFolder. Then, you might have success.



-- 
Dieter
___
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] VirtualHost 403 Forbidden. Help!!

2006-09-22 Thread Dieter Maurer
KE Liew wrote at 2006-9-21 18:32 +0200:
>Turn off ProxyVia

Why should he turn off "ProxyVia"?

  It only tells Apache to forward the IP address of its client in
  a special request header...



-- 
Dieter
___
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] Problem with running same script at a time

2006-09-22 Thread Pletli Antal
Thank you Dieter, I will try it. 

-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 8:03 PM
To: Pletli Antal
Cc: zope@zope.org
Subject: RE: [Zope] Problem with running same script at a time

Pletli Antal wrote at 2006-9-22 08:51 +0200:
> ...
>I have a demo user folder in my Zope project with two scripts. The 
>first script sends a tcp message to the background (with the help of 
>external module), the second one do something when the background call 
>it via url.

The problem is your setup.

I have to explain a bit that you can understand the problem.

  Zope's request processing has roughly two phases:
  URL traversal to locate the object identified by the URL
  and then calling the located object.

  At the end of URL traversal lies the user authentication.
  This proceeds as follows: Zope starts at the located
  object and looks upward (towards to root) to find
  a User Folder which is ready to authenticate the user
  with the required roles. It will ask each User Folder
  it finds above the object until one gives a positive answer.
  The highest user folder will always return a user, maybe
  the anonymous one.

If your User Folder calls out to a backend system and this backend
system calls back (via URL) into an area controlled by your User Folder,
then you lose -- as the User Folder will again call out and wait for an
answer before it will call the object...

Move the thing called back out of your hiararchy dominated by the
UserFolder. Then, you might have success.



--
Dieter
___
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] VirtualHost 403 Forbidden. Help!!

2006-09-22 Thread KE Liew

On 9/22/06, Dieter Maurer <[EMAIL PROTECTED]> wrote:

KE Liew wrote at 2006-9-21 18:32 +0200:
>Turn off ProxyVia

Why should he turn off "ProxyVia"?

  It only tells Apache to forward the IP address of its client in
  a special request header...


Ugh. Good question. I meant ProxyRequest. :/
___
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] LocalFS - user needs to be manager?

2006-09-22 Thread Josh Burvill
Hello again,
 
Update - the problem is not experienced with localfs-andreas-1.3
 
That is my solution for now.
 
Thanks, Josh 
On 21/09/06, Jonathan <[EMAIL PROTECTED]> wrote:
 


Try turning on verbose security in zope.conf  - there are two settings that you need:
 
security-policy-implementation pythonverbose-security on
 
 
 
Jonathan
 
 


- Original Message - 
From: Josh Burvill 

To: David H 
Cc: zope@zope.org 
Sent: Wednesday, September 20, 2006 10:04 PM
Subject: Re: [Zope] LocalFS - user needs to be manager?
 
On 21/09/06, David H <[EMAIL PROTECTED] 
> wrote: 
Josh Burvill wrote:> Hi all,>> I am experiencing an odd situation where if a user does not have 
> manager role, he/she cannot browse a localfs object.>> I think it can't be a filesystem permissions or zope process os user > problem because if the zope user has the manager role, there is no 
> problem.>> I can't see anything in the permissions for the localfs object to> cause a problem, they are all on "acquire". >> Any hints?>> Zope 2.8.6-final
 , python 2.3.5, win32> LocalFS-1-7-andreas>JoshDid you do an Zope upgrade recently?  Why do you say its "odd" what wasnormal before? DavidI upgraded my zope from 
2.6.4 a couple months ago, but only installed localfs yesterday.Being new to localfs, I don't really know if it is odd or normal, but it seems "odd".The unprivileged (but "authenticated") zope user is asked to reenter their login details (basic http auth) when they try to click on the link to the localfs object, and not allowed to view it. But if i grant the user the zope "Manager" role, they are let in. 
Hope this clarifies the problem. 



___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 
)


___
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 )