Thanks, I&#39;m using apache 2.2.3 -- That setup does sound much more logical, and&nbsp; here is what I have to match the example:<br>
<br>
-----<br>
PerlSwitches -I/var/www/registration/lib<br>
<br>
PerlModule Registration<br>
<br>
&lt;VirtualHost *&gt;<br>
&nbsp; ServerName myhostname<br>
&nbsp; DocumentRoot /var/www/registration/root<br>
<br>
&nbsp; &lt;Location /&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp; SetHandler modperl<br>
&nbsp;&nbsp;&nbsp;&nbsp; PerlResponseHandler Registration<br>
&nbsp; &lt;/Location&gt;<br>
&lt;/VirtualHost&gt;<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> &lt;<a href="mailto:andy@hybridized.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
andy@hybridized.org</a>&gt; 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>&gt; If this is the wrong list, please direct me to the right place.<br>&gt; I&#39;m trying to get Catalyst working under apache/mod_perl (works<br>&gt; fine with the standalone server).
<br>&gt;<br>&gt; Basically, I have a very simple app called Registration. In apache<br>&gt; I set it up like:<br>&gt;<br>&gt; &lt;Location /registration&gt;<br>&gt;&nbsp;&nbsp;SetHandler perl-script<br>&gt;&nbsp;&nbsp;PerlHandler Registration
<br>&gt; &lt;/Location&gt;<br>&gt;<br>&gt; If I startup apache through the init.d script, it complains that it<br>&gt; cant find <a href="http://Registration.pm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Registration.pm</a> in @INC.&nbsp;&nbsp;The obvious way around this was
<br>&gt; to set the PERL5LIB env var to the path of my app lib dir, and so<br>&gt; this does work:<br>&gt;<br>&gt;&nbsp;&nbsp; PERL5LIB=/var/www/registration/lib&nbsp;&nbsp;/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>