|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
wildcard mappingHi,
does anybody know about wildcard mapping ASP.NET 2 in IIS6? Any tutorial? Thanks, Jan
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 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 > > 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 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 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 "John Timney (MVP)" <x_j***@timney.eclipse.co.uk> wrote in message Yes, this is probably what I'm trying to do. So what ISAPI dll should I map? 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) > > And what then I need to do in the code? Thanks, Jan |
|||||||||||||||||||||||