httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Schneider <schna...@gmx.net>
Subject Re: [users@httpd] Tomcat 6 / Apache 2.2 integration problem (no images, no css loaded)
Date Fri, 21 Mar 2008 05:58:48 GMT
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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>   


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message