Re: Urlscan with multiple .ini files?

From: Wade A. Hilmo [MS] (wadeh_at_microsoft.com)
Date: 05/22/03


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!
>
>



Relevant Pages

  • Re: Pluggable Modules
    ... >properties file with plugins specified? ... obscure file somewhere he has to load into a text editor to edit ... themselves and update the config file. ...
    (comp.lang.java.programmer)
  • YAML config files with environment specific settings
    ... cod I'm able to load the file within my initializer and ... Since this setting is a server location that varies by environment, ... tried to use the by-environment structure and changed my config file to ... error: Uncaught exception: syntax error on line 1, ...
    (comp.lang.ruby)
  • XmlReader Question
    ... parses the config file many times and I do not want to load the config file ... The problem is I am using XMLReader because of speed and after I ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Package siunitx Error: Unit em already defined!
    ... I've redefine the command \degree used by my to \mydegree then I ... load the sinuitx like this and it works well: ... Each config file sets up certain units. ...
    (comp.text.tex)
  • Re: Keyboard model under XFree86-4.3 on a ThinkpPad T40
    ... It doesn't load it, you do. ... You load it by editing the config file to ... say what keyboard you want, or you do it key by key with xmodmap. ... Then modify to taste with xmodmap. ...
    (comp.os.linux.portable)

Loading