Thanks alot. I didn't realise you could do this within the RewriteRule directive. Cheers. On 4/16/06, Carlos Daniel Ruvalcaba Valenzuela < clsdaniel@egresados.itnogales.edu.mx> wrote:
Hello, why don't you write a Rule inside the VirtualDomain instead of having it's own location, something like this will do:
I think that what you want is tu use Mod Proxy to pass request from Apache+SSL yo your Zope.
Anyways, I think it would be better to not use Location just to redirect from mod_rewrite as it can be done without it.
<VirtualHost xx.x.xxx.xxx> ServerName www.domain.net RewriteEngine On RewriteRule ^/manage(.*)
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot$1[L,P] </VirtualHost>
-------------------- Carlos Daniel Ruvalcaba
On Fri, 2006-04-14 at 16:52 +0100, michael nt milne wrote:
Hi
I've got various virtual hosts running but am having a few issues getting the administration site on www.domain.com:8080/manage to go through Apache. I want to route this all through SSL. What I can get is the admin for the *individual site* but not all the sites listed under a Zope instance.
I'm trying to use <location></location> to put a request for www.domain.com/manage through to www.domain.com:8080/manage in Zope and then back out through port 443. I haven't set up the SSL certificates yet.
Here's what I've got so far which isn't working quite as planned. Anyone achieved this at all?
Thanks
NameVirtualHost xx.x.xxx.xxx:80 <VirtualHost xx.x.xxx.xxx:80> ServerName www.domain.net <location /manage> RewriteEngine On RewriteRule ^/(.*)
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot/$1[L,P]
</location> </VirtualHost>
-- michael _______________________________________________ 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 )
-- michael