Re: [Zope] secure management with Site Access?
David Elkins writes:
Have you tried setting up something like zope.domain.com with the https SiteRoot and Apache pointing directly at manage?
Pointing a virtual host directly at manage I can do, but where do I put the SiteRoot? If I put an https SiteRoot in a directory, then plain ol' unencrypted access won't be happening... all of the URLs inside the site will point to 'https://' instead of 'http://', right? Or am I missing something?
You could additional add in a rewrite/proxy command to redirect to the SSL side for www.domain.com/manage.
Again, getting Apache to do the right thing I've got figured out. It's just the SiteRoot causing the problem; all of the links inside the folder with the SiteRoot will be either 'http' or 'https', but I'm looking for some solution that will allow either, depending on the previous REQUEST. I know that SiteRoot is basically a special kind of access rule, maybe a smarter access rule can be used instead of a SiteRoot... Thanks for your feedback, and please let me know if there's something that I'm not seeing. rob
with the SiteRoot will be either 'http' or 'https', but I'm looking for some solution that will allow either, depending on the previous REQUEST. I
It has not to depend on the last request, it has to depend on the actual request. Actually there are some examples in the SiteRoot documentation how to write access rules to manipulate URLs. They only have to be extended to keep the protocol in place. I need this myself too but didn't have the time and Python knowledge to figure it out. If somebody does, please announce it here :) Fro those who cannot program Python it would be a nice extension to SiteRoot to have a property "keep protocol" or something like that. This would simplify it's use for this purpose dramatically. Regards, Frank
participants (2)
-
Frank Tegtmeyer -
Rob Miller