httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] Redirect question
Date Wed, 05 May 2010 21:28:09 GMT
At 16:46 -0400 5/5/10, wrote:
I have an application running on a server at:

My user wants me to set up so that
will redirect to:

I have DNS set up and now if I go to:
the correct page is displayed. I just can not seem to get
to go to the right place.

I have tried to use Redirect:
Redirect permanent / http://server/application
but I then get:
Firefox has detected that the server is redirecting the request for this 
address in a way that will never complete.

What am I doing wrong?

To me it looks as though you would have to own the domain name 
"application" with an appropriate .com, .net or the like before any 
browser would recognize your Location HTTP header. I'd like to see that 
header as it appears after your Redirect is processed. If this is all in a 
local domain does your local DNS - bind?? - do the right thing?

But then perhaps I'm about to learn something I don't now about apache.

DNS resolves the "server" and "application" hostnames correctly. If I go 
I get the correct page. What I want is for
to redirect me to

I have also tried the following VirtualHost config with the same results:

NameVirtualHost XXX.XXX.XXX.XXX

<VirtualHost XXX.XXX.XXX.XXX>
    ServerAlias *
    Redirect permanent / http://servert/application
View raw message