tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lomesh Contractor" <lom...@elitecore.com>
Subject RE: virtualhost
Date Tue, 06 Nov 2001 14:22:06 GMT
In your server.xml make entry like this

<Host name="myApplication.mycompany.edu" >
          <Context path="/"
                 docBase="/www/myApplication"
                 debug="0"
                 reloadable="true"
                 trusted="true">
           </Context>
</Host>


and restart your httpd 


-----Original Message-----
From: Roy K. Mayr R. [mailto:sysrom@uapar.edu]
Sent: Tuesday, November 06, 2001 7:42 PM
To: Tomcat Users List
Subject: virtualhost


Hi...

I'm using tomcat 3.3 with apache (mod_jk), jdk1.4, on solaris 8.

When i use:  www.mycompany.edu/myApplication all work fine !!,
but i need to use:  myApplication.mycompany.edu and it showme 404 error !!

In app-myApplication.xml  I have:

<Context path="/myApplication"  docBase="/www/myApplication"
            debug="0"
            reloadable="true" >

and in http.conf from apache i have,

<VirtualHost myApplication.mycompany.edu>
  DocumentRoot /www/myApplication
  ServerName myApplication.mycompany.edu
  JkMount /*.jsp ajp13
</VirtualHost>

Why don't can find index.jsp from myApplication? What is wrong ?

Thanks for advance.

Roy


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message