Re: Appclass/Virtual Host Configuration Problem

Aaron Lake (aaron@central.worldweb.net)
Tue, 23 Sep 1997 15:57:45 -0400

Message-Id: <34281F39.5151CD24@central.worldweb.net>
Date: Tue, 23 Sep 1997 15:57:45 -0400
From: Aaron Lake <aaron@central.worldweb.net>
To: Stanley Gambarin <stanleyg@cs.bu.edu>
Subject: Re: Appclass/Virtual Host Configuration Problem

Quick Question... What is the difference between mod_fastcgi and the mod_fcgi
that I currently (with multiple virtual hosts) ?



Stanley Gambarin wrote:

>         mod_fastcgi module currently does not have any support
> for the vhosts (which is probably what you are running into).  It
> is on my TODO list, but not of the highest priority.  Anybody who
> wants to take a whack at it... go ahead..
>
>                                                 Stanley.
>
> On Tue, 23 Sep 1997, Sonya Rikhtverchik wrote:
>
> > Maybe I'm doing something wrong, but I don't think so.. :) Seems to be a
> > security issue, but I can't see where it's at.
> >
> > Running Apache (latest), and the latest non-beta fastcgi libs and dev
> > kits.. I have one fast application that only spawns 1 instance of itself..
> > I'll call it 'proggy'.
> >
> > So, the program resides (and the appclass points to:)
> >
> > /usr/local/etc/httpd/htdocs/cgi-bin/proggy
> >
> > Everything works fine running off www.server.com ...
> > www.server.com/cgi-bin/proggy calls it up, and everything is great..
> >
> > Okay, now I add 1 virtual host.. host2.server.com ... I set up a document
> > root that is:
> >
> > /usr/local/etc/httpd/htdocs/host2.server.com/
> >
> > Then I symbolically link the cgi-bin directory under the host2.server.com
> > directory.. Ok.. Any NON-fastcgi applications under that directory work
> > fine:
> >
> > host2.server.com/cgi-bin/test-normal-cgi.cgi
> >
> > That's fine!
> >
> > But, if I go to my fastcgi app:
> >
> > host2.server.com/cgi-bin/proggy
> >
> > It fails, and the error logs state that I don't have an Appclass directive
> > for it..
> >
> > I know a wicked-ugly way around this (making multiple Appclass directives
> > for each symbolic link I have pointing at that directory).. But is there a
> > nicer way??
> >
> > Jim Boutcher
> >
> >
> >
> > ------- End of Forwarded Message
> >
> >
> >
> >



--
Aaron Lake
Senior Programmer
WorldWeb Limited
====================
703.838.2000 main line
703.423.6933 pager
aaron@worldweb.net
http://www.worldweb.net
====================