You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Elisabeth Julg <el...@steria.com> on 2002/03/11 11:34:58 UTC
Apache + Tomcat : Welcome-file
Hi,
I would like integrate a Tomcat's application with Apache (version : tomcat
4.0.2, apache 1.3.23).
In the Apache's config file : http.conf :
<VirtualHost localhost>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot D:/Programmes/jakarta-tomcat-4.0.3/webapps/
ServerName localhost
WebAppConnection conn warp localhost:8008
WebAppDeploy D:\AlveoleDev conn /alveoledev/
WebAppInfo /webapp-info
</VirtualHost>
In the Tomcat's config file : server.xml :
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
port="8008" minProcessors="5" maxProcessors="75" enableLookups="false"
appBase="webapps" acceptCount="10" debug="0" />
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="localhost" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt" timestamp="true"
directory="D:\logs\AlveoleDev" />
<Realm className="org.apache.catalina.realm.MemoryRealm" />
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="D:\logs\AlveoleDev" prefix="apache_access." suffix=".log"
pattern="common" />
<Logger className="org.apache.catalina.logger.FileLogger"
directory="D:\logs\AlveoleDev" prefix="apache." suffix=".log"
timestamp="true" />
<Context path="/manager" docBase="manager" debug="0"
privileged="true" />
<Context path="/alveoledev" docBase="D:\AlveoleDev"
workDir="D:\work\AlveoleDev" directory="D:\logs\AlveoleDev"
reloadable="false" crossContext="true">
<Parameter name="HD_Data" value="D:\PastelData\AlveoleDev"
override="false" />
</Context>
</Host>
</Engine>
</Service>
In the Tomcat's file : web.xml
<welcome-file-list>
<welcome-file>jsp/Appli/hdi_index.jsp</welcome-file>
</welcome-file-list>
In the Navigator,
http://localhost/alveoledev => Doesn't work
but
http://localhost/alveoledev/jsp/Appli/hdi_index.jsp => Works.
Have you an idea for the url http://localhost/alveoledev uses the
"welcome-file" ?
Thanks,
Elisabeth
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>