lima1 has asked for the wisdom of the Perl Monks concerning the following question:
we will make a simple webservice public very soon. this beast now finally runs fine under mod_perl. now I am trying to find the best apache2 configuration. i've taken a simple example from the modperlbook:
<VirtualHost *:80> # default things like doc. root Alias /perl/ /var/www/modperl/ PerlModule ModPerl::Registry <Location /perl/> SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlSendHeader On Allow from all </Location> </VirtualHost>
mod_perl is so powerful, and I am quite sure, many of you with much more experience have made nice virtualhost settings container like i have optimized my .vimrc over the years (bad example ;) ). would be cool to see one of yours. and yes I know that for every webapp the optimal settings are different. but a good start for a not that critical webservice should be possible, or not?
We use a CGI::Application based framework and a MySQL database (just in case this changes something)
ps: sorry if this sounds for you like "I am too lazy to RTFM". probably you are right ;) but time is limited and like i said already, it is not that critical.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: your mod_perl configurations
by Anonymous Monk on Feb 16, 2006 at 20:26 UTC | |
|
Re: your mod_perl configurations
by Fletch (Bishop) on Feb 16, 2006 at 20:32 UTC | |
|
Re: your mod_perl configurations
by cbrandtbuffalo (Deacon) on Feb 16, 2006 at 21:39 UTC | |
by lima1 (Curate) on Feb 17, 2006 at 02:18 UTC | |
by cbrandtbuffalo (Deacon) on Feb 20, 2006 at 18:42 UTC |