Re: Clean display URL on custom error redirect

Tech-Archive recommends: Fix windows errors by optimizing your registry



Okay, so are you Rewriting the path on begin request? I have done
something similar before. You could try rewriting the path again on the
begin request for the error page. Just check that they are going to the
error page, then if they are, read the aspxerrorpath from the query,
and rewrite the path using this value. that way you can have a nice
generic solution that you can use in your other sites. Are you by
chance developing a marketing system for your content so everything has
its own nice categorized folder path?

Charles

.



Relevant Pages

  • Re: httpHandlers
    ... We are only rewriting URLs with aspx extensions e.g. ... "normal" request that needs to be rewritten. ... identfy this as a call to a handler. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The right URL, server.transfer
    ... rewriting solution... ... contacted again and told to request the new page ... I'm afraid you'll need to re-think your solution. ... Sub Application_BeginRequest(ByVal sender As Object, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Newbie - Is there a PHP equivalent of Server.Transfer (in ASP.NET)
    ... stuff in PHP. ... request to a different page from the one that the user requested, ... No. Server.Transfer is IIS' way of doing URL rewriting. ...
    (comp.lang.php)
  • Re: Using RewritePath - but I want to send the user to a 404
    ... By simply not rewriting the URL this should happen. ... Which URL rewriting setup are you using? ... in the db and find the relevant product, and then do a rewritepath to ... I get a request for /products/someoddproduct.aspx which ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Anyone switched from VB to Delphi?
    ... >>aware of they just rewrote everything. ... Rewriting was far easier. ... > Okay, fair enough. ... >>You could say that, yea. ...
    (borland.public.delphi.non-technical)