Difference between revisions of "Installing mod aspdotnet"

From The Uniform Server Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
=[http://evicijum.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
 
First, make sure that you have at least .NET Framework 1.1 installed and also if using XP, you may have to have at least SP1 installed for it to work.
 
First, make sure that you have at least .NET Framework 1.1 installed and also if using XP, you may have to have at least SP1 installed for it to work.
  
Line 6: Line 7:
  
 
In Apache's httpd.conf, add this under the other modules:
 
In Apache's httpd.conf, add this under the other modules:
<pre><nowiki>
+
&lt;pre&gt;&lt;nowiki&gt;
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"
+
LoadModule aspdotnet_module &quot;modules/mod_aspdotnet.so&quot;
  
 
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \
 
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj \
 
                 licx rem resources resx soap vb vbproj vsdisco webinfo
 
                 licx rem resources resx soap vb vbproj vsdisco webinfo
  
<IfModule mod_aspdotnet.cpp>
+
&lt;IfModule mod_aspdotnet.cpp&gt;
  
 
# Mount the ASP.NET example application
 
# Mount the ASP.NET example application
AspNetMount /active "W:/www/active"
+
AspNetMount /active &quot;W:/www/active&quot;
  
 
# Map all requests for /active to the application files
 
# Map all requests for /active to the application files
Alias /active "W:/www/active"
+
Alias /active &quot;W:/www/active&quot;
  
 
# Allow asp.net scripts to be executed in the active example
 
# Allow asp.net scripts to be executed in the active example
  <Directory "W:/www/active">
+
  &lt;Directory &quot;W:/www/active&quot;&gt;
 
   Options FollowSymlinks ExecCGI
 
   Options FollowSymlinks ExecCGI
 
   Order allow,deny
 
   Order allow,deny
 
   Allow from all
 
   Allow from all
 
   DirectoryIndex Default.htm Default.aspx
 
   DirectoryIndex Default.htm Default.aspx
  </Directory>
+
  &lt;/Directory&gt;
  
 
# For all virtual ASP.NET webs, we need the aspnet_client files
 
# For all virtual ASP.NET webs, we need the aspnet_client files
 
# to serve the client-side helper scripts.
 
# to serve the client-side helper scripts.
 
AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) \
 
AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) \
"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
+
&quot;C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4&quot;
"C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
+
&quot;C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles&quot;&gt;
 
Options FollowSymlinks
 
Options FollowSymlinks
 
Order allow,deny
 
Order allow,deny
 
Allow from all
 
Allow from all
  
</IfModule>
+
&lt;/IfModule&gt;
</nowiki></pre>
+
&lt;/nowiki&gt;&lt;/pre&gt;
  
 
For more information, refer to the [http://httpd.apache.org/cli/introduction default website]
 
For more information, refer to the [http://httpd.apache.org/cli/introduction default website]
  
Credits: gopo & TerryLok
+
Credits: gopo &amp; TerryLok
  
 
[http://forum.uniformserver.com/index.php?showtopic=50 Original instructions] by: Olajide Olaolorun (Uniform Server Developer)
 
[http://forum.uniformserver.com/index.php?showtopic=50 Original instructions] by: Olajide Olaolorun (Uniform Server Developer)

Revision as of 01:09, 24 November 2010

This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page

First, make sure that you have at least .NET Framework 1.1 installed and also if using XP, you may have to have at least SP1 installed for it to work.

Download the mod_aspdotnet module here

Install it to the Apache directory, if the W:/ path gives you problem, then use the real path.

In Apache's httpd.conf, add this under the other modules: <pre><nowiki> 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>

  1. Mount the ASP.NET example application

AspNetMount /active "W:/www/active"

  1. Map all requests for /active to the application files

Alias /active "W:/www/active"

  1. Allow asp.net scripts to be executed in the active example
<Directory "W:/www/active">
  Options FollowSymlinks ExecCGI
  Order allow,deny
  Allow from all
  DirectoryIndex Default.htm Default.aspx
</Directory>
  1. For all virtual ASP.NET webs, we need the aspnet_client files
  2. 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" "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> Options FollowSymlinks Order allow,deny Allow from all

</IfModule> </nowiki></pre>

For more information, refer to the default website

Credits: gopo & TerryLok

Original instructions by: Olajide Olaolorun (Uniform Server Developer)