I am trying to install Ensembl on an Intel Core 2 Duo iMac which runs OS X 10.5.6. I notice that Ensembl require Apache 2 and mod_perl 2. I wonder does OS X 10.5.6 come with mod_perl 2, and if it does not, how can I install it?
yep, leopard comes with mod_perl installed. as root follow these steps:
insert the following line into /etc/apache2/http.conf:
LoadModule perl_module libexec/apache2/mod_perl.so
right after this line is a good place:
#LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so
of course you need to allow perl scripts to be executed. this can be done by creating a file named: /etc/apache2/other/perl.conf with the following contents:
<IfModule perl_module>
AddHandler cgi-script .pl
<IfModule dir_module>
DirectoryIndex index.pl index.html
</IfModule>
</IfModule>
then restart apache:
apachectl restart
the log file: /var/log/apache2/error_log; should now show:
Apache/2.2.9 (Unix) mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
and you're all set!
Thank you very much for letting me to know this, will try your suggestion when I ready to test run Ensembl.