You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Shu Yan Chan (UK)" <sh...@eu.citrix.com> on 2000/08/21 15:14:39 UTC
using multiple redirector in IIS
Is it possible to set up and use more then one instance of
isapi_redirect.dll filter?
I am trying to figure out how to set authenication for servlet without using
JSP.
It seems to me that it is only possible by setting the authenication to the
virtual directory where the filter is ini (e.g. the jakarta virtual
directory as suggested by the documentation), but then all servlet have the
same access control method... I need a bit more flexibility...
Any suggestion would be appreciated.
Thanks.
Yours,
Shu Yan
Re: using multiple redirector in IIS
Posted by Jens Mønster Sørensen <jm...@mobite.com>.
Good question !!! I asked about the same thing a while back, but recieved no
answer.
The rather ugly solution I'm using at this point is that I have edited the
jk_isapi_plugin.c
#define REGISTRY_LOCATION ("Software\\Apache Software
Foundation\\Jakarta Isapi Redirector\\1.0")
to another location for each different setup I need and then recompile the
dll, so I end up with different dll's for each virtual directory that needs
different acces rights. E.g :
#define REGISTRY_LOCATION ("Software\\Apache Software
Foundation\\Jakarta Isapi Redirector\\1.0\\adm")
> recompile
#define REGISTRY_LOCATION ("Software\\Apache Software
Foundation\\Jakarta Isapi Redirector\\1.0\\pub")
> recompile
This actually works as long as you access the different virtual dirs with
different instances of MS Internet Explorer (IE) the first time you access
them. Then after that you can access them interchangably through the same IE
instance (wierd!!!). If you on the other hand, do not follow this procedure
your IIS web site will actually crash!!! Which is obviously NOT good.
So I am right now working on an basic authorisation filter dll of my own to
get around this problem. But if someone out there has another solution I too
would be very happy to hear about it :-)
Thanks in advance
/Jens
----- Original Message -----
From: Shu Yan Chan (UK) <sh...@eu.citrix.com>
To: <to...@jakarta.apache.org>
Sent: Monday, August 21, 2000 15:14
Subject: using multiple redirector in IIS
> Is it possible to set up and use more then one instance of
> isapi_redirect.dll filter?
> I am trying to figure out how to set authenication for servlet without
using
> JSP.
> It seems to me that it is only possible by setting the authenication to
the
> virtual directory where the filter is ini (e.g. the jakarta virtual
> directory as suggested by the documentation), but then all servlet have
the
> same access control method... I need a bit more flexibility...
> Any suggestion would be appreciated.
> Thanks.
>
> Yours,
> Shu Yan