Thanks alot. I didn't realise you could do this within the RewriteRule directive. Cheers.<br><br><div><span class="gmail_quote">On 4/16/06, <b class="gmail_sendername">Carlos Daniel Ruvalcaba Valenzuela</b> <<a href="mailto:clsdaniel@egresados.itnogales.edu.mx">
clsdaniel@egresados.itnogales.edu.mx</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello, why don't you write a Rule inside the VirtualDomain instead of
<br>having it's own location, something like this will do:<br><br>I think that what you want is tu use Mod Proxy to pass request from<br>Apache+SSL yo your Zope.<br><br>Anyways, I think it would be better to not use Location just to redirect
<br>from mod_rewrite as it can be done without it.<br><br><VirtualHost xx.x.xxx.xxx><br>ServerName <a href="http://www.domain.net">www.domain.net</a><br>RewriteEngine On<br>RewriteRule ^/manage(.*)<br><a href="http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot$1">
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot$1</a> [L,P]<br></VirtualHost><br><br>--------------------<br>Carlos Daniel Ruvalcaba<br><br>On Fri, 2006-04-14 at 16:52 +0100, michael nt milne wrote:
<br>> Hi<br>><br>> I've got various virtual hosts running but am having a few issues<br>> getting the administration site on <a href="http://www.domain.com:8080/manage">www.domain.com:8080/manage</a> to go<br>
> through Apache. I want to route this all through SSL. What I can get<br>> is the admin for the *individual site* but not all the sites listed<br>> under a Zope instance.<br>><br>> I'm trying to use <location></location> to put a request for
<br>> <a href="http://www.domain.com/manage">www.domain.com/manage</a> through to <a href="http://www.domain.com:8080/manage">www.domain.com:8080/manage</a> in Zope<br>> and then back out through port 443. I haven't set up the SSL
<br>> certificates yet.<br>><br>> Here's what I've got so far which isn't working quite as planned.<br>> Anyone achieved this at all?<br>><br>> Thanks<br>><br>> NameVirtualHost xx.x.xxx.xxx:80<br>> <VirtualHost
xx.x.xxx.xxx:80><br>> ServerName <a href="http://www.domain.net">www.domain.net</a><br>> <location /manage><br>> RewriteEngine On<br>> RewriteRule ^/(.*)<br>> <a href="http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot/$1">
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot/$1</a> [L,P]<br>> </location><br>> </VirtualHost><br>><br>> --<br>> michael<br>> _______________________________________________
<br>> Zope maillist - <a href="mailto:Zope@zope.org">Zope@zope.org</a><br>> <a href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>> ** No cross posts or HTML encoding! **
<br>> (Related lists -<br>> <a href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>> <a href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev
</a> )<br><br></blockquote></div><br><br clear="all"><br>-- <br>michael