Title: Deployment Glitch

Hi,

With the right mod_jk I was successful at integrating Tomcat in Apache, now I am experiencing some troubles deploying an app. It seems I have configured my server.xml right (I can access my webapp with Tomcat port), but not my mod_jk.conf (I cannot access my webapp on default port 80)... I am attaching my mod_jk.conf so if one could have a look and tell me what I am doing wrong ;O)

Thanks for your help, Frederick


---------------------------------------------------------------
  ("`-''-/").___..--''"`-._
   `6_ 6  )   `-.  (     ).`-.__.`)       Frederick Aubert
   (_Y_.)'  ._   )  `._ `. ``-..-'
 _..`--'_..-_/  /--'_.' ,'                [EMAIL PROTECTED]
(il),-''  (li),'  ((!.-'
---------------------------------------------------------------

<IfModule !mod_jk.c>
  LoadModule jk_module modules/mod_jk.dll
</IfModule>

JkWorkersFile "D:/Server/Apache Group/Tomcat 4.1/conf/mod_jk/workers.properties"
JkLogFile "D:/Server/Apache Group/Tomcat 4.1/logs/mod_jk.log"
JkLogLevel emerg


#################### /tomcat-docs ####################
# Static files 
Alias /tomcat-docs "D:/Server/Apache Group/Tomcat 4.1/webapps/tomcat-docs"

<Directory "D:/Server/Apache Group/Tomcat 4.1/webapps/tomcat-docs">
    Options Indexes FollowSymLinks
    DirectoryIndex index.jsp index.html index.htm 
</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 "D:/Server/Apache Group/Tomcat 4.1/webapps/tomcat-docs/WEB-INF/">
    AllowOverride None
    deny from all
</Directory>

<Directory "D:/Server/Apache Group/Tomcat 4.1/webapps/tomcat-docs/META-INF/">
    AllowOverride None
    deny from all
</Directory>

JkMount /tomcat-docs  ajp13
JkMount /tomcat-docs/*  ajp13


#################### /examples ####################
# Static files 
Alias /examples "D:/Server/Apache Group/Tomcat 4.1/webapps/examples"


<Directory "D:/Server/Apache Group/Tomcat 4.1/webapps/examples">
    Options Indexes FollowSymLinks
    DirectoryIndex index.jsp index.html index.htm 
</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 "D:/Server/Apache Group/Tomcat 4.1/webapps/examples/WEB-INF/">
    AllowOverride None
    deny from all
</Directory>


<Directory "D:/Server/Apache Group/Tomcat 4.1/webapps/examples/META-INF/">
    AllowOverride None
    deny from all
</Directory>

JkMount /examples  ajp13
JkMount /examples/*  ajp13


#################### /manager ####################
# Static files 
Alias /manager "D:/Server/Apache Group/Tomcat 4.1/webapps/manager"


<Directory "D:/Server/Apache Group/Tomcat 4.1/webapps/manager">
    Options Indexes FollowSymLinks
    DirectoryIndex index.jsp index.html index.htm 
</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 "D:/Server/Apache Group/Tomcat 4.1/webapps/manager/WEB-INF/">
    AllowOverride None
    deny from all
</Directory>


<Directory "D:/Server/Apache Group/Tomcat 4.1/webapps/manager/META-INF/">
    AllowOverride None
    deny from all
</Directory>

JkMount /manager  ajp13
JkMount /manager/*  ajp13


#################### /webdav ####################
# Static files 
Alias /webdav "D:/Server/Apache Group/Tomcat 4.1/webapps/webdav"


<Directory "D:/Server/Apache Group/Tomcat 4.1/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 "D:/Server/Apache Group/Tomcat 4.1/webdav/manager/WEB-INF/">
    AllowOverride None
    deny from all
</Directory>


<Directory "D:/Server/Apache Group/Tomcat 4.1/webdav/manager/META-INF/">
    AllowOverride None
    deny from all
</Directory>

JkMount /webdav  ajp13
JkMount /webdav/*  ajp13

#################### /RHN ####################
# Static files 
Alias /RHN "F:/Cassiopee Projects/RHN Project/RHN Publish/RHN"

<Directory "F:/Cassiopee Projects/RHN Project/RHN Publish/RHN">
    Options Indexes FollowSymLinks
    DirectoryIndex index.jsp index.html index.htm
</Directory>


# Deny direct access to WEB-INF and META-INF
#
<Location "/RHN/WEB-INF/*">
    AllowOverride None
    deny from all
</Location>

<Location "/RHN/META-INF/*">
    AllowOverride None
    deny from all
</Location>

#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "F:/Cassiopee Projects/RHN Project/RHN Publish/RHN/WEB-INF/">
    AllowOverride None
    deny from all
</Directory>

<Directory "F:/Cassiopee Projects/RHN Project/RHN Publish/RHN/META-INF/">
    AllowOverride None
    deny from all
</Directory>

JkMount /RHN  ajp13
JkMount /RHN/*.jsp ajp13


#################### /RHNDev ####################
# Static files 
Alias /RHNDev "F:/Cassiopee Projects/RHN Project/RHN Dev/RHN"

<Directory "F:/Cassiopee Projects/RHN Project/RHN Dev/RHN">
    Options Indexes FollowSymLinks
    DirectoryIndex index.jsp index.html index.htm
</Directory>


# Deny direct access to WEB-INF and META-INF
#
<Location "/RHNDev/WEB-INF/*">
    AllowOverride None
    deny from all
</Location>

<Location "/RHNDev/META-INF/*">
    AllowOverride None
    deny from all
</Location>

#
# Use Directory too. On Windows, Location doesn't work unless case matches
#
<Directory "F:/Cassiopee Projects/RHN Project/RHN Dev/RHN/WEB-INF/">
    AllowOverride None
    deny from all
</Directory>

<Directory "F:/Cassiopee Projects/RHN Project/RHN Dev/RHN/META-INF/">
    AllowOverride None
    deny from all
</Directory>

JkMount /RHNDev  ajp13
JkMount /RHNDev/*.jsp ajp13
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Reply via email to