OK, which information would help you. Is it necessary to point the DocumentRoot somwhere else? I thought it doesnt matter where the sources lie.

Btw you are right, I point DocumentRoot directly to webapps under TC, so I dont have to have it twice.

Thanx
SB

Lutz Zetzsche wrote:

Hi Stanislav,

Stanislav Bauer schrieb:


I'm trying to connect Apache with TC to serve www.domain.com for
instance. I have a

<VirtualHost>
   ServerName www.domain.com
   DocumentRoot /.../webapps/domain
   JkMount /domain worker1
   JkMount /domain/* worker1
   JkAutoAlias /............
</VirtualHost>

But for certain pages I get the source code instead of the TC result.
Wat directive I a have to use?

Directly with :8080 the pages are fine.



Sounds like the pages, where the source code is displayed instead of the result of the processed jsp file, are served by the Apache server itself and not by Tomcat as intended. This is possible because the DocumentRoot of your Apache seems to point directly to your Tomcat web application's directory.

It is difficult to tell you more as you don't give a lot of information.


Best wishes

Lutz


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






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



Reply via email to