[Zope] Redirection problem

2007-05-25 Thread Ken Ara
We have a filesystem product with an edit method that allows users to change some properties. At the end, the user is redirected to the page from which they came. Our setup has Squid in front on port 80, with Pound on port 81 load-balancing to 3 ZEO clients. No matter how we define the redirect U

Re: [Zope] Redirection problem

2007-05-25 Thread Andreas Jung
--On 25. Mai 2007 01:26:32 -0700 Ken Ara <[EMAIL PROTECTED]> wrote: We have a filesystem product with an edit method that allows users to change some properties. At the end, the user is redirected to the page from which they came. Our setup has Squid in front on port 80, with Pound on port 81

Re: [Zope] Redirection problem

2007-05-25 Thread Andrew Milton
+---[ Ken Ara ]-- | We have a filesystem product with an edit method that | allows users to change some properties. At the end, | the user is redirected to the page from which they | came. | | Our setup has Squid in front on port 80, with Pound on | port 81 load-balancing t

[Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

2007-05-25 Thread Yuri
I've an application in Zope. A user see this message when he try to submit a form. I've tried myself with his account and I had no error. I'm using OpenFlow, if it matters. The user is never sent to the openflow instance, so I don't understand how he tries to request this url. Can be a browse

Re: [Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

2007-05-25 Thread Andreas Jung
--On 25. Mai 2007 10:48:04 +0200 Yuri <[EMAIL PROTECTED]> wrote: I've an application in Zope. A user see this message when he try to submit a form. I've tried myself with his account and I had no error. > Unauthorized: You are not allowed to access 'manage_page_header' in this context Googl

Re: [Zope] Redirection problem

2007-05-25 Thread Ken Ara
Virtual hosting for us is limited to two lines in the default VHM mappings: mysite.org/mysite *.mysite.org/mysite This minimal arrangement has worked for several years, although Pound and ZEO are new for us. No other problems. Ken --- Andrew Milton <[EMAIL PROTECTED]> wrote: > +---[ Ken A

Re: [Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

2007-05-25 Thread Yuri
Andreas Jung wrote: --On 25. Mai 2007 10:48:04 +0200 Yuri <[EMAIL PROTECTED]> wrote: I've an application in Zope. A user see this message when he try to submit a form. I've tried myself with his account and I had no error. > Unauthorized: You are not allowed to access 'manage_page_header' in

Re: [Zope] Unauthorized: You are not allowed to access 'manage_page_header' in this context

2007-05-25 Thread Andreas Jung
--On 25. Mai 2007 11:03:47 +0200 Yuri <[EMAIL PROTECTED]> wrote: Andreas Jung wrote: --On 25. Mai 2007 10:48:04 +0200 Yuri <[EMAIL PROTECTED]> wrote: I've an application in Zope. A user see this message when he try to submit a form. I've tried myself with his account and I had no error. >

Re: [Zope] Redirection problem

2007-05-25 Thread Andrew Milton
+---[ Ken Ara ]-- | Virtual hosting for us is limited to two lines in the | default VHM mappings: | | mysite.org/mysite | *.mysite.org/mysite | | This minimal arrangement has worked for several years, | although Pound and ZEO are new for us. No other | problems. Right, bu

Re: [Zope] Redirection problem

2007-05-25 Thread Ken Ara
Thanks for bringing this up! I have always wanted to know: since the introduction of VHM I have never used this 'VirtualHostBase' business. I have only ever used the mappings tab as mentioned below; no Apache or other redirect rules. All has always worked perfectly. Am I finally being bitten by thi

Re: [Zope] Redirection problem

2007-05-25 Thread Andrew Milton
+---[ Ken Ara ]-- | Thanks for bringing this up! I have always wanted to | know: since the introduction of VHM I have never used | this 'VirtualHostBase' business. I have only ever used | the mappings tab as mentioned below; no Apache or | other redirect rules. All has alway

Re: [Zope] Redirection problem

2007-05-25 Thread Ken Ara
Thanks for that. Well, I don't feel like changing everything just because of this one new feature (user editing). Instead, could I add something in my edit method, ahead of return REQUEST.RESPONSE.redirect(redir_url()) to inform Zope about the port to use? Ken --- Andrew Milton <[EMAIL PROTECTE