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