No problem, my question is :
I have configured Apache and Tomcat with mod_jk in order to connect them together but 
now all ressources of my application must be located under Tomcat directory to be 
founded.
As I want to put all static ressources directly under Apache, somebody can tell me 
what I have to configure in Apache or Tomcat to do this ?



> 
> Forgive me, but I've lost track of what this thread is about.
> 
> What is not happening that you want to see happen, given the 
> configuration files you've posted?  What is your question again?
> 
> John
> 
> v.siguier wrote:
> 
> > The generated jakarta-tomcat-4-1-24\conf\auto\mod_jk.conf :
> > 
> > ########## Auto generated on Thu Jul 31 15:51:00 CEST 2003##########
> > 
> > <IfModule !mod_jk.c>
> >   LoadModule jk_module c:/apache/Apache2/modules/mod_jk-2.0.43.dll
> > </IfModule>
> > 
> > JkWorkersFile "C:/jakarta-tomcat-4-1-24/conf/jk/workers.properties"
> > JkLogFile "C:/jakarta-tomcat-4-1-24/logs/mod_jk.log"
> > 
> > JkLogLevel emerg
> > 
> > 
> > 
> > <VirtualHost localhost>
> >     ServerName localhost
> > 
> >     #################### localhost:/examples ####################
> > 
> >     # Static files 
> >     Alias /examples "C:/jakarta-tomcat-4-1-24/webapps/examples"
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/examples">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/examples/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/examples/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >     #
> >     # Use Directory too. On Windows, Location doesn't work unless case matches
> >     #
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/examples/WEB-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/examples/META-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     JkMount /examples/jsp/security/protected/j_security_check  ajp13
> >     JkMount /examples/snoop  ajp13
> >     JkMount /examples/CompressionTest  ajp13
> >     JkMount /examples/servlet/*  ajp13
> >     JkMount /examples/*.jsp  ajp13
> >     JkMount /examples/servletToJsp  ajp13
> >     JkMount /examples/SendMailServlet  ajp13
> > 
> >     #################### localhost:/webdav ####################
> > 
> >     # Static files 
> >     Alias /webdav "C:/jakarta-tomcat-4-1-24/webapps/webdav"
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/webdav">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.jsp index.html index.htm 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/webdav/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/webdav/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >     #
> >     # Use Directory too. On Windows, Location doesn't work unless case matches
> >     #
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/webdav/WEB-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/webdav/META-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     JkMount /webdav/*.jsp  ajp13
> > 
> >     #################### localhost:/tomcat-docs ####################
> > 
> >     # Static files 
> >     Alias /tomcat-docs "C:/jakarta-tomcat-4-1-24/webapps/tomcat-docs"
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/tomcat-docs">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/tomcat-docs/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/tomcat-docs/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >     #
> >     # Use Directory too. On Windows, Location doesn't work unless case matches
> >     #
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/tomcat-docs/WEB-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/tomcat-docs/META-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     JkMount /tomcat-docs/*.jsp  ajp13
> > 
> >     #################### localhost:/manager ####################
> > 
> >     # Static files 
> >     Alias /manager "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/manager"
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/manager">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/manager/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/manager/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >     #
> >     # Use Directory too. On Windows, Location doesn't work unless case matches
> >     #
> >     <Directory 
> > "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/manager/WEB-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     <Directory 
> > "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/manager/META-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     JkMount /manager/html/*  ajp13
> >     JkMount /manager/resources  ajp13
> >     JkMount /manager/undeploy  ajp13
> >     JkMount /manager/sessions  ajp13
> >     JkMount /manager/serverinfo  ajp13
> >     JkMount /manager/reload  ajp13
> >     JkMount /manager/start  ajp13
> >     JkMount /manager/*.jsp  ajp13
> >     JkMount /manager/list  ajp13
> >     JkMount /manager/stop  ajp13
> >     JkMount /manager/deploy  ajp13
> >     JkMount /manager/roles  ajp13
> >     JkMount /manager/remove  ajp13
> >     JkMount /manager/install  ajp13
> > 
> >     #################### localhost:/admin ####################
> > 
> >     # Static files 
> >     Alias /admin "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/admin"
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/admin">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/admin/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/admin/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >     #
> >     # Use Directory too. On Windows, Location doesn't work unless case matches
> >     #
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/admin/WEB-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     <Directory 
> > "C:/jakarta-tomcat-4-1-24/webapps/../server/webapps/admin/META-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     JkMount /admin/j_security_check  ajp13
> >     JkMount /admin/*.jsp  ajp13
> >     JkMount /admin/*.do  ajp13
> > 
> >     #################### localhost:/geode ####################
> > 
> >     # Static files 
> >     Alias /geode "C:/jakarta-tomcat-4-1-24/webapps/geode"
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/geode">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp 
> >     </Directory>
> > 
> > 
> >     # Deny direct access to WEB-INF and META-INF
> >     #
> >     <Location "/geode/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> > 
> >     <Location "/geode/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >     #
> >     # Use Directory too. On Windows, Location doesn't work unless case matches
> >     #
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/geode/WEB-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     <Directory "C:/jakarta-tomcat-4-1-24/webapps/geode/META-INF/">
> >         AllowOverride None
> >         deny from all
> >     </Directory>
> > 
> >     JkMount /geode/jsp/j_security_check  ajp13
> >     JkMount /geode/*.jsp  ajp13
> > </VirtualHost>
> > 
> > 
> > 
> > 
> >>OK, but where's mod_jk.conf?  That's the critical file!
> >>
> >>John
> >>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to