httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] URL Rewriting Question
Date Wed, 06 Sep 2006 18:39:40 GMT
On 9/6/06, Mark Phillips <> wrote:
> I have a domain (call it for the purpose of this question - it is not
> the real domain) parked with a domain name registrar.
> They provide free domain name forwarding.
> I have a server behind our firewall running apache 2.0 and zope/plone with a
> plone site (call it plone-site for this question). The server with plone-site
> and apache running behind our firewall has an internal address of
> Zope listens on port 8080, apache
> listens on port 8081.
> The domain registrar forwards to our firewall, which is
> (again, this is not the actual IP address - I just made
> this one up for this question).
> Our firewall forwards the request on port 8081 to the apache server
> listening on port 8081.
> The apache server forwards the request to the zope/plone server on port 8080
> (same physical machine).
> When I type in a browser address bar, I get the plone-site as
> expected. However, the address bar displays and
> not I had hoped that with url rewriting and apache I could get
> in the address bar.

This depends on what you mean by "the domain registrar forwards...".
If they are forwarding using an HTTP redirect (and that looks to be
the case), then there is nothing you can do to change the name.  You
can't lie to the browser about the site they are being asked to fetch.

What you should do is have the registrar change DNS settings to point
to your server instead of their redirector.  You will still have a
problem with the port, since people will, by default, come in on port
80.  You should set up your proxy on port 80 and then you can use a
proxying RewriteRule like what you suggested to hide the transfer
between your front-end and back-end servers.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message