httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacky <jackyw...@webnic.cc>
Subject [users@httpd] i18n url rewriting
Date Mon, 27 Nov 2006 09:17:22 GMT
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message