title: CruiseControl.Net Dashboard + Apache
body: <p>I'm trying to get cc.net dashboard running on a build machine that also has apache on it.</p>
  
  <p>I've tried installing mod_aspdotnet as described <a href="http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx" rel="nofollow noreferrer">here</a>.  I can run the sample aspx page, but I am unable to get cc.net to run.  Is there some magic I need to do?</p>
  
  <p>For what it's worth, <a href="http://localhost/ccnet" rel="nofollow noreferrer">http://localhost/ccnet</a> manages to redirect me to <a href="http://localhost/ccnet/ViewFarmReport.aspx" rel="nofollow noreferrer">http://localhost/ccnet/ViewFarmReport.aspx</a>  but that gives me a 404 error.</p>
  
  <p>Below is the relevant httpd.conf section:</p>
  
  <pre><code>#asp.net
  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
  
  &lt;IfModule mod_aspdotnet.cpp&gt; 
    # Mount the ASP.NET /asp application
    AspNetMount /ccnet "C:/Program Files/CruiseControl.NET/webdashboard"
    #/SampleASP is the alias name for asp.net to execute
  
    # Map all requests for /asp to the application files
    Alias /ccnet "C:/Program Files/CruiseControl.NET/webdashboard"
    #maps /ccnet request to "C:/Program Files/CruiseControl.NET/webdashboard"
    #now to get to the /ccnet type http://localhost/ccnet
    #It'll redirect http://localhost/ccnet to "C:/Program Files/CruiseControl.NET/webdashboard"
  
    # Allow asp.net scripts to be executed in the /SampleASP example
    &lt;Directory "C:/Program Files/CruiseControl.NET/webdashboard"&gt;
      Options FollowSymlinks ExecCGI
      Order allow,deny
      Allow from all
      DirectoryIndex index.htm index.aspx default.aspx
     #default the index page to .htm and .aspx
    &lt;/Directory&gt;
  
    # 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"
    &lt;Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"&gt;
      Options FollowSymlinks
      Order allow,deny
      Allow from all
    &lt;/Directory&gt;
  &lt;/IfModule&gt;
  #asp.net 
  </code></pre>