Re: Appclass/Virtual Host Configuration Problem

Stanley Gambarin (stanleyg@cs.bu.edu)
Tue, 23 Sep 1997 12:54:21 -0400 (EDT)

Date: Tue, 23 Sep 1997 12:54:21 -0400 (EDT)
From: Stanley Gambarin <stanleyg@cs.bu.edu>
To: Sonya Rikhtverchik <rikhtver@OpenMarket.com>
Subject: Re: Appclass/Virtual Host Configuration Problem
In-Reply-To: <199709231457.KAA17615@u4-138.openmarket.com>
Message-Id: <Pine.GSO.3.96.970923125216.6690C-100000@csa>


	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
> 
> 
> 
>