Re: Problem with mod_fastcgi and virtual hosts
Michael Smith (mjs@cursci.co.uk)
Fri, 01 Nov 1996 15:00:47 +0000
Message-Id: <327A109F.51E74273@cursci.co.uk>
Date: Fri, 01 Nov 1996 15:00:47 +0000
From: Michael Smith <mjs@cursci.co.uk>
To: fastcgi-developers@openmarket.com
Subject: Re: Problem with mod_fastcgi and virtual hosts
Further to this message, on further investigation I have discovered this
behaviour using Apache-SSL. With the same config file (give or take an
SSLDisable), if I run with apache, the fastCGI processes belong to root,
if I run with apache-SSL, they belong to a process owned by web which
has no parent.
Can anyone explain this odd (well it's odd to me) behaviour?
Mike
Michael Smith wrote:
>
> I am having a bit of a problem with mod_fastcgi 1.3.1 (I don't believe
> there have been any relevant changes made since) and VirtuaHosts.
>
> What I have done is to take the AppClass definitions out of the
> VirtualHost definitions - as I want them to apply to more than one
> server, so what I have is something like this:
>
> Listen 8008
> Listen 8443
>
> AddType application/x-httpd-fcgi .fpl
> AppClass /home/fastcgi.fpl -processes 1
>
> <VirtualHost server:8008>
> ..
> </VirtualHost>
>
> <VirtualHost server:8443>
> ..
> </VirtualHost>
>
> Now it seems to by and large work - except that when I do a PS, all the
> fastCGI processes are kids of a process owned by web which has no
> parent, so kill and restart won't work properly.
>
> Another issue is that I have passed the port number to by cgi scripts
> via --initial-env which is impossible in this instance.
>
> Any ideas what is going on?
>
> Thanks
>
> Michael Smith