Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  Child portals and login
Previous Previous
 
Next Next
New Post 10/8/2008 3:24 AM
  Niklas Schneider
2 posts
No Ranking


Child portals and login 

Hi,

I'm running DNN 4.9.0 on Vista Ultimate and IIS7. For a portal with many child portals I put all child portal folders in a subfolder "childs", i. e. a physical path would look like "c:\inetpub\wwwroot\dnn\childs\child1". I want for user conveniece the url should be "portal.com/child1". In DNN I changed the portal alias to this value. But this leads to the problem that IIS couldn't resolve this url (404), because it does only exist as portal.com/childs/child1 and not portal.com/child1. Virtual directories would be an overkill for this site. Now I'm routing all requests to asp.net and therefore to FriendlyUrlProvider. But now I discovered an unexpected behaviour: The user has to type a default.aspx at the end of the url for succesful login. Without this the returnurl redirects to portal.com/child1. At the first moment its seems that nothing happend - no admin or system menu, no logout command button. But append default.aspx (or another existing pagename) to the url would bring up the missing menus and shows the correct login state.

What can I do to get this running? Is it possible to always append the pagename of the home tab?

Best regards

 
New Post 10/8/2008 9:44 AM
  Bruce Chapman
572 posts
1st Level Poster


Re: Child portals and login 

Basically your problem is you took all the child portal folders and put them in the childs subfolder.   When you make a request of /portal.com/child1, it will look for the 'default.aspx' file that is placed into the child portal subfolder when you create the child portal.    THis is because IIS will append /default.aspx to the end of a 'path' url, in accordance with the 'default document' setting in your IIS configuration.  If you break this relationship between the Urls and the physical folder structure on the web server, IIS doesn't know how to resolve the request properly, and you get the 404 error.  Adding the /default.aspx on the end (manually) kind of gets around the problem, but not correctly as you have found out.

My advice is to return all the child portals to the website root directory out of the /childs directory.  It might look a little messy but your sites should start working again.

To answer your other question, it is possible to get the pagename of the home tab appearing - just change your site settings so that there is no home page specified.  The Friendly Url Provider will then generate the /home.aspx url for the 'home' page of the site.

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Friendly Url Pr...  Child portals and login
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

If you wish, you can use the Premium Support Service for one-on-one support.