i18n url rewriting

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

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux