[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] addition



At 14:01 22/07/00 +0200, you wrote:
>When I call http://www.domain.de it works, but when I call
>http://domain.de , I am being redirected to http://www.domain.de. Any
>ideas on how to omit this?
>
>Thanks a lot!

Hi Florian,

In the file /etc/httpd/conf/httpd.conf
look for the line

RewriteCond %{HTTP_HOST}  !^www.domain.de(:80)?$

just after it add the following new lines

RewriteCond %{HTTP_HOST}  !^domain.de(:80)?$
ServerAlias  domain.de

Then reload the httpd
by executing the following command
/etc/rc.d/init.d/httpd reload


Best regards
Babu P. Yogarajah