ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 使用 Apache 运行 ASP.NET

使用 Apache 运行 ASP.NET

原创 Linux操作系统 作者:iDotNetSpace 时间:2010-03-04 15:35:03 0 删除 编辑

使用 Apache 运行 ASP.NET

 mod_aspdotnet 2.0.0 模块实现。

配置Apache: 

#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 

# Mount the ASP.NET example application 
AspNetMount /active "J:/Working/BIVSS" 
# Map all requests for /active to the application files 
Alias /active "J:/Working/BIVSS" 
# Allow asp.net scripts to be executed in the active example 

Options FollowSymlinks ExecCGI 
Order allow,deny 
Allow from all 
DirectoryIndex Default.htm Default.aspx 

# 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+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" 

Options FollowSymlinks 
Order allow,deny 

Allow from all 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12639172/viewspace-628589/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-01-04

  • 博文量
    2376
  • 访问量
    5765963