Apache2 & fcgid



I'm trying to get some basic FCGI stuff running on my (new to me) apache2 server.

I uninstalled apache and installed apache2 on this box.

The current installation is entirely "default" with the exception of the servername and serveradmin directives.

I've put in some information from what I have working on this box right now and let me say it's very nice. No, actually is a wonderful experience to have something "just work" like this. I'm thrilled.

But now I have about 10,000 questions about what I'm doing and what I just did.

So with that I'll just ask for one:
I've been a moderate user of Apache for some time. Nothing too extravagent but I do have virual hosting on one server. Where can I go to get some information on the care and feeding of Apache2 and how it's different from Apache(1). FWIW, I'm running the threaded version.


The rest of this email is in case someone else wants to try FCGI.


I've put a file (test.fcgi) in my /usr/lib/cgi-bin/ directory.

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

contents of test.fcgi:
#!/usr/bin/perl

use FCGI;

$cnt = 0;

while (FCGI::accept() >= 0)
{
print ("Content-type: text/html\r\n\r\n");
print ("<head>\n<title>FastCGI Demo Page (perl)</title>\n</head>\n");
print ("<h1>FastCGI Demo Page (perl)</h1>\n");
print ("This is coming from a FastCGI server.\n<BR>\n");
print ("Running on <EM>$ENV{USER}</EM> to <EM>$ENV{REMOTE_HOST}</EM>\n<BR>\n");
$cnt++;
print ("This is connection number $cnt\n");
}


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Debian on a Dedicated Server
    ... that its no trouble keeping it in shape, but for remote machines its ... there is a debate whether to use apache2 or 1.3 (some of the third ... party modules and external libraries may not be thread safe). ... though that you can use the forking server to be safe (which is what I ...
    (Debian-User)
  • Re: Setting up a simple Web Server
    ... I have installed the apache2 package, ... I would like to set up a Virtual Server but don't know how... ... > I wold like to install a simple Web Server on my Ubuntu 6.06. ... I wold like to make a few pictures available to my family overseas. ...
    (Ubuntu)
  • Re: Strange Web Server Log Entries
    ... apache2: Could not reliably determine the server's fully qualified ... Ubuntu 7.04 AND My Laptop with Ubuntu 7.10 ... The server only servers static XHTML and CSS pages. ... "200 OK" on almost every proxy request, ...
    (Security-Basics)
  • Re: Apache2: httpd.conf or apache2.conf?
    ... If you compile your own server, all configuration ... I am not sure about the version of the apache2 server in the Debian ...
    (Debian-User)
  • Re: Benefits / Problems using IFRAME
    ... Do I take it that by "PC" you mean Windows? ... Win32 Apache2 is quite easy to install, ... server for many practical purposes. ... Apache configuration is very flexible. ...
    (alt.html)