tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Isaacs <Larry.Isa...@sas.com>
Subject RE: virtualhost
Date Tue, 06 Nov 2001 18:27:17 GMT
See the "Adding and Customizing Contexts" section in the
tomcat-ug.html.  Also see the conf/apps-127.0.0.1.xml file for
an example file.

Cheers,
Larry

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


In ContextManager entry ?

When i put this entry (<Host name = ......) en server.xml, after that i
restart tomcat, when restart apache:

Syntax error on line 24 of /www/src/tomcat3.3/conf/auto/mod_jk.conf:
Missing </VirtualHost> directive at end-of-file
/local/apache/bin/apachectl start: httpd could not be started

Where i must to put host entry ??

Roy

> 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