Re: [cgiwrap-users] Looking for examples for use on Virtual Server
Brought to you by:
nneul
From: Ralph H. <rj...@mo...> - 2000-11-05 20:11:26
|
Hi Ken, Here's how I do it. I know there are other ways. I don't run a common cgi dir like you'r asking, but I do virtual hosts and they share one centrally located copy of cgiwrap. I put this in each <VirtualHost> directive ScriptAlias /cgi-bin/ /apache/cgi-bin/cgiwrap/$username/ Substitute the actual username, of course, for $username. You tell cgiwrap when you compile it where the user cgi-dir is located relative to doc root Scripts are called just like one normally would, e.g., <form action="/cgi-bin/somescript.cgi"> Hope this helps, Ralph On Sun, 5 Nov 2000, Ken wrote: > Hello: > > I'm new to the list. I had a look through the archives but did not find > what I am looking for: > > Can anyone please send info or direct me to some URL's that go into detail > on usage of CGIwrap in a virtual server type environment. For example I > would like to allow my virtual hosts to have their own CGI-BIN, but of > course I want to protect the server. I would also like to have a global > CGI-BIN with common scripts that all virtual hosts could make use of. Do I > need to install a separate version of CGIwrap for each virtual host? > > Any useful info or links would be greatly appreciated. > > Thank You. > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > http://lists.sourceforge.net/mailman/listinfo/cgiwrap-users > |