Handler for URL Rewriting

Discussion in 'Windows / IIS' started by connectingindustry, Jun 17, 2009.

  1. Hello,

    I am using httphandler for URL rewriting and added (BusinessProfileRedirect.cs) in the root

    <httpModules>
    <
    add name="BusinessProfileRedirectModule" type="ConInd.WebApp.BusinessProfileRedirect, ConInd.WebApp"/>

    </
    httpModules>

    in web config to call it. The page is working on my local mashine and other server but is not working upon discoundASP.NET server please help thanks in advance.
     
  2. Are you getting any specific errors that may indicate the problem that you're having?
     
  3. no its just displaying discountasp.net error page for page cannot be displayed and asking for check url.

    It is generating error

    HTTP Error 404.0 - Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
    You can see the error

    http://www.connectingindustries.com/Joe
    Please do the needful
     
  4. Need Help for Handler

    Hi,

    I am using handler for URL rewriting it is working on my mashine and on one other server but is not working on discountasp server i am using
    HandleBeginRequest for handling and other imp code along with this
    In web config i have added:

    <httpModules>
    <
    add name="BusinessProfileRedirectModule" type="ConInd.WebApp.BusinessProfileRedirect, ConInd.WebApp"/>

    </
    httpModules>

    But the result i am getting is
    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.


    URL for reference : http://www.connectingindustries.com/joe

    Please help
     
  5. Can you verify if this module requires that it needs to be directly insatlled on the server?
     
  6. Need Help Urgent!

    This module does not need any extra componenet on the server we just need to register it in IIS. I am attaching my class file file which works as handler for reference in .txt format.
     

    Attached Files:

  7. Issue Resolved

    Thanks but i have managed to solve my problem actully including httpmodule i have to add these things also in web config.

    <modules runAllManagedModulesForAllRequests="true">
    <add name="BusinessProfileRedirectModule" type="ConInd.WebApp.BusinessProfileRedirect, ConInd.WebApp"/>

    </modules>
    Which i was not adding before now its working you can check

    http://www.connectingindustries.com/joe
     

Share This Page