Edgewall Software

Ticket #6224 (closed enhancement: fixed)

Opened 21 months ago

Last modified 5 months ago

Add support for FCGI to tracd (standalone.py)

Reported by: josh@… Owned by: mgood
Priority: normal Milestone: 0.12
Component: web frontend/tracd Version:
Severity: normal Keywords: patch
Cc: mgood

Description

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

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

Change History

Changed 21 months ago by josh@…

Diff to add FCGI server capability to tracd.

Changed 9 months ago by rblank

  • keywords patch added
  • owner jonas deleted
  • milestone set to 1.0

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

Changed 9 months ago by cboos

  • cc mgood added

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

Changed 8 months ago by mgood

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 1.0 to 0.12

LGTM. Applied in r7686.

Changed 8 months ago by rblank

  • owner set to mgood

Changed 5 months 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.

Add/Change #6224 (Add support for FCGI to tracd (standalone.py))

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from mgood. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.