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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...solution to the self redirecting problemsolution to the self redirecting problem
Previous
 
Next
New Post
7/15/2008 11:08 PM
 

when i move a copy of my dnn proj from development machine to UAT machine, the dnn proj keep redirecting to the default page. msg showing in IE status bar as: web site found, please wait for reply.  you can see the status bar is blinking ...   firefox will tell u that that is infinite redirecting to the same page. IIS server will never display a err msg.

after some research, i realized quite some people has the same problem and there was no solution.

and after some troubleshoot, i found the problem could be due to
<trust level="Medium" originUrl=".*" />

i enabled this setting when i deployed the proj to a moss server for testing.

after I comment this line in the web.config, everything comes back to normal. Dont have time for further troubleshooting, but i help this post can help you a little bit. I stuck here for almost one whole day.

 

 
New Post
7/16/2008 6:30 AM
 

Timothy Mo wrote

when i move a copy of my dnn proj from development machine to UAT machine, the dnn proj keep redirecting to the default page. msg showing in IE status bar as: web site found, please wait for reply.  you can see the status bar is blinking ...   firefox will tell u that that is infinite redirecting to the same page. IIS server will never display a err msg.

after some research, i realized quite some people has the same problem and there was no solution.

and after some troubleshoot, i found the problem could be due to


i enabled this setting when i deployed the proj to a moss server for testing.

after I comment this line in the web.config, everything comes back to normal. Dont have time for further troubleshooting, but i help this post can help you a little bit. I stuck here for almost one whole day.

 



This problem has been bugging me for a while now ... and it is more than just medium trust, there are some other pieces to the puzzle.  So today I took some time out and worked everything thru, and found the exact source of the bug, and wrote this blog post detailing exactly how to fix it - as far as I know this is the first time all parts of this problem are discussed and solutions given

Fixing infinite redirect loops in DotNetNuke at http://www.bestwebsites.co.nz/dotnetnuke/solving-the-dotnetnuke-redirect-loop/

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
New Post
8/11/2008 1:01 PM
 

The problem is when your home page is disabled, DNN redirect to the portal alias address.

Example:
1. http://www.mysite.com/myalias
2. redirect to http://www.mysite.com/default.aspx?alias=http://www.mysite.com/myalias
3. try to redirect to site home page but DNN find a  page disabled then redirect to http://www.mysite.com/myalias

Thus, if you activate the page, it works fine. This action is made in Default.aspx.vb in page init procedure.

Look how you can reproduce the bug:

In site settings, Splash page in undefined.

The site home page defined (or undefined but the home page is the first page of the site)

In the site home page settings, set Disabled on.

Logout and you will see the result.

If you want to go back to change it, just log in into another site with host user and reenter into your web site.

 

Christian

 


Christian Poirier Computer Analyst TELUQ - Quebec
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...solution to the self redirecting problemsolution to the self redirecting problem


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