logo       

Re: virtual hosts specify fastcgi daemon?: msg#00025

web.lighttpd

Subject: Re: virtual hosts specify fastcgi daemon?

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>
Google Custom Search

News | FAQ | advertise