Dionisio,
2.-the second:
the tomcat and apache works with the mod_jk2, the system returns me the
jsp pages, but if the page has some things (images, css files ....)into
diferents directories (/images/, /js/...) i must to declare them (the
directories) into the workers2.properties file.
Is this normal?
how can i solve?

I usually use Apache aliases to make URLs that point to the context, but not to servlets or JSPs point to the webapp's home directory. Like this:


Alias /yourApp /path/to/tomcat/webapps/yourApp

Now, when someone requests /yourApp/images/logo.jpg, Apache will grab the file from /path/to/tomcat/webapps/yourApp/images/logo.jpg

This has the aded advantage of Apache serving your static content instead of Tomcat.

-chris


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to