Edgewall Software

Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#6224 closed enhancement (fixed)

Add support for FCGI to tracd (standalone.py)

Reported by: josh@… Owned by: Matthew Good
Priority: normal Milestone: 0.12
Component: web frontend/tracd Version:
Severity: normal Keywords: patch
Cc: Matthew Good
Release Notes:
API Changes:


By adding fcgi as an option to flup (http, scgi, ajp are already there), trac can easily be used with web servers that don't support spawning an fcgi process (such as nginx) but will communicate with an already running fcgi server. See attached diff.

Attachments (1)

standalone_fcgi.diff (1.4 KB ) - added by josh@… 11 years ago.
Diff to add FCGI server capability to tracd.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by josh@…

Attachment: standalone_fcgi.diff added

Diff to add FCGI server capability to tracd.

comment:1 Changed 10 years ago by Remy Blank

Keywords: patch added
Milestone: 1.0
Owner: Jonas Borgström deleted

I'm not competent to evaluate the validity of this change, but the patch seems simple enough.

comment:2 Changed 10 years ago by Christian Boos

Cc: Matthew Good added

Never used fcgi myself either, but that part of the code was managed by mgood, CC'ing him.

comment:3 Changed 10 years ago by Matthew Good

Milestone: 1.00.12
Resolution: fixed
Status: newclosed

LGTM. Applied in r7686.

comment:4 Changed 10 years ago by Remy Blank

Owner: set to Matthew Good

comment:5 Changed 9 years ago by sergej.spb@…

There is some problem when you try to pass for example —hostname=/some/path/fcgi.sock with —protocol=fcgi and without any —port value. I've got an error: socket.gaierror: (-2, 'Name or service not known'). Problem was resolved by replacing on line 240 server_address with options.hostname.

I suspect that such solution isn't the best, but it works for me.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Matthew Good.
The resolution will be deleted.
to The owner will be changed from Matthew Good 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.