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 ...Friendly URL filter - DonFriendly URL filter - Don't use Friendly URLS on folder X
Previous
 
Next
New Post
9/10/2008 4:25 PM
 

I have some extraneous asp.net folders in my DNN installation that are necessary for an addon to a DNN installation.

Problem:  I need to be able to access http://whatever.com/something/folder/file/default.aspx (this is a physical asp.net page in the something/folder/file/ path off the website root)

DNN takes that url and automatically routes it beack to /default.aspx instead of giving me the page that I want.  I've tried running 4.8.4 with frindly URLS off and on and it still performs the same way.

Question #1 - am I correct in assuming that this is the URLRewrite http module?

Question #2 - I do want friendly URLS on for all DNN related material but I dont want it to touch anything under the folder /something/ (there will end up being approx 300+ subfolders/pages in there when completed).  Is there a filter that can be added that basically says ignore the URL rewrite for folder X?

 
New Post
9/11/2008 10:29 AM
 

let me add, upgraded to 4.9 this morning with the same result.  the problem only appears to be when there is a default.aspx page in one of the deeper folders.  If I call http://whatever.com/something/folder/file/something.aspx it works. calling http://whatever.com/something/folder/file/default.aspx redirects to the default.aspx page at the root.

 
New Post
9/11/2008 6:18 PM
 

please check your Config\SiteUrls.config ,it sounds like you have a rule to rewrite any default.aspx paths - that is not the dnn default as the only default rules are

<RewriterRule>
   <LookFor>.*DesktopDefault.aspx(.*)</LookFor>
   <SendTo>~/Default.aspx$1</SendTo>
  </RewriterRule>
  <RewriterRule>
   <LookFor>.*EditModule.aspx(.*)</LookFor>
   <SendTo>~/Default.aspx$1</SendTo>
  </RewriterRule>
  <RewriterRule>
   <LookFor>.*/TabId/(\d+)(.*)/Logoff.aspx</LookFor>
   <SendTo>~/Admin/Security/Logoff.aspx?tabid=$1</SendTo>
  </RewriterRule>
  <RewriterRule>
   <LookFor>.*/TabId/(\d+)(.*)/rss.aspx</LookFor>
   <SendTo>~/rss.aspx?TabId=$1</SendTo>
  </RewriterRule>
  <RewriterRule>
   <LookFor>[^?]*/TabId/(\d+)(.*)</LookFor>
   <SendTo>~/Default.aspx?TabId=$1</SendTo>
  </RewriterRule>

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/11/2008 6:25 PM
 

yup, tried that already.  I cleared the the last rule "just in case" on both /siteurls.config and config/siteurls.config.

I've also put in seperate web.configs with explicit <remove> tags in it to remove all DNN related modules in the child folders to no avail.

 

 
New Post
9/11/2008 6:32 PM
 

hard to say then, if the paths not been rewritten perhaps it's being redirected - i'd recommend installing httpfiddler http://www.fiddlertool.com/fiddler/ to see if there is a hidden request.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Friendly URL filter - DonFriendly URL filter - Don't use Friendly URLS on folder X


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