|
Re: virtual hosts specify fastcgi daemon?: msg#00025web.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 > ) > ) > ) > } > and create 2 spawn-php.sh script with different user-accounts. Hi again, I've got conditional configs setup and I'm now noticing a peculiar problem when using them. Using your example from above, If I go to http://blah.com/, I believe that the mime-type is not being set correctly for the index, as it comes back with my browser saying "binary file". But, if I specity http://blah.com/index.php, everything seems to work fine. Does anyone else have this problem? I'm sure it's a mistake on my end, but I've checked the configs and they all look correct. 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: virtual hosts specify fastcgi daemon?: 00025, jeremy |
|---|---|
| Next by Date: | Serving SSL sites with same lighttpd instance: 00025, Andreas Ahlenstorf |
| Previous by Thread: | Re: virtual hosts specify fastcgi daemon?i: 00025, jeremy |
| Next by Thread: | Re: virtual hosts specify fastcgi daemon?: 00025, Zavier Sheran |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |