Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2010 09:53:26 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Fbsd1 <fbsd1@a1poweruser.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: apache & Perl CGI programs
Message-ID:  <4BD40306.8070001@infracaninophile.co.uk>
In-Reply-To: <4BD3FF8E.6080500@a1poweruser.com>
References:  <4BD3FF8E.6080500@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/04/2010 09:38:38, Fbsd1 wrote:
> I have Perl and apache installed on my system. Do I have to do anything
> additional to get apache to run Perl CGI programs?
> Is putting the perl script in the cgi-bin directory at
> /usr/local/www/data all it takes to make things work?

Pretty much.  Look at the apache documentation for 'ScriptAlias' and
'Options ExecCGI' and 'Add-Handler cgiscript .cgi' for details, but
these should be set up already for the cgi-bin directory.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvUAwYACgkQ8Mjk52CukIzvfACfdEYDqJRFtyg+6IoLq1J0YTpK
SEcAn0Z4+038CYWpkwz2etoHHWJJNPPL
=sM0o
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD40306.8070001>