Re: Urlscan with multiple .ini files?
From: Wade A. Hilmo [MS] (wadeh_at_microsoft.com)
Date: 05/22/03
- Next message: Mike Lerch: "ASP.NET, Win2k, SQL 2k on an intranet (w/Kerberos?)"
- Previous message: Tom Pepper Willett: "Re: OE security message"
- In reply to: Roger Abell [MVP]: "Re: Urlscan with multiple .ini files?"
- Next in thread: Roger Abell [MVP]: "Re: Urlscan with multiple .ini files?"
- Reply: Roger Abell [MVP]: "Re: Urlscan with multiple .ini files?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 22 May 2003 09:49:52 -0700
Hi All,
Just to confirm, you can load multiple instances of UrlScan, but they will
all end up reading the same UrlScan.ini file. The reason for this is that,
upon load, UrlScan looks up the location of the config file by looking up
the physical path for the loaded module called "UrlScan.dll" and parsing the
path from it. Unfortunately, in the case of multiple instances, the OS will
always return the physical path to the first instance. As a result, all
instances will refer to the config file of the first loaded instance.
I should note here that UrlScan has always been supported for use only as a
global filter. It is possible to load it as a site filter. This is not
supported, but it *should* work, with the above limitation (and a similar
one with the log file.)
Thank you,
-Wade Hilmo,
-Microsoft
"Roger Abell [MVP]" <mvpNoSpam@asu.edu> wrote in message
news:OUtl979HDHA.2220@TK2MSFTNGP10.phx.gbl...
> Under encouragement from an MS chat I tried this also.
> You have done all of the right things, at least as far as
> any info I have collected on doing this, i.e.
> - removed the global isapi
> - copied dll, ini, inf to separate dirs
> - config'd each ini so the logging is to separate locations
> or made other differences so as to distinguish behaviors
> - defined each copy in each site
> etc.
>
> The behavior I found was that the separate dll's load,
> but they apparently all use the first read ini for config.
>
> I also tried renaming, and even editing within the inf,
> to no avail. In Feb I spoke with one of the posters from
> MS in the Google referenced thread, coming away with
> idea that this is all there is supposed to be to it, but I have
> had no joy doing this in IIS 5.
>
> The statement that when the dll loads it reads the ini from
> its own directory seems untrue. It is more like it does this
> if there is not already an instance of config info it can
> (somehow?) access.
>
> --
> Roger
>
> "Debbie Farris" <anonymous@devdex.com> wrote in message
> news:eyLkFT7HDHA.2000@TK2MSFTNGP10.phx.gbl...
> >
> > Greetings,
> > Still haveing problems.
> > Version of URLscan 2.5, operating system windows 2000
> > Have changed the logging directory in the .ini.
> > Have tried renaming all the files and running them not renamed. Seems
> > like second instance of URLscan isn't running, althought it shows green
> > up arrow. The rules are not being applied to the site, although the
> > rules from the other site are being applied to the second site.
> > Anyone have any ideas?
> > Cheers D.
> >
> >
> > *** Sent via Developersdex http://www.developersdex.com ***
> > Don't just participate in USENET...get rewarded for it!
>
>
- Next message: Mike Lerch: "ASP.NET, Win2k, SQL 2k on an intranet (w/Kerberos?)"
- Previous message: Tom Pepper Willett: "Re: OE security message"
- In reply to: Roger Abell [MVP]: "Re: Urlscan with multiple .ini files?"
- Next in thread: Roger Abell [MVP]: "Re: Urlscan with multiple .ini files?"
- Reply: Roger Abell [MVP]: "Re: Urlscan with multiple .ini files?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|