Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Lutz Zetzsche
Hi Stanislav, Stanislav Bauer schrieb: > So I'm working now with just one domain :-), say www.domain.com. But > instead to go directly to the jsp-webapp I have to write > www.domain.com/contextname/ with virtualhost like this: > > > ServerName www.domain.com > JkMount /contextname/* worke

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
So I'm working now with just one domain :-), say www.domain.com. But instead to go directly to the jsp-webapp I have to write www.domain.com/contextname/ with virtualhost like this: ServerName www.domain.com JkMount /contextname/* worker1 Then the JSP-pages work like expected. But how is

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Lutz Zetzsche
Hi Stanislav, Stanislav Bauer schrieb: > I have now a config that seams to work but: > > 1) I have a second domain pointing to the same IP, say www.domain2.com > 2) I put JkMount /domain/* worker1 into , where I > have also JkWorkersFile aso > 3) Now if I write www.domain2.com/domain I get the rig

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
OK, First thanks for the patience. I have now a config that seams to work but: 1) I have a second domain pointing to the same IP, say www.domain2.com 2) I put JkMount /domain/* worker1 into , where I have also JkWorkersFile aso 3) Now if I write www.domain2.com/domain I get the right reaction But

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Lutz Zetzsche
Hi Stanislav, Stanislav Bauer schrieb: > Hmm, when I remove index.jsp then I get just a directory listing. > > Concerning the mining, how should the structure be then? Where should > DocumentRoot normaly point to? > > I thought it works that way: > 1) Take the pages from DocumentRoot > 2) If it is

RE: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Boocock, John \(CSS\)
he pattern doesn't match. Regards John Boocock -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] Sent: 13 May 2005 10:21 To: Tomcat Users List Subject: RE: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12 Hi John, Boocock, John (CSS) schrieb: > If I go to

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
Maybe it would be sufficient to write JkMount differently but I dont know how for matching http://www.domain.com The examples seam to be written just for test scenarios, but not if you arrive to the server with http://www.domain.com Thanks SB Lutz Zetzsche wrote: Hi Stanislav, Stanislav Bauer s

RE: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Lutz Zetzsche
Hi John, Boocock, John (CSS) schrieb: > If I go to www.domain.com/context/index.jsp I get a page as expected > > If I go to www.domain.com//context/index.jsp I get the source code, also > this isn't just on one context or the index.jsp file, we run quite a few > contexts and it consistently displa

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
Hmm, when I remove index.jsp then I get just a directory listing. Concerning the mining, how should the structure be then? Where should DocumentRoot normaly point to? I thought it works that way: 1) Take the pages from DocumentRoot 2) If it is *.jsp pass it to TC and TC will execute them 3) Other

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Lutz Zetzsche
Hi Stanislav, Stanislav Bauer schrieb: > In apaches httpd.conf I also added index.jsp to the DirectoryIndex. oh, bad idea! As Apache shouldn't serve jsp pages itself, you shouldn't instruct Apache to look for an index.jsp in case of a request like http://www.domain.com/dir/. Remove index.jsp fr

RE: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Boocock, John \(CSS\)
ugh for any context which is 'split' between Apache and Tomcat, if for instance I send everything to tomcat by using Any suggestions? Regards John Boocock -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] Sent: 13 May 2005 09:13 To: Tomcat Users List Subject: Re

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
er [mailto:[EMAIL PROTECTED] Sent: 13 May 2005 09:08 To: Tomcat Users List Subject: Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12 No its no a problem of finding the right file. It shows the right one, i.e. index.jsp but it shows the source and does not execute it. It seems to be for dynamic

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
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, St

RE: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Raghupathy,Gurumoorthy
Can you tell me the listing of the /.../webapps/domain directory ? Regards Guru -Original Message- From: Stanislav Bauer [mailto:[EMAIL PROTECTED] Sent: 13 May 2005 09:08 To: Tomcat Users List Subject: Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12 No its no a problem of

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Lutz Zetzsche
Hi Stanislav, Stanislav Bauer schrieb: > I'm trying to connect Apache with TC to serve www.domain.com for > instance. I have a > > > ServerName www.domain.com > DocumentRoot /.../webapps/domain > JkMount /domain worker1 > JkMount /domain/* worker1 > JkAutoAlias / >

Re: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Stanislav Bauer
No its no a problem of finding the right file. It shows the right one, i.e. index.jsp but it shows the source and does not execute it. It seems to be for dynamic pages. For instance I have a response.Redirect() in index.jsp. SB Raghupathy,Gurumoorthy wrote: Try to point your documentroot to poi

RE: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12

2005-05-13 Thread Raghupathy,Gurumoorthy
Try to point your documentroot to point somewhere else and try ... -Original Message- From: Stanislav Bauer [mailto:[EMAIL PROTECTED] Sent: 13 May 2005 08:46 To: Tomcat Users List Subject: mod_jk shows source - Apache 2.0.53 mod_jk 1.2.12 Hi, I'm trying to connect Apache with TC to se