Getting TRAC to run on IIS7
Im trying to get Trac upp and work on my IIS / w2008 server using this FAQ: TracOnWindowsIisAjp
Everything upp up to "3. Installing Tomcat AJP Connector for IIS" works fine. Then I define my directories as: C: \ wwwroot \ trac.evju.biz \ AJP \, in the bin directory I put a dll file and 3 config files with this content:
isapi_redirect-1.2.26.properties # Config file for ISAPI redirector
# 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
workers.properties
# Define 1 real worker
worker.list=trac
# Set properties for trac (ajp13)
worker.trac.type=ajp13
worker.trac.host=localhost
worker.trac.port=8009
worker.trac.socket_keepalive=0
uriworkermap.properties
/C:\wwwroot\trac.evju.biz\irm\*=trac
Then I run into problems:
- Define a virtual directory named AJP-Connector pointing to your bin subdirectory, with permissions to execute executable files (not just scripts).
I have defined a virtual directory named AJP by pointing it to the bin subdirectory, but I cannot find a way to give it execute permissions
And the rest of the instructions are clearly not quite applicable to IIS7
- Allow DLL Execution as Web Service Extension
- In IIS Manager, open Web Services Extensions.
- Define a new web service extension called AJP-Connector (or whatever).
- Add C: \ AJP-Connector \ bin \ isapi_redirect-1.2.26.dll to the desired files (replace "C: \ AJP-Connector" with your actual directory).
- Set the extension status to Valid.
I tried adding the dll as an ISAPI extension, the result was a web.config file in the bin directory with the following content:
<?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>
Any help is appreciated.
source to share
This article provides a detailed description of the IIS7 fastCGI [ http://er2v.wordpress.com/2009/04/15/install_trac_on_64_bit_windows_and_run_it_under_iis7_fast_cgi/ ] article [1]
Have a look at the following link: http://neosmart.net/blog/2006/configuring-jsp-for-iis/
with this i run it.