Hi ,

  this is the modifictaion i made in workers2.properties file:
------------------------------------------------------------------------------------------------------------------------
[channel.socket:localhost:8009]

info=Ajp13 forwarding over socket

debug=0

tomcatId=localhost:8009

# define the worker

[ajp13:localhost:8009]

channel=channel.socket:localhost:8009

group=lb

[uri:/cert]

info=Colavo Authentication.

debug=0

[uri:/]

info=Colavo Authentication.

debug=0

[uri:/event]

info=Colavo Authentication.

debug=0

[uri:/status]

[uri:/status02]

info=Colavo Authentication.

debug=0
-------------------------------------------------------------------

then i added

LoadModule jk2_module modules/mod_jk2.so
inside httpd.conf file in apache.

now i can succesfully run

http://serverIP/status
http://serverIP/cert?username=....&password=...

this is working fine. but i need to restrict from opening this URL from my
systtem

that url should ask for authorization required (401 error)

but the problem is i am able to run this url of server located in Japan from
my system also. which i should restrict.

i need to do some changes in httpd.conf file itself..

please help me forward







On 4/4/07, JOHN <[EMAIL PROTECTED]> wrote:

Please show us the setup files...



----- Original Message -----
From: "sunil chandran" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, April 04, 2007 9:02 AM
Subject: problem in handlins request for JK2


> Hello all,
>
>                  I am Sunil C.
>                  i have used JK2 connector to connect Apache and Tomcat
> I am having a servlet (Certserv) folder in webapps folder in Tomcat.
> i gave uri to that cert program in my workers2.properties file.
>
> everything is working fine.
>
> but i face a secuirty issue. this machine is in other domain. i mean
> Japan.
> i did a remote login and checked the uri . its working fine.
>
> the real problem lies ...when i type the uri from my machine. it should
> show
> "authentication required"
> because that folder is authentication restricted.
> but now ..i am able to run the uri from machine also.
>
> please tell me how can i restrict it.
>
> i tried giving :
>
> <Location "/cert">
>        JkUriSet worker ajp13:localhost:8009
>    </Location>
>
> but it doesnt seem to work.
>
> is there something i have to include in my httpd.conf file of Apache?
>
> please help me forward
>
> thanks in advance.
>
>
>
>
> --
> Sunil
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Sunil

Reply via email to