apache_cgi

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: CGI and Apache
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Mon, 24 Jan 2000 15:48:15 +0100 (CET)


On Mon, 24 Jan 2000, Reiner Rusch wrote:

> Does anybody know, how to tell apache to start cgi (perl) in any directory?

In httpd.conf, add

AddHandler cgi-script .pl

or, better yet, use mod_perl and add

AddHandler perl-script .pl
PerlHandler Apache::Registry
PerlSendHeader On

You'll also have to add ExecCGI to your Options line for the directory.

LLaP
bero

===

Subject: Re: Apache - RedHat 6.1 
From: Bernhard Rosenkraenzer <bero@redhat.de>
Date: Mon, 24 Jan 2000 23:48:34 +0100 (CET)


On Mon, 24 Jan 2000, William Schwartz wrote:

> OK. I've got apache 1.3.9 running on RH 6.1.
> 
> In my httpd.conf, I've got the following:
> 
> <Directory "/home/httpd/html">

The directories in httpd.conf are specified relative to the server root.
Use <Directory />

LLaP
bero

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu