Re: [EMAIL PROTECTED] i18n url rewriting

2006-11-27 Thread Nick Kew
On Mon, 27 Nov 2006 17:17:22 +0800 Jacky <[EMAIL PROTECTED]> wrote: > >ServerName testwww.hkdnr.hk > > > I'm wondering why it does not rewrite to http://testwww.hkdnr.hk when > i browse to http://xn--eqrt2guv0afw3b.hk:/ It's a virtual host for something else. -- Nick Kew Applicati

[EMAIL PROTECTED] i18n url rewriting

2006-11-27 Thread Jacky
Dear all, I have a virtual host like this: RewriteEngine on RewriteCond %{SERVER_PORT} ^$ RewriteCond %{HTTP_HOST} ^xn--eqrt2guv0afw3b\.hk$ RewriteRule ^/(.*) http://testwww.hkdnr.hk/$1 [L,R] DocumentRoot /www/srs/registrant ServerName testwww.hkdnr.hk DirectoryIn