HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogBlog module infinite redirect problemBlog module infinite redirect problem
Previous
 
Next
New Post
1/25/2012 11:57 AM
 

Hello!

I have a problem with infinite redirects if try to click/open a block post. I read many articles/blog posts and so I think to roughly understand what's wrong but have no idea to fix it properly.

Problem description:

- My Dnn is installed in subfolder of shared hosting service. let's call the folder "dnndir"

- in the root folder of the hosting service I use a web.config just for the purpose to use IIS URL-Rewriting. So all URL are "rewritten" to /dnndir . This has the benefit that my url don't show the "dnndir" (www.mydomain.com/... instead of www.mydomain.com/dnndir/...)

- This works all very nice except with the blog module, because of the following:

The blog module module sets as permanlink a link without the "dnndir" in the url (which is nice). But when the request to the blog entry comes the url is rewritten (by IIS7) to "dnndir". Because the "dnndir" is not in the Permalink the blog module now "thinks" it must redirect to the permalink. And then the loop starts again.

If manually add "dnndir" to the permalink in the database then the blog entry get's loaded correctly. But of course it's not nice to manully update the database after each blog entry and it's also not preferable to have the permalink include "dnndir".

So my question is how can I change/turn off the blog modules redirection behavior? Can the problem be fixed with a change to the blog module? If no, could it be fixed by changes to the blog module (for future releases)?

Any help/ideas would be very welcome.

Thanks

Johannes

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogBlog module infinite redirect problemBlog module infinite redirect problem


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.