如何设置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>
以上问题,可能简单至极,但还是望有高人指点。!
小生在此先行谢过了!