Implementation of Asp.net in Apache

Source: Internet
Author: User

1. Install. netframework. (You can select a specific version. We recommend that you install netframework3.5sp1)

2. Install mod_aspdotnet.so, this support apache2.2 is not easy to find, attached http://xiazai.jb51.net/200912/tools/mod_aspdotnet-2.2.0.2006-setup-r2.rar
For more information about apache2.0, visit the internet.

3. modify configuration

Open httpd. conf

Add at lastCopyCodeThe Code is as follows: 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>
# 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 + )/(. *) \ "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>
</Ifmodule>

4. Add
Copy codeThe Code is as follows: aspnetmount/"D:/www"

Remember that D:/www is the directory of your Vm or virtual directory, so that your directory or virtual host can support. net

Related Article

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.