Changeset 1469

Show
Ignore:
Timestamp:
12/13/2006 06:18:03 AM (22 months ago)
Author:
jakabosky
Message:

updated fastcgi/proxy settings to use mod_proxy_core

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/debian/lighttpd.conf

    r1349 r1469  
    1818#                               "mod_auth",  
    1919#                               "mod_status",  
    20 #                               "mod_fastcgi", 
     20#                               "mod_proxy_core", 
     21#                               "mod_proxy_backend_fastcgi", 
    2122#                               "mod_simple_vhost", 
    2223#                               "mod_evhost", 
     
    162163#### fastcgi module 
    163164## read fastcgi.txt for more info 
    164 #fastcgi.server              = ( ".php" => 
    165 #                               ( "localhost" =>  
    166 #                                 (  
    167 #                                   "socket" => "/tmp/php-fastcgi.socket", 
    168 #                                   "bin-path" => "/usr/local/bin/php" 
    169 #                                 ) 
    170 #                               ) 
    171 #                             ) 
     165#$HTTP["url"] =~ "\.php$" { 
     166#       proxy-core.balancer = "round-robin" 
     167#       proxy-core.allow-x-sendfile = "enable" 
     168#       proxy-core.check-local = "enable" 
     169#       proxy-core.protocol = "fastcgi" 
     170#       proxy-core.backends = ( "unix:/tmp/php-fastcgi.sock" ) 
     171#       proxy-core.max-pool-size = 16 
     172#} 
     173 
    172174 
    173175#### CGI module 
  • trunk/doc/lighttpd.conf

    r1349 r1469  
    2222#                               "mod_status", 
    2323#                               "mod_setenv", 
    24 #                               "mod_fastcgi", 
    25 #                               "mod_proxy", 
     24#                               "mod_proxy_core", 
     25#                               "mod_proxy_backend_http", 
     26#                               "mod_proxy_backend_fastcgi", 
     27#                               "mod_proxy_backend_scgi", 
    2628#                               "mod_simple_vhost", 
    2729#                               "mod_evhost", 
     
    196198#### proxy module 
    197199## read proxy.txt for more info 
    198 #proxy.server               = ( ".php" => 
    199 #                               ( "localhost" => 
    200 #                                 ( 
    201 #                                   "host" => "192.168.0.101", 
    202 #                                   "port" => 80 
    203 #                                 ) 
    204 #                               ) 
    205 #                             ) 
     200#$HTTP["url"] =~ "\.php$" { 
     201#       proxy-core.balancer = "round-robin" 
     202#       proxy-core.allow-x-sendfile = "enable" 
     203#       proxy-core.protocol = "http" 
     204#       proxy-core.backends = ( "192.168.0.101:80" ) 
     205#       proxy-core.max-pool-size = 16 
     206#} 
     207 
    206208 
    207209#### fastcgi module 
    208210## read fastcgi.txt for more info 
    209211## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini 
    210 #fastcgi.server             = ( ".php" => 
    211 #                               ( "localhost" => 
    212 #                                 ( 
    213 #                                   "socket" => "/tmp/php-fastcgi.socket", 
    214 #                                   "bin-path" => "/usr/local/bin/php" 
    215 #                                 ) 
    216 #                               ) 
    217 #                            ) 
     212#$HTTP["url"] =~ "\.php$" { 
     213#       proxy-core.balancer = "round-robin" 
     214#       proxy-core.allow-x-sendfile = "enable" 
     215#       proxy-core.check-local = "enable" 
     216#       proxy-core.protocol = "fastcgi" 
     217#       proxy-core.backends = ( "unix:/tmp/php-fastcgi.sock" ) 
     218#       proxy-core.max-pool-size = 16 
     219#} 
     220 
    218221 
    219222#### CGI module 
  • trunk/openwrt/lighttpd.conf

    r1349 r1469  
    1818#                               "mod_auth",  
    1919#                               "mod_status",  
    20 #                               "mod_fastcgi", 
     20#                               "mod_proxy_core", 
     21#                               "mod_proxy_backend_fastcgi", 
    2122#                               "mod_simple_vhost", 
    2223#                               "mod_evhost", 
     
    160161#### fastcgi module 
    161162## read fastcgi.txt for more info 
    162 #fastcgi.server              = ( ".php" => 
    163 #                               ( "grisu" =>  
    164 #                                 (  
    165 #                                   "host" => "192.168.2.10", 
    166 #                                   "port" => 1026 
    167 #                                 ) 
    168 #                               ) 
    169 #                             ) 
     163#$HTTP["url"] =~ "\.php$" { 
     164#       proxy-core.balancer = "round-robin" 
     165#       proxy-core.allow-x-sendfile = "enable" 
     166#       proxy-core.protocol = "fastcgi" 
     167#       proxy-core.backends = ( "192.168.2.10:1026" ) 
     168#       proxy-core.max-pool-size = 16 
     169#} 
     170 
    170171 
    171172#### CGI module