Hi David,

I'm suffering from a coffee underflow error, so am not 100% (yet!), but...

David Bear wrote:
> RewriteRule ^/z2$\
> https/%SERVER_NAME}:80/VirtualHostRoot/_vh_z2/ [L,P]
> RewriteRule ^/z2/(.*)\
> https/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2/$1 [L,P]
> RewriteRule ^/z2$\
> http/%SERVER_NAME}:80/VirtualHostRoot/_vh_z2/ [L,P]
> RewriteRule ^/z2/(.*)\
> http/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2/$1 [L,P]
> The rules listed above only work to serve content from
> http://servername/z2 .. They refuse to work for https://servername/z2
> (that generates a  not found error)
> Any other advice on make both urls work?

Yes! Your rewrite rules are all rewriting to port 80, but for SSL you
need port 443, so you should have something like: -

RewriteRule ^/z2$\
https/%SERVER_NAME}:443/VirtualHostRoot/_vh_z2/ [L,P]

...for the SSL versions.





'I must create my own system or be enslaved by another man's.'
- William Blake
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to