DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=44215>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=44215 Summary: jkunmount causes apache to throw permission denied error Product: Tomcat 5 Version: 5.5.25 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: Native:JK AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I was trying to use JkUnMount directive to have gif files served by apache instead of tomcat. The gif files are originally in the webapps/selfservice/images directory. I copied them to the /var/www/html/selfservice/images directory. I am getting apache error message: ****************************************************************************** You don't have permission to access /selfservice/images/welcome.gif on this server. ****************************************************************************** However if I add a rewrite rule: ****************************************************************************** RewriteRule ([^\/\.]+)\.(gif|jpg|jpeg|png|wbmp)$ /selfservice/images/$1.$2 [L] ****************************************************************************** it works fine. My apache conf file is as follows: ********************************************** DocumentRoot /var/www/html LoadModule jk_module modules/mod_jk.so JkWorkersFile "/etc/httpd/workers.properties" JkLogFile "/var/log/httpd/mod_jk.log" JkLogLevel debug JkAutoAlias /usr/share/tomcat5/webapps JkMount /selfservice/* worker1 JkUnMount /selfservice/*.html worker1 JkUnMount /selfservice/*.jpg worker1 JkUnMount /selfservice/*.gif worker1 <VirtualHost *:80> ServerName www.examples.com ServerAlias examples DocumentRoot /var/www/html </VirtualHost> ******************************************** The version of mod_jk is 1.2.21, apache is 2.0.52, tomcat is 5.5.25. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]