Apache with mod_aspnet

Post Reply
Site Admin
Posts: 3461
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Hearland

Apache with mod_aspnet

Post by Masher » Wed Jul 02, 2008 3:01 pm

This is depreciated, and probably won't work anymore, and we do not support it under Windows anylonger ....
Get the latest version of Apache 2.2.x
Download the latest version of mod_aspnet for Apache 2.2 (module for 2.0 is available also if you are already using that version of Apache)
  • Install Apache like anyother program.
  • Install mod_aspnet like anyother program, but pay attention to make sure it installs to where Apache is. (\Program Files\Apache Software Foundation\Apache2.2 by default)
  • Delete the files in <WhereApacheIsInstalled>\htdocs. Then copy the Web Control Panel files to this folder.
  • Open <WhereApacheIsInstalled>\conf\httpd.conf
  • Paste the following to the bottom of the file. Be sure to set the correct path for the AspNetMount and Directory Directive

    Code: Select all

    LoadModule aspdotnet_module "modules/mod_aspdotnet.so" 
    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> 
    AspNetMount / "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" 
    # Map all requests for asp to the application files--uncomment if UGCC is in a subdirectory of htdocs and update virtual path and path
    #Alias /ugcc "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs" 
    <Directory "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs"> 
    AspNet On
    Options FollowSymlinks ExecCGI
    Order allow,deny 
    Allow from all 
    DirectoryIndex Default.aspx index.htm index.aspx 
    # 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 
  • Restart apache and try to access http://localhost in a web browser. You should see the Login page or an error page (ok at this point)
  • Proceed to Configuring the Web Control Panel
Please do not PM me unless asked to! We are a small company and if you have an issue or question it would be best to post it in the forums where it can help others in the future.

Need an affordable web control panel? Try UGCC.

Post Reply