tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy K. Mayr R." <sys...@uapar.edu>
Subject Re: virtualhost
Date Tue, 06 Nov 2001 14:58:51 GMT
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>


Mime
View raw message