I
Ian Turner
Hi,
In an attempt to get every request for a particular virtual directory to go
through ASP.NET I've been trying to add a wildcard application mapping. The
scenario is that any url for that VD, whether it resolves to an actual file
or not, can be intercepted by an HttpModule and ultimately redirected (using
RewritePath) to a resource of my choosing.
I was hoping that just adding the wildcard mapping to the IIS VD would work.
But it doesn't seem to. In fact, now I can't get ANY urls to work - even if
they are to real files. Everything just gives me a 404. This includes aspx,
html, jpg etc...
The mapping I added was for the aspnet_isapi.dll, mapped to the extension .*
and limited to GET,HEAD,POST,DEBUG. I also tried it with all verbs but that
didn't work either. It was added to all the existing mappings the asp.net
registers.
I'm using windows xp pro.
Can anyone offer any guidance?
Cheers
Ian
In an attempt to get every request for a particular virtual directory to go
through ASP.NET I've been trying to add a wildcard application mapping. The
scenario is that any url for that VD, whether it resolves to an actual file
or not, can be intercepted by an HttpModule and ultimately redirected (using
RewritePath) to a resource of my choosing.
I was hoping that just adding the wildcard mapping to the IIS VD would work.
But it doesn't seem to. In fact, now I can't get ANY urls to work - even if
they are to real files. Everything just gives me a 404. This includes aspx,
html, jpg etc...
The mapping I added was for the aspnet_isapi.dll, mapped to the extension .*
and limited to GET,HEAD,POST,DEBUG. I also tried it with all verbs but that
didn't work either. It was added to all the existing mappings the asp.net
registers.
I'm using windows xp pro.
Can anyone offer any guidance?
Cheers
Ian