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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Apache running DotNetNukeApache running DotNetNuke
Previous
 
Next
New Post
6/12/2006 4:12 PM
 

Today I just wanted it to know. I've downloaded

and installed them, Apache as a console application running on port 8080. 

Afterwards I have copied  a fresh DotNetNuke 3.2.2 to c:\dnn, created a new database and configured my web.config like usual.

Now I have to setup apache to use asp.net and to create a virtual directory dnn. So I added the following lines:

LoadModule aspdotnet_module modules/mod_aspdotnet.so

# Use the asp.net handler for all common ASP.NET file types
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \
                   licx rem resources resx soap vb vbproj vsdisco webinfo

<IfModule mod_aspdotnet.cpp>

    # Mount the DotNetNuke  application
    AspNetMount /dnn "C:/dnn"

    # Map all requests for /StoreCSVS to the DotNetNuke application files
    Alias /dnn "C:/dnn"

    # Allow asp.net scripts to be executed inside DotNetNuke
    <Directory "C:/dnn">
        Options FollowSymlinks ExecCGI
        Order allow,deny
        Allow from all
        DirectoryIndex Default.htm Default.aspx
    </Directory>

    # For all virtual ASP.NET webs, we need the aspnet_client files
    # to serve the client-side helper scripts.
    AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) \
          "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
    <Directory \
          "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
        Options FollowSymlinks
        Order allow,deny
        Allow from all
    </Directory>

</IfModule>

[Original version: http://httpd.apache.org/mod_aspdotnet/introduction#example]

I started apache, opened IE, navigate to http://localhost:8080/dnn and DotNetNuke started its installation - just for a few seconds to raise an error. Hiting [F5], new start of the installation, everything went through. Opened portal site, error again, [F5] and...

It worked, start page was showing up.

Further navigation was not possible as FriendlyUrls did not work. So I changed the settings by hand inside the hostsettings table and restarted apache.

Now it am able to login as host and open the admin pages. I am currently fighting with some java script errors, for example I can't add new pages. It is still far from production though this was more than I expected. I never worked with apache before and I was lucky to see what is possible in just about an hour.

Last notice:

It is quick. I have never seen such a fast startup of a dotnetnuke application using IIS. If I start a new apache process and  navigate to DNN it just takes about 8s before it is finally rendered.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Apache running DotNetNukeApache running DotNetNuke


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