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
then installed Apache::Registry,apt-get install libapache2-mod-perl2 libapache2-mod-perl2-dev libapac +he2-mod-perl2-doc perl-doc
then added inside my VirtualHost the following lines:# cpan > get Apache::Registry
and I mkdir'ed /usr/local/bin/perl-bin/ . alas, even after a restart of the apache2 server, I getAlias /perl-bin/ /usr/local/perl-bin/ <Location /perl-bin> SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader On Options ExecCGI </Location>
# apache2ctl -l Compiled in modules: core.c mod_log_config.c mod_logio.c prefork.c http_core.c mod_so.c
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.
In reply to ubuntu 10.04 mod_perl apache registry starter? by iaw4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |