On Tue, Feb 18, 2003 at 10:32:57AM -0500, Robert L. Harris wrote:
|
| I just installed apache2 on my web server. Looks good except my perl
| scripts in my cgi-bin directory are being printed instead of executed.
| I'm poking around the apache.org site but no reference as of yet. Can
| anyone point me to a doc or howto before I have to back this out?
If you see the script itself, rather than the output of its execution,
that means apache thinks the file is just a file, not a cgi script.
First ensure you have /etc/apache2/mods-enabled/cgi.load symlinked to
/etc/apache2/mods-available/cgi.load. Also ensure that, for the
desired directories, you have the following set :
Options ExecCGI
AddHandler cgi-script .pl
HTH,
-D
--
The nice thing about windoze is - it does not just crash,
it displays a dialog box and lets you press 'ok' first.
http://dman.ddts.net/~dman/
Attachment:
pgpAYCNHiArGZ.pgp
Description: PGP signature