Dear Perl Monks:
I have a simple CGI perl script, which I want to convert into a mod_perl script for faster speed under ubuntu 10.04 (presumably, among the most popular distributions). that's it. reading around the web, I probably want something simple, like Apache::Registry. (Not sure why it is simple...just read it was.)
Does anyone know of a good primer? I started with
apt-get install libapache2-mod-perl2 libapache2-mod-perl2-dev libapac
then installed Apache::Registry,
> get Apache::Registry
then added inside my VirtualHost the following lines:
Alias /perl-bin/ /usr/local/perl-bin/
and I mkdir'ed /usr/local/bin/perl-bin/ . alas, even after a restart of the apache2 server, I get
# apache2ctl -l
Compiled in modules:
so, no mod_perl that I can see so far. what I have done sofar is all guesswork, of course. I need a step-by-step guide. I did not find one with google. has anyone written such a thing?
Advice, as always, appreciated.