On Monday, 9 בJanuary 2006 20:28, Nelson Maisonet wrote:
> Problem: Everything works perfectly when accessing through localhost.
> However, when I try to go through the net (domain name), instead of
> displaying the website created in .jsp it simply displays the code.
>
> Background: I ran the tomcat server by itself for quite some time
> without any problems, but now I need the functionality of a
> full-fledged http server so I'm adding apache and connecting them
> together with mod_jk. Only things changed in the tomcat setup is what
> the guide asked to be added. Guide used:
> http://mpcon.org/apacheguide/jsp.php

you are probably accessing the JSP files through the apache server 
instead of directly through tomcat, and mod_jk isn't configured 
properly for apache and doesn't handle the JSP files. instead apache 
handles them directly.

You might want to go over the apache error log and the mod_jk log (as 
specified in the mod_jk configuration) and see if you see any 
interesting error messages.

-- 
Oded

::..
It's easy to identify people who can't count to ten. They're in front of 
you in the supermarket express lane.

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

Reply via email to