Reinout van Rees wrote:
Yes, this is possible: it is the way 99% of the plone sites probably
works. It is documented in a number of places, so please check the
documentation carefully if you followed every step.

Basically you only need the correct incantation in apache, assumed
you've let the virualhostmonster alone in the zope root.

I am obviously overlooking something. I've tried just about every permutation of Rewrite rules and DNS settings than I care to admit.

Regarding the VHM in the Zope root, I did at one point delete it, and then reinstantiate it, thinking that might help. I wonder if I might have made things worse.

In any case, here's my relevant setup info. I have Apache on port 80 and Zope on port 8080.

At enom I use a URL Redirect:

    virtual.com -> http://actual.com

From my apache httpd-vhosts.conf file is:

    NameVirtualHost *:80

    <VirtualHost *:80>
        ServerName virtual.com
        RewriteEngine on

RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/virtual.com:80/myplonesite/VirtualHostRoot/$1 [P]
    </VirtualHost>

Results: When I browse to "virtual.com", "http://actual.com"; appears in the address bar.

Note: When I use the Tamper Data Add-On to Firefox, I see all the requests going out to "virtual.com/xxx" and coming back with 302, and then subsequent requests going out to "actual.com/xxx".

John




_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to