Grokbase
Topics Posts Groups | in
x
[ help ]

Re: [Catalyst] Two Strange Catalyst/Apache Issues

View Post | Saved ByFlat  Thread  Threaded | < Prev
Perrin Harkins Re: [Catalyst] Two Strange Catalyst/Apache Issues
| +1 vote
saved to apache mod_perl by 1 person
[ 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/

Thread : Re: [Catalyst] Two Strange Catalyst/Apache Issues
1)
John Goulah the above error eems to indicate a problem on line 259. probably should setup like this:...
2)
Randy J. Ray Sorry, I should have also excerpted my Apache config: <Perl> use lib qw(/.../bylines); # This block...
3)
John Goulah I'm not sure , except that I was also having problems with various things until I set it up such as...
4)
Carl Johnstone Is that really what you have? ... probably is right, and you are missing the lib of the end of the...
5)
Randy J. Ray In this configuration, that is the directory that holds the start of the module hierarchy....
6)
Matt S Trout Ah, the grand "let's compile everything twice" mod_perl-ism (it's joys like this that moved me to...
7)
Perrin Harkins This recommended way to do this in mod_perl is actually to make a separate startup.pl file that...
spacer
View Post | Saved ByFlat  Thread  Threaded | < Prev