支持aspx:
首先下载mod_aspdotnet-2.2.0.2006-setup-r2.msi
下载mod_jk_1.2.6_2.0.50.dll
安装Apache
安装mod_aspdotnet-2.2.0.2006-setup-r2.msi,安装之后在Apache的moudles目录生成一个mod_aspotnet.so文件(在安装这个之前一定要安装好Apache和.NET Framework)
将mod_jk_1.2.6_2.0.50.dll拷贝到Apache的modules目录下,重命名为mod_jk.dll
修改httpd.conf文件,在末尾加上:
#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 "C:/Apache24/install/htdocs/active/"
# Map all requests for /active to the application files
Alias /active "C:/Apache24/install/htdocs/active/"
# Allow asp.net scripts to be executed in the active example
<Directory "C:/Apache24/install/htdocs/active/">
Options FollowSymlinks ExecCGI
#Order allow,deny
#Allow from all
DirectoryIndex Default.htm Default.aspx
(active在htdocs目录下)
重启Apache,OK
asp:
前提是安装好Apache1.3.19 jdk-1_5_0_04-windows-i586-p.exe
然后安装 iASP2.1.01.exe
问题就是Apache版本一定要正确,不一定必须是1.3.19,在安装iasp是出现的版本都可以,但是现在一般都不用Apache解析asp了,还是IIS便利点,所以之前安装的Apache2x的版本一直出现C:/Apache24/iasp install/bin/apache/win32/2.0/iasp.dll into server 这个问题。版本对就OK了。