httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Covington, Chris" <ccoving...@plusone.com>
Subject RE: [users@httpd] redirecting URLs in the browser
Date Wed, 01 Dec 2004 21:58:58 GMT
> use:
> <VirtualHost *:80>
>     ServerName www.myfitnessexpert.com
>     ServerAlias *.myfitnessexpert.com
>     Redirect permanent / http://www.plusoneactive.com/ 
> </VirtualHost> this will also cause search-engines to use the 
> new name.
> note: youu need to add another virtual host before this one 
> for the actual server.

Hmm, for some reason this works with everything but plusoneactive.com:

<VirtualHost *:80>
        ServerName www.plusoneactive.com
</VirtualHost>
<VirtualHost *:80>
        ServerName www.myfitnessexpert.com
        ServerAlias myfitnessexpert.com
        Redirect permanent / http://www.plusoneactive.com/
</VirtualHost>

I've tried adding another VirtualHost for plusoneactive.com which
Redirect(s) permanent / http://www.plusoneactive.com but the browser
still preserves http://plusoneactive.com instead of redirecting it to
http://www.plusoneactive.com.  I've also tried adding plusoneactive.com
to the ServerAlias of www.myfitnessexpert.com.

Any ideas?

thanks
Chris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message