Hi all!

I have been following the mailing list and it seems this is a common problem amongst many users. But I could not find a solution to my problem, hence this post. Hope someone can help me.

I am trying to set up a simple virtual host for the domain www.riz.com on tomcat (listening on port 80) using the instructions provided at http://ex-parrot.com/~pete/tomcat-vhost.html

Based on the instructions here is what I have done..

1. Added the following to server.xml which is under under $CATALINA_HOME/conf <Host name="www.riz.com" appBase="webapps/riz" unpackWARs="true" autoDeploy="true"
      xmlValidation="false" xmlNamespaceAware="false">
     </Host>

There is a riz.war file under $CATALINA_HOME/webapps that gets expanded on deployment.

2. Created a directory $CATALINA_HOME/conf/Catalina/www.riz.com
   Added ROOT.xml to this directory which contains
<?xml version='1.0' encoding='utf-8'?>
   <Context displayName="riz" docBase="" path=""
   workDir="work/Catalina/riz/_">
   </Context>


Note that I have mapped www.riz.com to 127.0.0.1 in the "hosts" file under c:\windows\system32\drivers\etc so that when i type www.riz.com in the browser it will resolve to localhost.

Please can someone tell me what I am doing wrong, or if I am missing anything?

Thanks,
-Riz.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to