Correct. You would need to create the "alveoledev" under the DocumentRoot which in your case is D:/Programmes/jakarta-tomcat-4.0.3/webapps/
Thanks. RS "Elisabeth Julg" <[EMAIL PROTECTED]> on 03/12/2002 07:27:37 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject: RE: Apache + Tomcat : Welcome-file hello RS, Thanks for your help. Like you said, the path : http://localhost/alveoledev/ works. On the other hand, changing D:/ by D:\ doesn't change any result. Removing "/" in the VirtualHost defn. at the end of DocumentRoot doesn't change anything eather. If I want http://localhost/alveoledev (without /), I must create the directory alveoledev in the DocumentRoot. Best regards, Elisabeth Toulouse - France -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoye : lundi 11 mars 2002 16:45 A : Tomcat Users List Objet : Re: Apache + Tomcat : Welcome-file If you add a "/" at the very end of the URL as in http://localhost/alveoledev/ <snip> http://localhost/alveoledev => Doesn't work </snip> you may get what you desire. OR You could change the DocumentRoot to "D:\" instead of "D:/Programmes/jakarta-tomcat-4.0.3/webapps/" in the VirtualHost defn. This way users don't need to add the "/" at the end of the URL, as shown above. <snip> <VirtualHost localhost> ServerAdmin [EMAIL PROTECTED] DocumentRoot D:/Programmes/jakarta-tomcat-4.0.3/webapps/ ServerName localhost WebAppConnection conn warp localhost:8008 WebAppDeploy D:\AlveoleDev conn /alveoledev/ ... </snip> RS "Elisabeth Julg" <[EMAIL PROTECTED]> on 03/11/2002 04:34:58 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To: "Tomcat-User" <[EMAIL PROTECTED]> cc: Subject: 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 [EMAIL PROTECTED] 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: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>