Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Apache is a widely used network server program. It is not only widely used on UNIX/LINUX platforms, but also many websites on Windows platforms that have abandoned IIS and switched to Apache.
. NET is a powerful development technology launched by Microsoft. Its goal is to compete with Java. ASP. NET is very suitable for small and medium-sized enterprise Web applications, and its performance is greatly improved compared with ASP3.0.
The following describes how to enable Apache to support ASP. NET.
First, you must have support for the Windows environment and. NET Framework. It is also recommended to install and install. NET development tools such as. NET Framework SDK or Visual Studio. NET. Note that Windows versions are 2000, 2003, and XP. The. NET Framework cannot be installed in the Win9X series.
Then install Apache. Use Apache of Win32 Platform, version 2.0 or later. Version 2.0.51 is recommended. Download address:
For more information about the installation process, see other articles.
Download and install the ASP. NET Module in the Apache environment. Download address:
After the download is complete, double-click it and install it one by one.
To facilitate management, we create an active Directory under the htdocs directory to store the. aspx file. Now you need to make some configuration for the httpd. conf file and add it at the end of the file:
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
# Mount the ASP. NET example application
AspNetMount/active "D:/Program Files/Apache Group/Apache2/htdocs/active"
# Map all requests for/active to the application files
Alias/active "D:/Program Files/Apache Group/Apache2/htdocs/active"
# Allow asp.net scripts to be executed in the active example
<Directory "D:/Program Files/Apache Group/Apache2/htdocs/active">
Options FollowSymlinks ExecCGI
Order allow, deny
Allow from all
DirectoryIndex Default.htm Default. aspx
# For all virtual ASP. NET webs, we need the aspnet_client files
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.