[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apach2 and perl?




Bingo, missed the cgi.load.  all the directives but missed that.
Thanks.  Know much about ssl?   :>


Thus spake Derrick 'dman' Hudson (dman@dman.ddts.net):

> 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/



:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | PGP Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu 
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

Attachment: pgpJLkEhrdHN2.pgp
Description: PGP signature


Reply to: