Grokbase
Topics Posts Groups | in
x
[ help ]

John

Profile | Recent Topics | Saved Groups (10) Posts (2) | Tagged mod_perl » all posts
1) Re: [Catalyst] Two Strange Catalyst/Apache Issues
saved to apache mod_perl | saved by 1 person
Perrin Harkins Re: [Catalyst] Two Strange Catalyst/Apache Issues
| +1 vote
This recommended way to do this in mod_perl is actually to make a separate startup.pl file that...
Catalyst Framework
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On 5/24/07, Randy J. Ray <randy.j.ray@gmail.com> wrote:
> PerlModule Bylines    # This is line 259

This recommended way to do this in mod_perl is actually to make a
separate startup.pl file that loads your modules, not to list them in
httpd.conf.  Then you call it with PerlRequire.  You can find
documentation and examples here:
http://modperlbook.org/html/ch04_02.html

To try it with your setup, just make file called startup.pl with this in it:
use Bylines;

and then call it from httpd.conf:
PerlRequire startup.pl

- Perrin

_______________________________________________
List: [email protected: Cat...@lists.rawmode.org]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
spacer
Profile | Recent Topics | Saved Groups (10) Posts (2) | Tagged mod_perl » all posts
Home > People > John > Saved Posts > mod_perl