Home All Groups Group Topic Archive Search About
Author
5 Sep 2006 6:53 PM
Jan Kucera
Hi,
does anybody know about wildcard mapping ASP.NET 2 in IIS6?

Any tutorial?

Thanks,
   Jan

Author
5 Sep 2006 8:08 PM
John Timney (MVP)
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/IIS/5c5ae5e0-f4f9-44b0-a743-f4c3a5ff68ec.mspx

Regards

John Timney (MVP)



Show quote
"Jan Kucera" <kuc***@lupacovka.cz> wrote in message
news:A40ED17A-5661-4346-99C8-2E3786EA7C28@microsoft.com...
> Hi,
> does anybody know about wildcard mapping ASP.NET 2 in IIS6?
>
> Any tutorial?
>
> Thanks,
>   Jan
Author
5 Sep 2006 8:25 PM
Juan T. Llibre
re:
Although it *can* be done, it's a very delicate procedure.

http://support.microsoft.com/default.aspx?scid=kb;en-us;326965

"You should only add the wildcard mapping to the
IIS MIME map as a temporary solution during troubleshooting.

After you have determined that a missing MIME type is the cause of the issue,
remove the wildcard mapping and add the specific mapping for the MIME type
that you need to serve."

David Wang has a number of caveats about wildcard mapping here :
http://blogs.msdn.com/david.wang/search.aspx?q=wildcard+mapping&p=1




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
Show quote
"John Timney (MVP)" <x_j***@timney.eclipse.co.uk> wrote in message
news:qeOdnRBUda2ARGDZRVnyhw@eclipse.net.uk...
> http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/IIS/5c5ae5e0-f4f9-44b0-a743-f4c3a5ff68ec.mspx
>
> Regards
>
> John Timney (MVP)
>
>
>
> "Jan Kucera" <kuc***@lupacovka.cz> wrote in message
> news:A40ED17A-5661-4346-99C8-2E3786EA7C28@microsoft.com...
>> Hi,
>> does anybody know about wildcard mapping ASP.NET 2 in IIS6?
>>
>> Any tutorial?
>>
>> Thanks,
>>   Jan
>
>
Author
5 Sep 2006 8:17 PM
Juan T. Llibre
IIS 6.0 does not have wildcard character MIME mapping and does not serve
any type of extension that is not defined at the MimeMap node in the IIS metabase.

Earlier IIS versions do.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espanol : http://asp.net.do/foros/
===================================
Show quote
"Jan Kucera" <kuc***@lupacovka.cz> wrote in message
news:A40ED17A-5661-4346-99C8-2E3786EA7C28@microsoft.com...
> Hi,
> does anybody know about wildcard mapping ASP.NET 2 in IIS6?
>
> Any tutorial?
>
> Thanks,
>   Jan
Author
5 Sep 2006 9:27 PM
Jan Kucera
Thanks, but I have already read through all relevant David's articles.

The link to the MSDN does not help me, I want to know how this is done with
ASP.NET and how to handle requests then.

MIME type not my case, I need to redirect not existing directories.

Jan
Author
5 Sep 2006 9:42 PM
John Timney (MVP)
Don't think its do-able with asp.net until IIS version 7 is released.  With
IIS6 you have to pipe * through the ISAPI and intercept the request with an
ihttphandler if you want to control it at the asp.net level.

Regards

John Timney (MVP)


Show quote
"Jan Kucera" <kuc***@lupacovka.cz> wrote in message
news:3254021C-2A34-4FE2-BBCB-AB959D5499AE@microsoft.com...
> Thanks, but I have already read through all relevant David's articles.
>
> The link to the MSDN does not help me, I want to know how this is done
> with ASP.NET and how to handle requests then.
>
> MIME type not my case, I need to redirect not existing directories.
>
> Jan
Author
6 Sep 2006 6:36 AM
Jan Kucera
"John Timney (MVP)" <x_j***@timney.eclipse.co.uk> wrote in message
news:-6ydnV_9W5bQcmDZRVnygA@eclipse.net.uk...
> Don't think its do-able with asp.net until IIS version 7 is released.
> With IIS6 you have to pipe * through the ISAPI and intercept the request
> with an ihttphandler if you want to control it at the asp.net level.
>
> Regards
>
> John Timney (MVP)
>
>

Yes, this is probably what I'm trying to do. So what ISAPI dll should I map?
And what then I need to do in the code?

Thanks,
  Jan

AddThis Social Bookmark Button