Re: [Zope] SSL over Multiple Zope/Plone sites?
Um, not really. In order for the wildcard cert e.g. *.mydomain.com to work, all the sites have to be on subdomains like site1.mydomain.com, site2.mydomain.com, etc. It doesn't matter if the sites are on virtual hosts or not. Serving the cert on anything that doesn't end with "mydomain.com" will activate a pop-up.For single-domain certificates, yes, you have to have each domain on a separate IP address.Jovca _Slobodan JovcicTeaching Enhancement CenterOffice of Instructional Development, UCLA(310) 794 2099 On Jan 24, 2006, at 9:31 AM, michael nt milne wrote:ok, they're not technically subdomains but full domains in their own right but served from a single server which has its own domain. Would a wild card work with that? Would the pop-ups still be present when a user enters the site? On 1/24/06, Slobodan Jovcic <[EMAIL PROTECTED]> wrote: Use a wildcard certificate, if all of your subdomains on the serverbelong to a single domain.> Hi>> I've got a few Plone sites set-up using Apache through Zope. The> question is, I'd like to implement SSL on the site login etc, as > it's not secure without this. There's also one site I'd like to> serve completely over https. However. I'm told that you can't run> SSL on virtual hosts and can only have once SSL site per IP address. >> What would be the way round this? I know I could set-up SSL on Zope> only using the following documentation:>> http://www.zope.org/Members/Ioan/ZopeSSL >> but if I can't carry this through to Apache then I'd have to run> Zope as the web server as well as the application server.>> Thanks>> Michael_ Slobodan JovcicTeaching Enhancement CenterOffice of Instructional Development, UCLA(310) 794 2099___Zope maillist - Zope@zope.orghttp://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 )
Re: [Zope] SSL over Multiple Zope/Plone sites?
Use a wildcard certificate, if all of your subdomains on the server belong to a single domain. Hi I've got a few Plone sites set-up using Apache through Zope. The question is, I'd like to implement SSL on the site login etc, as it's not secure without this. There's also one site I'd like to serve completely over https. However. I'm told that you can't run SSL on virtual hosts and can only have once SSL site per IP address. What would be the way round this? I know I could set-up SSL on Zope only using the following documentation: http://www.zope.org/Members/Ioan/ZopeSSL but if I can't carry this through to Apache then I'd have to run Zope as the web server as well as the application server. Thanks Michael _ Slobodan Jovcic Teaching Enhancement Center Office of Instructional Development, UCLA (310) 794 2099 ___ 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] returning list from PythonScript
I'd probably just call container.MyScript() as self.MyScript() in the external method. I'm trying to keep external method versatile. But i'm curious as to why your example doesn't work. There was an error in the script that I fixed, but never saved the file. Doh! Thanks, Jovca _____ Slobodan Jovcic Teaching Enhancement Center Office of Instructional Development, UCLA (310) 794 2099 On Jan 20, 2006, at 4:05 PM, David wrote: J Cameron Cooper wrote: Slobodan Jovcic wrote: Hi, I'm trying to pass a list of values between the script and external method. ZPT contains the following: container.myScript() is a Python Script that returns a list of values. container.myExtMethod() is an External Method expecting that list. However, all it gets is a string representation of the list ( "[]" instead of [] ). How can I pass the list itself? Btw, hard-coding list in ZPT works fine: The problem is likely in 'myScript', which you do not show us. --jcc I'd probably just call container.MyScript() as self.MyScript() in the external method. But i'm curious as to why your example doesn't work. Maybe you could first define the array first with something like ... 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] returning list from PythonScript
True. Somehow, some of the latest changes in the script were lost, probably by closing the browser without save, including a change of: print result return printed to: return result Very stupid. Jovca _ Slobodan Jovcic Teaching Enhancement Center Office of Instructional Development, UCLA (310) 794 2099 On Jan 20, 2006, at 2:54 PM, J Cameron Cooper wrote: Slobodan Jovcic wrote: Hi, I'm trying to pass a list of values between the script and external method. ZPT contains the following: container.myScript() is a Python Script that returns a list of values. container.myExtMethod() is an External Method expecting that list. However, all it gets is a string representation of the list ( "[]" instead of [] ). How can I pass the list itself? Btw, hard-coding list in ZPT works fine: The problem is likely in 'myScript', which you do not show us. --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com ___ 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] returning list from PythonScript
Hi, I'm trying to pass a list of values between the script and external method. ZPT contains the following: container.myScript() is a Python Script that returns a list of values. container.myExtMethod() is an External Method expecting that list. However, all it gets is a string representation of the list ( "[]" instead of [] ). How can I pass the list itself? Btw, hard-coding list in ZPT works fine: Thanks, Jovca _____ Slobodan Jovcic Teaching Enhancement Center Office of Instructional Development, UCLA (310) 794 2099 ___ 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 )