1. Download Apache HTTP Server: the version I downloaded is apachehttpserverforwindowsv2.2.8.msi.
2. installation is almost always next, but you need to note that when you select the default http port, if IIS is already installed in your system, write some ports (such as 8080) instead of the default port 80. Otherwise, the server will not start after installation. (However, you can also modify the port number of the listen node in the Apache configuration file after installation, and then restart the server ).
3. Download mod_aspdotnet module: the version I downloaded is: mod_aspdotnet-2.2.0.2006-setup-r2.msi.
4. Install the package and click Next.
5. modify the configuration file of the Apache server and add the following to the end of the file: Code : Copy code The Code is as follows: # 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
Aliasmatch "^ /(? I) aspnet_client/system_web/(\ 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
</Directory>
# Keep the above Code by default. You need to modify it based on your actual situation.
# Myweb is a logical path, and the physical path of your Web file is enclosed in double quotation marks.
Aspnetmount/myweb "E: \ webpage \ release"
Alias/myweb "E: \ webpage \ release"
<Directory "E: \ webpage \ release">
Options followsymlinks Indexes
ASPnet files
Order allow, deny
Allow from all
Directoryindex index. aspx default.htm default. aspx
</Directory>
# Asp.net
Then restart the server, open the page to see if the page can be accessed normally, and display the. NET Server-side controls :)