Apache-based Web server. net2.0

Source: Internet
Author: User

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

Contact Us

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: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.