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

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

 



Michael Clark schrieb:
Andreas Schneider wrote:
[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


You have denies for the subdirectories of the expanded war but you don't
have an associated allow on that directory.

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

Try adding:

        AllowOverride None
        allow from all


Yes, that's working. My problem is, that this conf file is auto generated (%CATALINA_HOME%/conf/auto/mod_jk.conf). Should I add this
to the http.conf? Is that a security problem to do this?


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



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