Hi!
The mechanism for Apache -> Tomcat should be like
Apache encounters request with .jsp,
forward the requets to Tomcat,
Tomcat process the JSP file.
However, the location of the jsp file (under contextdir) for tomcat to locate is
not relevant to the location indicated by Apache (under DocumentRoot of the Virtual
host) Tomcat has no idea on where to find the file.
Arion
Peter Beno wrote:
> Hi there
> I have apache + tomcat on linux (running with default config correctly) but
> i would like to set is so that it handles all .jsp files from normal apache
> htdocs directory as well as from all virtual hosts (not from some special
> dirs configured to tomcat), ana if possible so that i don't have to confingure
> tomcat for every virtual host separately. (Like php, when i specify
> AddType application/x-httpd-php .php in httpd.conf, every .php is interpreted
> by php engine, nothing more have to be done for each directory or virtual host.
> I would like the same for .jsp and tomcat)
> Thanks
> Pete
--
[This email and any files transmitted with it are confidential and may contain
information that is legally privileged. They are intended solely for the
addressee(s). Access to this email by anyone else is unauthorized. If you are not
the intended recipient, please delete it and notify the sender by email
immediately; you should not copy or use it for any purpose, nor disclose its
contents to any other person. Thank you.]