Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

isapi filter question

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Issue with W3wp.exe  
Author Message
sender

External


Since: Dec 11, 2003
Posts: 1



(Msg. 1) Posted: Thu Dec 11, 2003 5:27 pm
Post subject: isapi filter question
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello,
I have a quick question about iis and isapi filters.
Is there a way to set up IIS kinda the opposite of how you are suppost to
set up isapi filters?
meaning, I do not want to set up my filter to * or .xyz, or whatever.
I would like to say, iis takes html, htm, css, bmp and everything else goes
to the filter.

Some of our components do not have an extension, such as component/main.
If we set up the filter for * then the filter seems to get overwhelmed.

thanks in advance

 >> Stay informed about: isapi filter question 
Back to top
Login to vote
wadeh

External


Since: Sep 03, 2003
Posts: 115



(Msg. 2) Posted: Thu Dec 11, 2003 6:11 pm
Post subject: Re: isapi filter question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Greg,

I'm not sure what you are asking. ISAPI filters are not invoked at all
based on file extension. They are invoked by event notifications on the
server.

If you do have a filter, then it will get notified any time any of the
events for which it's registered occurs, regardless of the URL. If your
filter gets notified, and it does not want to process the notification for
any particular reason (in your case, due to the file extension in the URL),
then it should just return SF_STATUS_REQ_NEXT_NOTIFICATION from
HttpFilterProc.

One other note: You say that "everything else goes to the filter." Are you
aware that the ISAPI filter architecture is not intended to handle requests?
If you are trying to serve content for everything except the below URLs,
then you should write your filter such that it modifies the URL in
SF_NOTIFY_PREPROC_HEADERS so that the request goes to an ISAPI extension
(ISAPI extensions are specifically intended to handle requests.)

If you would like any further information about this or any other ISAPI
issue, please feel free to post to
microsoft.public.platformsdk.internet.server.isapi-dev, which exists for
this purpose.

Thank you,
-Wade A. Hilmo,
-Microsoft

"greg" <sender.DeleteThis@nospam.com> wrote in message
news:eONsCXCwDHA.2540@TK2MSFTNGP09.phx.gbl...
 > Hello,
 > I have a quick question about iis and isapi filters.
 > Is there a way to set up IIS kinda the opposite of how you are suppost to
 > set up isapi filters?
 > meaning, I do not want to set up my filter to * or .xyz, or whatever.
 > I would like to say, iis takes html, htm, css, bmp and everything else
goes
 > to the filter.
 >
 > Some of our components do not have an extension, such as component/main.
 > If we set up the filter for * then the filter seems to get overwhelmed.
 >
 > thanks in advance
 >
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: isapi filter question 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]