httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward...@ita.org.mo
Subject Re: Redirecting URLS...
Date Thu, 15 Aug 2002 12:58:08 GMT
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


Mime
View raw message