让TRAC在IIS7上运行

2024-05-15 01:45:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试获取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 Connector的虚拟目录,指向bin子目录,具有执行可执行文件(不仅仅是脚本)的权限。在

我定义了一个名为AJP的虚拟目录,将其指向bin子目录,但是我找不到任何方法来赋予它执行权限

剩下的说明显然不太适用于IIS7

  • 允许以Web方式执行DLL 服务扩展
  • 在IIS管理器中,打开Web服务扩展。在
  • 定义一个名为AJP Connector的新Web服务扩展(或任何您想要的)。在
  • 将C:\AJP Connector\bin\isapi_redirect-1.2.26.dll添加到所需文件中(将“C:\AJP Connector”替换为实际目录)。在
  • 将扩展状态设置为允许。在

我尝试添加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>

感谢任何帮助。在


Tags: thetopath目录binpropertiestracfile
3条回答

刚刚在一个无关的谷歌搜索中偶然发现了这个问题。奇怪的是怎么发生的。。。 IIS7本机支持FastCGI,我强烈推荐使用它而不是AJP。如果你还在看这个问题,请留下评论,我会跟进如何安装的细节。在

请看下面的链接:http://neosmart.net/blog/2006/configuring-jsp-for-iis/

有了这个我就开始运转了。在

相关问题 更多 >

    热门问题