Thanks, I'm using apache 2.2.3 -- That setup does sound much more logical, and here is what I have to match the example:<br>
<br>
-----<br>
PerlSwitches -I/var/www/registration/lib<br>
<br>
PerlModule Registration<br>
<br>
<VirtualHost *><br>
ServerName myhostname<br>
DocumentRoot /var/www/registration/root<br>
<br>
<Location /><br>
SetHandler modperl<br>
PerlResponseHandler Registration<br>
</Location><br>
</VirtualHost><br>-----<br>
<br>
When I start apache, I see everything loading (plugins, classes, private actions, paths) and then:<br>
<br>
[info] Registration powered by Catalyst 5.7007<br>
fork: Cannot allocate memory<br>
unable to fork new process<br>
<br>
<br>
<br>
What am I doing wrong?<br>
<br>
Thanks!<br>
John<br><br><br><br><div><span class="gmail_quote">On 5/14/07, <b class="gmail_sendername">Andy Grundman</b> <<a href="mailto:andy@hybridized.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
andy@hybridized.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On May 14, 2007, at 5:09 PM, John Goulah wrote:<br><br>> If this is the wrong list, please direct me to the right place.<br>> I'm trying to get Catalyst working under apache/mod_perl (works<br>> fine with the standalone server).
<br>><br>> Basically, I have a very simple app called Registration. In apache<br>> I set it up like:<br>><br>> <Location /registration><br>> SetHandler perl-script<br>> PerlHandler Registration
<br>> </Location><br>><br>> If I startup apache through the init.d script, it complains that it<br>> cant find <a href="http://Registration.pm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Registration.pm</a> in @INC. The obvious way around this was
<br>> to set the PERL5LIB env var to the path of my app lib dir, and so<br>> this does work:<br>><br>> PERL5LIB=/var/www/registration/lib /usr/sbin/apache2ctl start<br><br>Please see the example configurations:
<br><br>1.3:<br><a href="http://search.cpan.org/%7Eagrundma/Catalyst-Engine-Apache-1.09/lib/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://search.cpan.org/~agrundma/Catalyst-Engine-Apache-1.09/lib/
</a><br>Catalyst/Engine/Apache/MP13.pm<br><br>2.x:<br><a href="http://search.cpan.org/%7Eagrundma/Catalyst-Engine-Apache-1.09/lib/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://search.cpan.org/~agrundma/Catalyst-Engine-Apache-1.09/lib/</a><br>Catalyst/Engine/Apache2/MP20.pm<br><br>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.rawmode.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Catalyst@lists.rawmode.org
</a><br>Listinfo: <a href="http://lists.rawmode.org/mailman/listinfo/catalyst" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.rawmode.org/mailman/listinfo/catalyst</a><br>Searchable archive:
<a href="http://www.mail-archive.com/catalyst@lists.rawmode.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.mail-archive.com/catalyst@lists.rawmode.org/</a><br>Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br>