Dear all,

I have a virtual host like this:

<VirtualHost *:8888>
  RewriteEngine on
  RewriteCond %{SERVER_PORT}   ^8888$
  RewriteCond %{HTTP_HOST}   ^xn--eqrt2guv0afw3b\.hk$
  RewriteRule ^/(.*)         http://testwww.hkdnr.hk/$1 [L,R]

  DocumentRoot /www/srs/registrant
  ServerName testwww.hkdnr.hk
  DirectoryIndex index.html
</VirtualHost>

I'm wondering why it does not rewrite to http://testwww.hkdnr.hk when i browse to http://xn--eqrt2guv0afw3b.hk:8888/

Any advice?
Thanks.

--
Warm regards,
Jacky Wong


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to