On 19/02/2010 07:09, petr kalafatič wrote:
Hi,
I have problem to configure apache and tomcat (ajp13).
I have several virtual hosts (php,jsp). PHP pages are ok, but jsp shows static 
(html) content only.
Someone encountered this problem?

Yes, people who incorrectly configure the Apache document root & Tomcat app root.

Any suggestion ?

Don't share the HTTPD document root with a Tomcat docBase.

You probably have something like a <Context path="" (bad), a docBase="/path/to/http/docroot" (very bad) and a mangled AJP config.

You probably don't have a webapp called ROOT in this host.


You'll need to post your config files, with all passwords and commented parts removed.

How are you connecting the two servers, mod_jk or mod_proxy?

Thanks, Petr

(apache 2.2, tomcat 6, win xp)

Which exact versions? It does matter.



p

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to