Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Unexpected 302 Redirect ???Unexpected 302 Redirect ???
Previous
 
Next
New Post
2/11/2008 9:38 AM
 

I wrote very simple http module to 301 Redirect old DNN v1.1.10e site URLs to new DNN v4.6.2 site URLs.

At present I haven't setup a local DNN dev environment so I can debug the DNN code I only plugged in the http module I wrote which works in my test project as expected but does not seem to work entirely the DNN site.

From performance point of view I tought it will be better if my module handles only the 404 errors and translates the URLs from a predefined list rather then handling every request. So the http module I wrote only acts only on 404 HTTP context errors where DesktopDefault.aspx and EditModule.aspx are requested. Then I have a a list to translate old IDs to new IDs for tabs and a custom module IDs that are different on the new site.

I noticed that my http module only works for those tabids that already exist in the Tabs table in the database and 302 Redirect is issued before my HTTP module kicks in...

My question is: How DNN handles the http requests? It looks like it is checking for the existence of the tabid and is issuing a redirect to avoid 404 errors!?

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Unexpected 302 Redirect ???Unexpected 302 Redirect ???


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out