apache Perl CGI programs

2010-04-25 Thread Fbsd1
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?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: apache Perl CGI programs

2010-04-25 Thread Matthew Seaman
-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-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org