Re: Mod_jk returning source code of jsp files

2012-04-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ironclaw, Let's take a step back. On 4/23/12 10:19 AM, ironclaw hand wrote: Thanks Christopher I will address the security issues if I am actually able to get mod_jk to execute a jsp! I tend to agree with André, here and his assertions that

RE: Mod_jk returning source code of jsp files

2012-04-24 Thread ironclaw hand
@tomcat.apache.org Subject: Re: Mod_jk returning source code of jsp files ironclaw hand wrote: Thanks Christopher I will address the security issues if I am actually able to get mod_jk to execute a jsp! No. You should do things right first, in a secure way. And then, when it works, you can

RE: Mod_jk returning source code of jsp files

2012-04-24 Thread ironclaw hand
been asked to install new versions of the software but I cannot even get this working with one apache and localhost tomcat. From: ironclawh...@hotmail.com To: users@tomcat.apache.org Subject: RE: Mod_jk returning source code of jsp files Date: Tue, 24 Apr 2012 08:40:08 +0100 Ok thanks

Re: Mod_jk returning source code of jsp files

2012-04-24 Thread André Warnier
ironclaw hand wrote: Ok thanks for the reply and the points are taken on board but as I said before I havent actually done this before and I am initially trying to get it to work as the existing system does (using the config files from the current installation). I know in an ideal world your

RE: Mod_jk returning source code of jsp files

2012-04-24 Thread ironclaw hand
of the missing uri map issue. As a side note would you reccommend dropping mod_jk and using mod_proxy as some posts suggest? Date: Tue, 24 Apr 2012 11:11:33 +0200 From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: Mod_jk returning source code of jsp files ironclaw hand wrote: Ok

Re: Mod_jk returning source code of jsp files

2012-04-24 Thread André Warnier
ironclaw hand wrote: Andre, Thank you for the detailed response I can see now that the config was probably never actually quite right... I have amended the log level to debug and I now can see this in the mod_jk.log file: [Tue Apr 24 10:45:35.203 2012] [20188:3044006768] [debug]

Mod_jk returning source code of jsp files

2012-04-23 Thread ironclaw hand
Hi, I am attempting to set up apache and tomcat together for the first time on a new machine using some existing configuration files. I am not sure what is happening but it looks like apache is just serving up all files so when i acccess a jsp file I get the source as if tomcat never

Re: Mod_jk returning source code of jsp files

2012-04-23 Thread Igor Cicimov
Put this line Include /etc/httpd/conf/mod_jk.conf inside virtual host. On Apr 23, 2012 9:12 PM, ironclaw hand ironclawh...@hotmail.com wrote: Hi, I am attempting to set up apache and tomcat together for the first time on a new machine using some existing configuration files. I am not

RE: Mod_jk returning source code of jsp files

2012-04-23 Thread ironclaw hand
+1000 Subject: Re: Mod_jk returning source code of jsp files From: icici...@gmail.com To: users@tomcat.apache.org Put this line Include /etc/httpd/conf/mod_jk.conf inside virtual host. On Apr 23, 2012 9:12 PM, ironclaw hand ironclawh...@hotmail.com wrote: Hi, I am attempting

RE: Mod_jk returning source code of jsp files

2012-04-23 Thread Igor Cicimov
/mod_jk.conf: JkWorkersFile cannot occur within VirtualHost section [FAILED] Date: Mon, 23 Apr 2012 22:36:35 +1000 Subject: Re: Mod_jk returning source code of jsp files From: icici...@gmail.com To: users@tomcat.apache.org Put

RE: Mod_jk returning source code of jsp files

2012-04-23 Thread ironclaw hand
. Is the example above what you meant? Date: Mon, 23 Apr 2012 23:10:55 +1000 Subject: RE: Mod_jk returning source code of jsp files From: icici...@gmail.com To: users@tomcat.apache.org Well you need to have JkMount command inside the virtual host so its up to you how to do it. On Apr 23, 2012 10

Re: Mod_jk returning source code of jsp files

2012-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ironclaw, On 4/23/12 9:18 AM, ironclaw hand wrote: So are you saying I should do away with the mod_jk.conf completely? That depends upon what is in mod_jk.conf. Your mod_jk.conf looks like a mix between global mod_jk directives (e.g.

RE: Mod_jk returning source code of jsp files

2012-04-23 Thread ironclaw hand
::mod_jk.c (3365): mod_jk/1.2.35 initialized Date: Mon, 23 Apr 2012 10:04:00 -0400 From: ch...@christopherschultz.net To: users@tomcat.apache.org Subject: Re: Mod_jk returning source code of jsp files -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ironclaw, On 4/23/12 9:18 AM

Re: Mod_jk returning source code of jsp files

2012-04-23 Thread André Warnier
ironclaw hand wrote: Thanks Christopher I will address the security issues if I am actually able to get mod_jk to execute a jsp! No. You should do things right first, in a secure way. And then, when it works, you can start optimising carefully and step by step, and try not to introduce