|
Re: virtual hosts specify fastcgi daemon?: msg#00024web.lighttpd
Quoting Jan Kneschke (jan@xxxxxxxxxxx): > On Fri, Sep 10, 2004 at 05:09:06PM -0500, jeremy@xxxxxxxx wrote: > > The one thing I need to do for my environment that I'm just missing is > > that I can't figure out how to assign virtual hosts to use a > > particular fastcgi connection. > Use > > $HTTP["host"] == "blah.com" { > server.document-root = "/var/www/servers/blah.com/pages/" > fastcgi.server = ( ".php" => > ( "example" => > ( "host" => "localhost", > "port" => 1026 > ) > ) > ) > } > $HTTP["host"] == "blip.com" { > server.document-root = "/var/www/servers/blip.com/pages/" > fastcgi.server = ( ".php" => > ( "example" => > ( "host" => "localhost", > "port" => 1027 > ) > ) > ) > } > > and create 2 spawn-php.sh script with different user-accounts. > Jan That's excellent! I can't believe I just blanked out on using the conditional conditions to do this. thanks! jeremy -- Jeremy Kelley <jeremy@xxxxxxxx> All plenty which is not my God is poverty to me. -Augustine |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: fcgi - lighttpd 1.2.7 problems as well: 00024, Jan Kneschke |
|---|---|
| Next by Date: | Re: virtual hosts specify fastcgi daemon?: 00024, jeremy |
| Previous by Thread: | Re: virtual hosts specify fastcgi daemon?i: 00024, Jan Kneschke |
| Next by Thread: | Re: virtual hosts specify fastcgi daemon?: 00024, jeremy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |