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...Language and In...Language and In...Cannot get to page by physical pathCannot get to page by physical path
Previous
 
Next
New Post
4/1/2010 10:35 AM
 

Hi, I've got a little situation here, which is generally linked to this subforum.
Basically, I've got a few HTML/Text modules across the site, which sometimes have hyperlinks in them to other pages. Normally, not a problem, a user can go to the page and copy the link, then past it in the HTML module. 
However, the DNN URL contains the current running culture, meaning the link being copied is not very useable because it will not consider any user's current language when clicking that link.

What I did in my development environment was try to use the physical path e.g. /ParentPageName/SubPageName.aspx. And it works perfectly. On the other hand, when I try the same, on the same site/server (IIS on dev PC in network) from another PC, I get a resource not found 404 exception. The same with various hyperlinks that may reside in custom modules.

I also have custom user controls in the skin which build a menu using a asp:menu control with items bound from an xml file on the server. The navigateURLs in the xml file also refer to the pages this way, but obviously suffer the same issues when attempting to use them from another PC.

I suppose it's something like not allowing users to list contents of a folder, but I'm not listing a folder, but accessing an actual page. Any idea what the problem is and how to fix it?

 
New Post
4/1/2010 12:47 PM
 
there is no "physical" path. the physical path would be /default.aspx?tabid=132 (or whatever id the page is having. if an URL is working on one pc and not on the same install on another pc, there might be different url rewriting be applied, the site is residing in a sub directory or sth like this.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/1/2010 2:50 PM
 

Well, by physical path, I meant the path as you'd see it in the treeview on the pages page.

Basically a link in a menu with navigateURL "~/custompage.aspx" will work on the dev pc, but clicking that same link on the external connecting pc gives a 404.
Same for "~/custompage/subcustompage.aspx" actually. Kinda strange. URL in the browser's correct though.

The app itself is hosted in IIS under a root site as per usual. The dev pc of course doesn't have a DNS configured and the site's connection string goes to localhost. I connect to the site using the PC's IP/sitename. If any of that rings a bell as to why that would result in a 404 ...

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Cannot get to page by physical pathCannot get to page by physical path


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