Re: Tomcat 6 / Apache 2.2 integration problem (no images / tomcat deploys to temp dir)



Here a part of my http.conf. The name of the webapp is sw-builder:


------------------------------------------------------------------------------------------
Include E:\server\apache-tomcat-6.0\conf\auto\mod_jk.conf

<Directory "E:/server/apache-tomcat-6.0/webapps/sw-builder">
Order allow,deny
Allow from all
</Directory>

------------------------------------------------------------------------------------------

Here the generated mod_jk.conf:

------------------------------------------------------------------------------------------

#################### localhost:/sw-builder ####################

# Static files
Alias /sw-builder "E:/server/apache-tomcat-6.0/temp/0-sw-builder"

<Directory "E:/server/apache-tomcat-6.0/temp/0-sw-builder">
Options Indexes FollowSymLinks
DirectoryIndex index.html index.htm index.jsp
</Directory>


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

<Location "/sw-builder/META-INF/*">
AllowOverride None
deny from all
</Location>
#
# Use Directory too. On Windows, Location doesn't work unless case
matches
#
<Directory "E:/server/apache-tomcat-6.0/temp/0-sw-builder/WEB-
INF/">
AllowOverride None
deny from all
</Directory>

<Directory "E:/server/apache-tomcat-6.0/temp/0-sw-builder/META-
INF/">
AllowOverride None
deny from all
</Directory>

JkMount /sw-builder/*.jsp ajp13
JkMount /sw-builder/*.jspx ajp13
JkMount /sw-builder/student/actionServlet ajp13
JkMount /sw-builder/actionServlet ajp13
------------------------------------------------------------------------------------------


Here the workers.properties:

------------------------------------------------------------------------------------------
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
------------------------------------------------------------------------------------------
.



Relevant Pages

  • Re: Nimda + apache
    ... I think you'll find that the bit at the bottom of your apache .conf file was ... your Tomcat webapps directory. ... > AllowOverride None ... > deny from all ...
    (NT-Bugtraq)
  • Nimda + apache
    ... It is thorough in it's attack and thorough in it's infection. ... ApJServMount /new scanner specifications.eml/servlet /new scanner ... AllowOverride None ... deny from all ...
    (NT-Bugtraq)
  • [SLE] Re: Network question
    ... Deny from all ... # use .htaccess files for overriding, ... "AllowOverride None" means, ... Viel Feind -- Viel Ehr' ...
    (SuSE)
  • Re: htaccess configuration
    ... Taco wrote: ... "deny from all" ... AllowOverride to 'All' ... solved this suse voodoo with .htaccess? ...
    (alt.os.linux.suse)
  • Re: Top Ten PHP Security Hole
    ... > or if just denying: ... > Deny from all ... DirectoryIndex index.php index.html index.htm index.cgi /403.php ... Assuming you have a custom HTTP 403 forbidden script at /403.php, ...
    (comp.lang.php)