我正在尝试获取Trac upp并使用以下常见问题解答在IIS/w2008服务器上运行:TracOnWindowsIisAjp
一切都在3点之前。安装用于IIS的Tomcat AJP连接器“工作正常。 然后我将我的目录定义为:C:\wwwroot\trac.evju.biz公司\AJP\,在bin目录中,我放置了dll文件和3个配置文件,其中包含以下内容:
isapi_重定向-1.2.26.properties #ISAPI重定向程序的配置文件
# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/AJP/isapi_redirect-1.2.26.dll
# Full path to the log file for the ISAPI Redirector
log_file=C:\wwwroot\trac.evju.biz\AJP\logs\isapi_redirect.log
# Log level (debug, info, warn, error or trace)
log_level=info
# Full path to the workers.properties file
worker_file=C:\wwwroot\trac.evju.biz\AJP\conf\workers.properties
# Full path to the uriworkermap.properties file
worker_mount_file=C:\wwwroot\trac.evju.biz\AJP\conf\uriworkermap.properties
在工人财产在
^{pr2}$在uriworkermap.properties公司在
/C:\wwwroot\trac.evju.biz\irm\*=trac
然后我遇到了问题:
我定义了一个名为AJP的虚拟目录,将其指向bin子目录,但是我找不到任何方法来赋予它执行权限
剩下的说明显然不太适用于IIS7
我尝试添加dll作为ISAPI扩展,这导致web.config文件包含以下内容的bin目录中的文件:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers accessPolicy="Read, Execute, Script">
<remove name="ISAPI-dll" />
<add name="AJP" path="*.ajp" verb="*" modules="IsapiModule" scriptProcessor="C:\wwwroot\trac.evju.biz\AJP\bin\isapi_redirect-1.2.26.dll" resourceType="Unspecified" requireAccess="Execute" />
</handlers>
</system.webServer>
</configuration>
感谢任何帮助。在
本文详细介绍了IIS7-fastCGI[http://er2v.wordpress.com/2009/04/15/install_trac_on_64_bit_windows_and_run_it_under_iis7_fast_cgi/]article[1]
刚刚在一个无关的谷歌搜索中偶然发现了这个问题。奇怪的是怎么发生的。。。 IIS7本机支持FastCGI,我强烈推荐使用它而不是AJP。如果你还在看这个问题,请留下评论,我会跟进如何安装的细节。在
请看下面的链接:http://neosmart.net/blog/2006/configuring-jsp-for-iis/
有了这个我就开始运转了。在
相关问题 更多 >
编程相关推荐