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 ...Subfolder as site rootSubfolder as site root
Previous
 
Next
New Post
8/7/2006 9:58 AM
 

Another developer and I share a virtual dedicated server with numerous sites on it, 5 of which use DNN.  I tried to use the host's Plesk interface to auto setup my first DNN site (v3.?) which installs a DNN instance and database for each domain.  During the setup it required me to enter the subfolder where DNN should be installed, so I entered "dnn".  The installation completed perfectly and the site seems to work just fine, however I have to use www.mysite.com/dnn to access it.  What I want is to point the site root to the dnn folder I was forced to create.  So I opened IIS and repointed the home directory of the site to the dnn folder.  Now however I get the following error on Line 43 of my web.config:

Configuration Error

Parser Error Message: The module 'UrlRewrite' is already in the application and cannot be added again

Source Error:

Line 41:   <!-- HttpModules for Common Functionality -->
Line 42:   <httpModules>
Line 43:     <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" />
Line 44:     <add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule, DotNetNuke.HttpModules.Exception" />
Line 45:     <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnlineModule, DotNetNuke.HttpModules.UsersOnline" />

I've tried changing all 5 of the DNN sites to their respective subfolder, but they all then gave the same error.  Normally I would have just installed DNN on my own rather than going through the automated Plesk interface, but being my first DNN site I went the auto route.

How can I point the domain to the subfoder?  Should I manually install DNN 4.x and skip the Plesk auto setup method to setup sites?  Suggestions?

 
New Post
8/8/2006 8:48 PM
 
I have not tried this myself, but check out this entry in the web.config....might be what you are looking for.

<add key="HostHeader" value="" /><!-- Host Header to remove from URL so "www.mydomain.com/johndoe/Default.aspx" is treated as "www.mydomain.com/Default.aspx" -->
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Subfolder as site rootSubfolder as site root


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