Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 7 years ago

#692 closed defect (wontfix)

trac running on Microsoft IIS.

Reported by: josh_robb@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.7.1
Severity: blocker Keywords:
Cc: josh_robb@… Branch:
Release Notes:
API Changes:

Description

Out of the box trac will not run on IIS as a CGI application. I have debuged the problem and the cause is that IIS uses a different format for it's PATH_INFO variable. PATH_INFO includes the script name and path. To work around this I have modified real_cgi_start in core.py as follows:

replace:

path_info = os.getenv('PATH_INFO')

with:

path_info = os.getenv('PATH_INFO').replace(os.getenv('SCRIPT_NAME'),"")

I'm not sure where/how the best place to make this change is.

j.

p.s. also - whats with logging on Windows? The Log file never gets written to.

Attachments (0)

Change History (4)

comment:1 by Jonas Borgström, 15 years ago

Milestone: 0.8

comment:2 by anonymous, 15 years ago

Cc: josh_robb@… added

comment:3 by daniel, 15 years ago

Resolution: wontfix
Status: newclosed

I'd suggest writing a IIS-specific wrapper cgi as proposed in #693 for this.

comment:4 by Christian Boos, 7 years ago

Milestone: 0.8

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.