Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 1997 00:50:32 +0000 ()
From:      "M. Douglas Diez" <mdiez@isis.ebrps.subr.edu>
To:        "Salah.Abouzgaia" <root@sma.regina.sk.ca>
Cc:        freebsd-isp@FreeBSD.ORG, "Salahddin.Abouzgaia" <abouzgs@sma.regina.sk.ca>
Subject:   Re: Apache_1.2.4 (CGI Execution)
Message-ID:  <Pine.BSF.3.95q.971017004745.7452A-100000@isis.ebrps.subr.edu>
In-Reply-To: <Pine.LNX.3.95.971016201638.992J-100000@neptune>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 16 Oct 1997, Salah.Abouzgaia wrote:

> 
> 
>  Hi all,
> 
>  Problem 2: even if make cgi-bin in /usr/local/etc/httpd/htdoc and change
>  settings in all the config files to point to this dir, apache does not
>  execute cgi scripts (perl or sh scripts), instead the
>  browser reads the Perl os sh scripts as text files, and prints Perl or sh
>  scripts as is on the browser.
> 
>  ScriptAliases is set correctly
>  Options ExecCGI is set in the access.conf
> 
>  Any hints
> 
>  Cheers
> 

Add
Options XBitHack Full 
in your access.conf
and chmod a+x any html file that is to execute CGI

Oughta work.

-Matthew Diez
mdiez@isis.ebrps.subr.edu




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.971017004745.7452A-100000>