Link to home
Start Free TrialLog in
Avatar of klexys
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.BrowseHandler, oGallery" />
            </httpHandlers>

When I request:
localhost/oGallery/browse/659.aspx
It calls the handler.
But when I request:
localhost/oGallery/browse/659/324.aspx
I get "The resource cannot be found."

How can I get it to handle both?
ASKER CERTIFIED SOLUTION
Avatar of davidlars99
davidlars99
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.BrowseHandler, oGallery" />