httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthijs Rohs" <matth...@rohs.nl>
Subject RE: Redirecting URLS...
Date Thu, 15 Aug 2002 13:03:12 GMT
LOL, that would cause an eternal loop :) (and it causes it, I've tried)
I need something else please...
http://www.nu.nl/ has that technique, it redirects to http://nu.nl/?

ViVa

-----Oorspronkelijk bericht-----
Van: EdwardSPL@ita.org.mo [mailto:EdwardSPL@ita.org.mo] 
Verzonden: donderdag 15 augustus 2002 14:58
Aan: users@httpd.apache.org
Onderwerp: Re: Redirecting URLS...

Why not using Redirect / http://rohs.nl ?

Boyle Owen wrote:

> > From: Matthijs Rohs [mailto:matthijs@rohs.nl]
>
> > Does anyone know how I can redirect http://www.rohs.nl/ to
http://rohs.nl/ ?
>
> It depends:
>
> (1) If both domain names resolve to the same IP address, then just
make one a server alias, e.g.
>
> <VirtualHost 192.168.0.1>
>   ServerName www.rohs.nl
>   ServerAlias rohs.nl
>  ...
>
> (2) If the have different IP addresses, put both addresses in the VH
tag as well
>
> <VirtualHost 192.168.0.1 192.168.0.2>
>   ServerName www.rohs.nl
>   ServerAlias rohs.nl
>  ...
>
> I am assuming that you realise that this has more to do with DNS than
with apache.
>
> Rgds,
>
> Owen Boyle
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message