Opened 12 years ago

Closed 12 years ago

#5668 closed patch (fixed)

mythweb Perl components not working with lighttpd

Reported by: greg-mythtvtrac@… Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: mythweb Version: head
Severity: medium Keywords: easy
Cc: Ticket locked: no


This is a re-open of #4462 (I don't have permission to actually re-open it.)

For reasons unknown, lighttpd converts all cgi (but not fastcgi) environment variable names to uppercase. This was reported to lighttpd devs 2 years (!) ago, but the issue seems to be ignored (see

The attached patch makes mythweb work properly with lighttpd.

[17587] Didn't fix it, because the line changed would never have any effect due to the line above it. (Doesn't work for me anyway.)

The attached patch should provide lowercase versions of any DB_* environment variables. (Which is all that is set in the webserver configs, so I assume that is all we need.) (This works for me.)

Attachments (1) (498 bytes) - added by Greg Beresford <greg-mythwebtrac@…> 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Greg Beresford <greg-mythwebtrac@…>

Attachment: added

comment:1 Changed 12 years ago by laga

Keywords: easy added

comment:2 Changed 12 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newaccepted

comment:3 Changed 12 years ago by Rob Smith

Resolution: fixed
Status: acceptedclosed

(In [19007]) Fixes #5668, this patches to work with lighttpd

Note: See TracTickets for help on using tickets.