[mythtv-commits] Ticket #4462: mythweb Perl components not working with lighttpd

MythTV mythtv at cvs.mythtv.org
Tue Mar 4 23:50:26 UTC 2008


#4462: mythweb Perl components not working with lighttpd
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  xris   
     Type:  patch      |       Status:  new    
 Priority:  minor      |    Milestone:  unknown
Component:  mythweb    |      Version:  unknown
 Severity:  medium     |   Resolution:         
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by mans at mansr.com):

 The problem is that lighttpd converts all environment variable names to
 uppercase before assigning them.
 For example, setenv.add-environment = ( "db_server" => "hostname" ) sets
 the environment variable
 DB_SERVER to the value hostname.  Your change copies any environment
 variables with lowercase names
 to new variables with uppercase names, but the lowercase names are the
 ones that are missing, and
 the code still tries to access the variables by lowercase names.  In other
 words, the change has no
 effect under lighttpd.  If my original patch is applied on top of your
 change, the code will work
 with both web servers, since Apache-assigned lowercase variables will be
 mapped to uppercase, and
 lighttpd sets only uppercase names.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4462#comment:6>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list