apache & Perl CGI programs

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Apr 25 08:53:33 UTC 2010


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


More information about the freebsd-questions mailing list