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

zoomo wrote:
The behavior I want is:

1) to have virtual.com to take the user to the page at "actual.com/myplonesite" but display virtual.com in the browser's address bar

and

2) and then as we click deeper into the plone site's internal links, to have the address bar reflect the new location "appropriately" (i.e. clicking on the link "info" contained on the top page should cause "virtual.com/info" to appear in the address bar).

What happens when I browse to http://virtual.com, I am taken to the correct page, but the URL in the address bar switches to the "actual.com/myplonesite" string.

Is it possible to change this behavior so that the user never sees the "actual.com" domain name or "myplonesite" site name?

I'm wondering what the proper DNS-registry record might be. For example, at GoDaddy, I've tried the a forward entry for both http://actual.com/ and http://actual.com/myplonesite, with various permutation adjustements in my Apache rewrite rules with no luck. When I use my account at enom.com, I've tried using "URL Redirect". Same results, no luck, i.e., the http://actual.com/myplonesite still appears in the address bar.

Regards,
John




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

Reply via email to