|
Re: virtual hosts specify fastcgi daemon?: msg#00029web.lighttpd
On Sat, Sep 11, 2004 at 04:48:44PM -0500, jeremy@xxxxxxxx wrote: > 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. And both files are processed by PHP ? If yes, PHP will set the mimetype for you. lighttpd will just pass the file through. > thanks, > jeremy Jan -- Jan Kneschke http://jan.kneschke.de/ Perhaps you want to say 'thank you, jan': http://jk.123.org/wishlist/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Serving SSL sites with same lighttpd instance: 00029, Jan Kneschke |
|---|---|
| Next by Date: | Re: Serving SSL sites with same lighttpd instance: 00029, Andreas Ahlenstorf |
| Previous by Thread: | Re: virtual hosts specify fastcgi daemon?i: 00029, Zavier Sheran |
| Next by Thread: | Serving SSL sites with same lighttpd instance: 00029, Andreas Ahlenstorf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |