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.

 

<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 192.168.1.101 6802

  ResinConfigServer 192.168.1.102 6802

  CauchoStatus yes

 

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

  AddHandler caucho-request .jsp

</VirtualHost>

 

Please reply if you need further info.

Thank you.

 

Warm Regards,

Jacky Wong

 

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to