On Tue, Jan 8, 2013 at 8:55 PM, Bruce Ferrell
On 01/08/2013 05:39 PM, Ted Byers wrote:
Last night, I used YaST to install FastCGI (on OpenSuse 12.1). I do have Apache's httpd server installed and running (it works fine), but I can not find the files I need to edit in order to begin experimenting with programming Perl scripts to run as FastCGI processes (in contrast to one of my other Linux virtual boxes running Ubuntu - on Ubuntu I easily found the module's configuration file).
YaST tells me that FastCGI is now installed, but what next? Where will I find the configuration file that will let Apache's httpd server load the relevant shared module file and have fastcgi-script be set as the handler for a directory in which I will place all the scripts I want to run using FastCGI? And obviously, Apache's configuration file must be edited so that it knows where to find the FastCGI module.
If my questions are answered in a current document somewhere, I'd appreciate a link as my search using Google has an abysmal signal to noise ratio. :-(
I know I can, and have, set up mod_perl, but I want to run tests to compare the two.
Thanks
Ted
Ted,
What I usually do is to:
a.) identify the package(s):
rpm -qa | grep -i fastcgi
b.) look over the files in the package:
rpm -ql <package name>
The can be "compacted" to a single step of:
rpm -ql `rpm -qa | grep -i fastcgi`
What this showed me was that installing FastCGI installed the development toolkits for making FastCGI programs (such as providing the C headers and libraries to facilitate making a compiled program to run as a FastCGI server. This will have its uses, as I experiment with making the compute intensive pages I am designing compiled C++ programs. But that is not relevant for my present purposes (which involves only my Perl scripts). What it did not do was install mod_fastcgi. In fact, it seems that the only fastcgi module is mod_fcgid. At least that is all YaST could find in the default repositories. That makes comparisons among the development web servers problematic at best, as I can get mod_perl to work only on Linux. It does not build properly against Apache 2.4 on Windows (although I understand people are working on that). mod_fcgd compiles but does not work on Windows (and the last I heard no-one yet knows why). On Windows, only mod_fastcgi both builds correctly and works. So, on Linux, I have mod_perl and mod_fastcgi on Ubuntu and mod_perl and mod_fcgid on Suse, and only mod_fastcgi on Windows. At least so far. Is the latest mod_fastcgi really not available, or is it available and hiding somewhere out there in the cloud? Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org