Http and https

2003-10-13 Thread Damnish
Hello
I am using Tomcat 4.1.24 with Apache 2. 
I want to run two context on the server so that one can be accessed by
http or by https.
And one should get accessed only by HTTPS.
Can some one tell me where should i configure this.
Thanks in Advance
Damnish


Tomcat4.1.24 and Apache2.0

2003-07-02 Thread Damnish
Hello 
I am using linux9.0 and jdk1.4.
I have installed tomcat4.1.24 and Apche2.0,
I successfully connected them using mod_jk.
I added a listener object in server.xml for communication between these
two.

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
  modJk=/etc/httpd/modules/mod_jk.so jkDebug=info
  workersConfig=/home/damnish/tomcat24/conf/workers.properties
  jkLog=/home/damnish/tomcat24/logs/mod_jk.log/
   
 
This generate  modjk.conf file in catalina_home/conf/auto/
Which is included in httpd.conf

It is working fine but not in desired way.
What it do it add all the context define in server.xml to mod_jk.conf
and all request coming for this context are forwarded to tomcat.
Suppose I have my webapp having context webapp1 which has
JSP,Images,html pages.
So it add a line in mod_jk.conf
/webapp1/* tomcat
and this redirect all request coming to apache to tomcat.
And all content is served by tomcat including html/images(static
content).
If i create a Alias in httpd.conf for the same app to serve static
content by apache and dynamic by tomcat, I added a Alias line in
http.conf and changed mod_jk.conf 
I replaced old line with this /webapp1/*.jsp tomcat,
As far as my understanding only jsp request should get forwarded to
tomcat and static content should come from Alias defined.
I configured this in Apche1.3.* and it was working in desired way.
But this is not working in this format.
In above case(with Alias) request is not getting forwarded to
tomcat(mod_jk).
It print full jsp as text file in browser.
Am I doing anything wrong.
ANy help in this regard will be appreciated.
Thanks in advance.

Damnish





MOD_JK

2003-07-02 Thread Damnish
Hello 
I am using linux9.0 and jdk1.4.
I have installed tomcat4.1.24 and Apche2.0,
I successfully connected them using mod_jk.
I added a listener object in server.xml for communication between these
two.

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
  modJk=/etc/httpd/modules/mod_jk.so jkDebug=info
  workersConfig=/home/damnish/tomcat24/conf/workers.properties
  jkLog=/home/damnish/tomcat24/logs/mod_jk.log/
   
 
This generate  modjk.conf file in catalina_home/conf/auto/
Which is included in httpd.conf

It is working fine but not in desired way.
What it do it add all the context define in server.xml to mod_jk.conf
and all request coming for this context are forwarded to tomcat.
Suppose I have my webapp having context webapp1 which has
JSP,Images,html pages.
So it add a line in mod_jk.conf
/webapp1/* tomcat
and this redirect all request coming to apache to tomcat.
And all content is served by tomcat including html/images(static
content).
If i create a Alias in httpd.conf for the same app to serve static
content by apache and dynamic by tomcat, I added a Alias line in
http.conf and changed mod_jk.conf 
I replaced old line with this /webapp1/*.jsp tomcat,
As far as my understanding only jsp request should get forwarded to
tomcat and static content should come from Alias defined.
I configured this in Apche1.3.* and it was working in desired way.
But this is not working in this format.
In above case(with Alias) request is not getting forwarded to
tomcat(mod_jk).
It print full jsp as text file in browser.
Am I doing anything wrong.
ANy help in this regard will be appreciated.
Thanks in advance.

Damnish





Mod_jk for apache2.0

2002-04-26 Thread Damnish

Hi All
I am using apache 2.0.35 and tomcat 4.0.3
I am able to integrate them on WINNT using mod_jk
But I can not find binary of mod_jk for linux.
it is not there in
(http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/linu
x/i386/)
the one there is only for apache1.3.
Can anyone tell me url to get the bin of mod_jk for linux for apache2.0.
Thanks
Damnish



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Query

2002-04-08 Thread Damnish

You can start and shutdown from remote location using telnet service.

- Original Message -
From: Shashank [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 08, 2002 4:28 PM
Subject: Re: Query


I don't think you can do it, as Tomcat doesn't give you any tool to do
that. ??

any One ?

Mahesh Sapre wrote:

Hi
   I am an software developer from India.I would like to know how do i
startup and shutdown my tomcat server from remote location?

Regards
   Mahesh Sapre





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Regarding j_security_check

2001-08-29 Thread Damnish

Hi All,
   I am using tomcat 3.2 .and  using JDBCRealm for authintication, It is
working fine.
But has some minor issues. Can anyone tell me some documents where i can
read
inside of j_security_check , How exactly it work?
and where should  i make changes so that it work accoring to my needs.
Thanks and regards
Damnish