Jump to content
The Uniform Server Community

Installing ASP.NET Module


olajideolaolorun
 Share

Recommended Posts

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 from:

http://www.apache.org/dist/httpd/mod_aspdo...otnet-2.0.0.msi

 

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

 

Edit the httpd.conf file for Apache.

 

# Add under the other modules:
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> 

# Mount the ASP.NET example application 
AspNetMount /active "W:/www/active"

# Map all requests for /active to the application files 
Alias /active "W:/www/active" 

# 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> 

# 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" 
"C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> 
Options FollowSymlinks 
Order allow,deny 
Allow from all 

</IfModule> 

 

For mroe information, refer to the default webiste at: http://httpd.apache.org/cli/introduction

 

Credits: gopo & TerryLok.

 

Thanks

Olajide Olaolorun

Uniform Server Developer

Link to comment
Share on other sites

  • 2 years later...

this is no longer supported by apache - has been dropped...

 

although further search on apache's site brings you another link to try adding the asp.net mod to apache - however, the code you supplied doesn't work as .Net framework's files also have changed since this posting :)

Running Uniserver 3.5 with hMailserver on WinXP

[]D [] []\/[] []D

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Ok, I realized that it (the installer) wouldn't let you continue probably because it wasn't able to find a valid installed version of Apache in the location you've provided to it.

According to a comment on this site, you should use this version instead: http://downloads.sourceforge.net/mod-aspdo...mp;big_mirror=0.

Tell us if that works :)

 

Edit: No, it won't work as this is probably the version you tried and it's for Apache 2.2, which will probably only be shipped in the next version of Uniform Server.

See my post below for the correct instructions (and an apology).

Edited by Minute
Link to comment
Share on other sites

Wait, or is that only for people using Apache 2.2 and having path problems.

Sorry for confusing you, I didn't realize that the 2.0.0 and 2.2.0 were referring to the version of Apache and not the version of mod_aspdotnet :).

 

If the version I linked to above was the one that gave you problems, then you should get http://downloads.sourceforge.net/mod-aspdo...mp;big_mirror=0.

 

This should be the one to work with Uniform Server 3.5, as 3.5 doesn't ship with Apache 2.2 but with 2.0. By the way, the Apache2 directory that you found should be the one Olajide is talking about.

Link to comment
Share on other sites

  • 1 month later...

The link above is out of date. The module that is referred to has since been retired. The new url is :

<a href='http://sourceforge.net/projects/mod-aspdotnet' target='asp'>http://sourceforge.net/projects/mod-aspdotnet</a>

 

This post is just to update the link to the module, I have not determined if the instructions following the download of the module remain the same or need to be modified to accommodate the updated files.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...