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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Looping PortalAliasLooping PortalAlias
Previous
 
Next
New Post
10/11/2006 4:13 PM
 
I have a freshly posted site in DNN 3.1

My local copy of the site has portal aliases set as

0 - localhost/xyz
3 - localhost/xyz-a
4 - localhost/xyz-secure

This local copy resolves correctly and works just fine.

The "live" copy of the site has portal aliases set as

0 - www.xyz.com
3 - www.xyz-a.com
4 - secure.xyz.com

When I attempt to load www.xyz.com (I can see via HTTP Analyzer) the page repeatedly redirects to itself, infinitely. If I try to load xyz.com - without www. the same thing happens. This happens with all of my portal aliases.

The PortalAlias table is currently the ONLY difference (obviously besides the DNS information set for the domain) between each copy of the web site. I've checked the permissions on the home page in the site settings (via the database tables) and they match on my local copy and the live copy.

So, my question is pretty simple...what am I doing wrong? Why is this page redirecting to itself? Any input would be greatly appreciated.
 
New Post
10/11/2006 5:30 PM
 

If you added the PortalAliases directly to the database then you need to restart the application as these settings are cached.

DotNetNuke Modules from Snapsis.com
 
New Post
10/11/2006 5:43 PM
 
John Mitchell wrote

If you added the PortalAliases directly to the database then you need to restart the application as these settings are cached.


Thank goodness...post has been approved! :)

Sadly, I did this first and now, 4 hours later, I'm still having the same problem.

I have confirmed that the changes are being pulled in from the database by altering the PortalAliases to point back to my development machine (localhost/xyz). This change, obviously, redirects me back to my own local copy which comes up just fine and all is well. Change it back to the actual domain (www.xyz.com) and the redirect loop happens. I've even tried to just use xyz.com without the www prefix and I still have the same looping problem.

Any other thoughts? Sorry if I sound pessimistic, but I'm extremely frustrated :(
 
New Post
10/11/2006 6:18 PM
 
Ok...so, I rebooted the server.

Even though I had made changes to the PortalAliases and they were showing up, in theory PROVING that nothing was cached, the dang thing was caching the values some how and causing the loopback.

ARGH

Many thanks John :)
 
New Post
10/11/2006 10:24 PM
 


Glad you got it working.

One thing that a lot of people do not realize is that there can be many different aliases for the same portal, so you can keep your local portal alias and your production alias in the DB, and they won't interfere with each other.

The reason I knew it was a cached portal alias is because the code will look through your aliases and then re-direct you back to the first one if none of them can be matched to the Url.  If you change the first one in the DB, then it causes this weird problem of an endless redirect.

If you add the portal alias through the UI it will not allow you to change the current alias for this reason.

If you are interested, you can read more about the details of PortalAlias here:

http://blogs.snapsis.com/PermaLink,guid,87c379cc-c700-4eb8-a48d-e778aeef65fa.aspx

 


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Looping PortalAliasLooping PortalAlias


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