On Sep 13, 2006, at 5:01 AM, Jacky wrote:

Dear all,


I have a vhost like this that doesn’t seem to work, is it bcos of the domain name?

In case you’re wondering, I’m dealing with Chinese Domain Name.

I've added this as a bug report.  http://bugs.caucho.com/view.php?id=1350

Resin's support for the i18n names (the xn--) has been tested on Resin itself, but we haven't checked with Apache, so there might be some kind of mismatch.

-- Scott


<VirtualHost *:80>

  RewriteEngine on

  RewriteCond %{SERVER_PORT}   ^80$

  RewriteCond %{HTTP_HOST}   ^xn--eqrt2guv0afw3b\.hk$

  RewriteRule ^/(.*)         http://www.xn--eqrt2guv0afw3b.hk/$1 [L,R]

  DocumentRoot /www/apps

  ServerName xn--eqrt2guv0afw3b.hk

  ServerAlias www.xn--eqrt2guv0afw3b.hk

  DirectoryIndex default.jsp

  ResinConfigServer 6802

  ResinConfigServer 6802

  CauchoStatus yes


  # do not remove, otherwise apache will serve the jsp source code once resin is down

  AddHandler caucho-request .jsp



Please reply if you need further info.

Thank you.


Warm Regards,

Jacky Wong


resin-interest mailing list

resin-interest mailing list

Reply via email to