https://issues.apache.org/bugzilla/show_bug.cgi?id=50210
Summary: error 404 on access the files in icons directory
Product: Apache httpd-2
Version: 2.0-HEAD
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: worker
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi
I am using jk mod 1.2.26, Tomcat 5.5, Apache 2
JVM Sun 1.6.0_12-b04, OS Debian
workers.properties:
workers.tomcat_home=/usr/share/tomcat5.5
workers.java_home=/usr/lib/jvm/java-6-sun
ps=/
worker.list=worker1
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13
worker.worker1.lbfactor=1
<VirtualHost *:80>
ServerAdmin webmas...@localhost
ServerName www.xyz.fr
ServerAlias www.xyz.com
DocumentRoot /var/lib/tomcat5.5/webapps/xyz
JkMount / worker1
JkMount /* worker1
JkUnMount /*.gif worker1
JkUnMount /*.jpg worker1
JkUnMount /*.css worker1
JkUnMount /*.pdf worker1
DirectoryIndex index.jsp index.html
# Globally deny access to the WEB-INF directory
<LocationMatch ‘.*WEB-INF.*’>
deny from all
</LocationMatch>
</VirtualHost>
Here is the pb:
All pages/files in webapps/wyz are accessible by HTTP request EXCEPT ones in
the webapps/xyz/icons
test.jsp tries to show the icons "expand.gif" in this directory (ie,
webapps/xyz/icons/expand.gif)
error.log:
[Thu Nov 04 09:48:23 2010] [error] [client -client ip-] File does not exist:
/usr/share/apache2/icons, referer: http://www.xyz.fr/test.jsp
other_vhosts_access.log:
www.xyz.fr:80 -client ip- - - [04/Nov/2010:09:48:23 +0100] "GET
/icons/expand.gif HTTP/1.1" 404 266 "http://www.xyz.fr/test.jsp" "Mozilla/4.0
(compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET
CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
There is NO pb with onothers images/icons on anothers directories (for ex,
webapps/xyz/images/*.*)
Why DID Apache see *expand.gif* in /usr/share/apache2/icons and NOT in
webapps/xyz/icons/
If I put expand.gif in /usr/share/apache2/icons, it works
thanks
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]