Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

HttpHandler ignores subdirectory request

Posted on 2005-02-28
3
Medium Priority
?
1,353 Views
Last Modified: 2008-02-01
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?
0
Comment
Question by:klexys
  • 3
3 Comments
 
LVL 13

Accepted Solution

by:
davidlars99 earned 1200 total points
ID: 13425706
don't you have to have something like this...? simply put "web.config" file into "browse"

<add verb="*" path="*.aspx" validate="false" type="oGallery.BrowseHandler, oGallery" />

and path must be valid to where you are requesting custom handler class from

0
 
LVL 13

Expert Comment

by:davidlars99
ID: 13425724
did you map "aspnet_isap.dll" file within project's properties window? you also have to register ".aspx" extension in the same properties window
0
 
LVL 13

Expert Comment

by:davidlars99
ID: 13425867
or

<add verb="*" path="browse/*.aspx" validate="false" type="oGallery.BrowseHandler, oGallery" />
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question