If you've got Apache running on your Mac OS X system and want to be able to display the output of Perl programs, you need to remove the hash sign (#) from the following line in /etc/apache2/httpd.conf.
#LoadModule cgi_module libexec/apache2/mod_cgi.so
You will neeed to edit the file with a
text editor,
such as the
TextEdit app found in the Applications
directory, or
GNU nano or
vi. And you will
need to run the editor with root, i.e., administrator privileges by using the
sudo command in order to be able to save
modifications to the file. E.g.:
sudo nano /etc/apache2/httpd.conf
[ More Info ]