在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
How to make Apache run ASP.NET / ASP.NET 2.0Don’t ask me why… but i’ve been asked to make Apache run ASP.NET. IT Worked ! Even worked with ASP.NET 2.0 Site ! Following are the instruction to make Asp.Net work under apache: – Install Apache 2.0.54 – Install Mod_AspDotNet – Add at the end of C:\Program Files\Apache Group\Apache2\conf\httpd.conf the following lines #asp.net AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo # Map all requests for /asp to the application files # Allow asp.net scripts to be executed in the /SampleASP example # For all virtual ASP.NET webs, we need the aspnet_client files – Create a directory c:\SampleASP and insert in it the index.aspx – Restart apache server : – Open Explorer and navigate to http://localhost/SampleASP/index.aspx
If everything worked fine you should get a nice asp.net page working. <%@ Page Language="VB" %>
转载自:http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论