klexys
asked on
HttpHandler ignores subdirectory request
This is part of my Web.config file:
<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="browse/*" validate="false" type="oGallery.BrowseHandl er, oGallery" />
</httpHandlers>
When I request:
localhost/oGallery/browse/ 659.aspx
It calls the handler.
But when I request:
localhost/oGallery/browse/ 659/324.as px
I get "The resource cannot be found."
How can I get it to handle both?
<configuration>
<system.web>
<httpHandlers>
<add verb="*" path="browse/*" validate="false" type="oGallery.BrowseHandl
</httpHandlers>
When I request:
localhost/oGallery/browse/
It calls the handler.
But when I request:
localhost/oGallery/browse/
I get "The resource cannot be found."
How can I get it to handle both?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
did you map "aspnet_isap.dll" file within project's properties window? you also have to register ".aspx" extension in the same properties window
or
<add verb="*" path="browse/*.aspx" validate="false" type="oGallery.BrowseHandl er, oGallery" />
<add verb="*" path="browse/*.aspx" validate="false" type="oGallery.BrowseHandl