You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Beecher Rintoul <ak...@northwindcom.dyndns.org> on 2004/06/03 03:40:37 UTC

[users@httpd] Alias

I have a simple question. I need to redirect the url http://foo.com to 
http://www.foo.com in a virtual directory. Having never done it, would 
someone give me an example.

TIA,

Beech


-- 
-------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech@northwindcom.dyndns.org
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ -----------------------------------------------------------------












---------------------------------------------------------------------
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


Re: [users@httpd] Alias

Posted by Tim Burden <Ti...@Burden.ca>.
You could do this
RedirectMatch (.*) http://www.foo.com$1
but are you sure you don't just need
ServerAlias www.foo.com
?

----- Original Message ----- 
From: "Beecher Rintoul" <ak...@northwindcom.dyndns.org>
To: <us...@httpd.apache.org>
Sent: Wednesday, June 02, 2004 9:40 PM
Subject: [users@httpd] Alias


> I have a simple question. I need to redirect the url http://foo.com to
> http://www.foo.com in a virtual directory. Having never done it, would
> someone give me an example.
>
> TIA,
>
> Beech
>
>
> -- 
> -------------------------------------------------------------------
> Beech Rintoul - System Administrator - akbeech@northwindcom.dyndns.org
> /"\   ASCII Ribbon Campaign  | NorthWind Communications
> \ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
>  X  - NO Word docs in e-mail | Anchorage, AK 99501
> / \ -----------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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