UPDATE: I solved the problem. It was definately user error on my part.
For anyone interested's edification. The thing that prompted me to roll out the apache was enabling ssl. When I put added the SSL stuff to my Sage.pm, I accidently had two __PACKAGE__->setup calls. Wacky Hijinks Ensued.
I have searched everywhere (including super search) for an answer to my issue, but I'm coming up blank.
I have a Catalyst application (under Active State). I am using DBIC::Schema for my Model. All is well under the built-in webserver, but when I try to run it under Apache, it fails on startup with:
Can't locate Sage/Model/SageDB/Roles.pm in @INC
Apparently, it is trying to load the Schema classes from actual files, when they are built automagically at run-time by DBIC::Schema.
I am not sure what parts of my configuration are needed to track this down, but I will be happy to attach any of it. I was just wondering if anyone had run accross this issue before.
Pete
Here is my httpd.conf setup:
<Perl>
use lib qw(c:/Sage/lib/);
</Perl>
PerlConfigRequire c:/Sage/lib/ApacheConfig.pm
PerlModule Sage
<VirtualHost *>
ServerName Sage.localhost.com
DocumentRoot c:/Sage/root
<Location />
SetHandler perl-script
PerlHandler Sage
</Location>
<Location /static>
SetHandler default-handler
</Location>
</VirtualHost>
The rest of my configuration is straight out of the tutorials.
-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.