如何设置apache?

 发类似的文章已经是第二次了吧。
这次在鸟食轩看到设置apache支持asp.net,也试了试。可是却没有作用。不知缘何?

设置如下:(说明:操作系统是Win2k Prefession,在F:/Internet/X2BlogV3.03下有一个asp.net缘码。把鸟食轩上的代码copy过来,作了修改了-红色所示,也在/htdocs下建了一个文件夹active,在那放了一个asp.net探针。我访问http://127.0.0.1/active/SiteInfo.aspx,提示的是SiteInfo.aspx是否下载的信息。)

#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

<IfModule mod_aspdotnet.cpp>

# Mount the ASP.NET example application

AspNetMount /active "F:/Internet/X2BlogV3.03"

# Map all requests for /active to the application files

Alias /active "F:/Internet/X2BlogV3.03"

# Allow asp.net scripts to be executed in the active example

<Directory "F:/Internet/X2BlogV3.03">

Options FollowSymlinks ExecCGI

Order allow,deny

Allow from all

DirectoryIndex Default.htm Default.aspx

</Directory>

# 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:/WINNT/Microsoft.NET/Framework/v1.1.4322/ASP.NETClientFiles"

<Director "C:/WINNT/Microsoft.NET/Framework/v1.1.4322/ASP.NETClientFiles">

Options FollowSymlinks

Order allow,deny

Allow from all

</Directory>

</IfModule>

以上问题,可能简单至极,但还是望有高人指点。!
小生在此先行谢过了!

转载于:https://www.cnblogs.com/Jesseyu/archive/2006/04/28/387481.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值