On 13/05/2010 01:15, Markus Mehrwald wrote:
> Hi,
> 
> I installed mod_jk and it works perfect except of a little strange
> problem. I let handle tomcat everything except of static files which the
> following lines in the virtual host for port 80 and the same for port 443:

Exact OS, JVM, Tomcat, mod_jk versions?

> # Send servlet for context / jsp-examples to worker named worker1
> JkMount /* worker1
> 
> # Static files in Tomcat webapp context directory are served by apache
> JkAutoAlias /opt/tomcat/webapps/ROOT

This directive should point to the webapps directory, rather than the
ROOT application.

 JkAutoAlias /opt/tomcat/webapps


p

> JkUnMount /*.jpg  worker1
> JkUnMount /*.gif  worker1
> JkUnMount /*.png  worker1
> JkUnMount /*.js   worker1
> JkUnMount /*.css  worker1
> 
> This works great for port 80 but for port 443 the javascript for the
> myfaces popup component gets a http 404
> (/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12737082/popup.HtmlPopupRenderer/JSPopup.js).
> Every other javascript can be retrieved on port 80 as well as on port 443.
> 
> Can anyone explain how this can happen?
> 
> Thanks,
> Markus
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to