Tomcat 6 / Apache 2.2 integration problem (no images, no css loaded)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to use my tomcat 6 over Apache 2.2. I have deployed a war called
sw-builder.war into the webapps folder of the tomcat instance. After
restarting tomcat and apache Tomcat extracts the war into the webapps folder
and into the temp folder (temp/0-sw-builder). The directory structure of
sw-builder is :


sw-builder
 login.jsp
 |_ images
 |_ css

Now I have the problem, that when I call
http://localhost/sw-builder/login.jsp no images will be displayed. Here the
error log entries.

[Wed Mar 19 14:57:10 2008] [notice] Child 4384: Child process is running
[Wed Mar 19 14:57:10 2008] [notice] Child 4384: Acquired the start mutex.
[Wed Mar 19 14:57:10 2008] [notice] Child 4384: Starting 64 worker threads.
[Wed Mar 19 14:57:10 2008] [notice] Child 4384: Starting thread to listen on
port 80.
[Wed Mar 19 14:57:27 2008] [error] [client 127.0.0.1] client denied by
server configuration:
E:/server/apache-tomcat-6.0/temp/0-sw-builder/images/blank.gif, referer:
http://localhost/sw-builder/login.jsp
[Wed Mar 19 14:57:27 2008] [error] [client 127.0.0.1] client denied by
server configuration: E:/server/apache-tomcat-6.0/temp/0-sw-builder/ci.css,
referer: http://localhost/sw-builder/login.jsp

I am using the auto configuration of tomcat which creates following
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
casematches
    #
    <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
----------------------------------------------------------------------------
------------------------------------

The workers.properties looks like this:
----------------------------------------------------------------------------
------------------------------------
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
----------------------------------------------------------------------------
------------------------------------

In my http.conf I added the following lines:

----------------------------------------------------------------------------
------------------------------------
...
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>
...
----------------------------------------------------------------------------
------------------------------------

Can anybody help me with that problem?

Thanks



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux