Hello Dmitrij,
Sunday, May 09, 1999, 10:38:54 PM, you wrote:
DT> Egor Nikolaev wrote:
>> я имею ввиду, как это сделано на яндекс. набираешь www.yandex.ru ,
>> попадаешь на yandex.ru
DT> Примерно так:
DT> RewriteCond %{HTTP:Host} !^(yandex.ru|$)
DT> RewriteRule ^/(.*)$ http://yandex.ru/$1 [QSA,L,R,NS]
А банальные ServerName и ServerAlias в настройках VirtualHost
не помогут?
Best regards,
Dmitry mailto:dmk@xxxxxxxxxxxx
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.