Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-16 Thread André Warnier
Da Rock wrote: ... > SetHandler modperl PerlResponseHandler Mod_home::Mod These 2 lines above should be enough. Again as I thought. But if I may ask (for later configuration), how is access controlled? Using auth or access in the perl module rather than server acl's?

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-16 Thread Da Rock
On 02/15/14 08:45, John Dunlap wrote: Well, if I were in your position, I would follow the tutorial to the letter as a step in my troubleshooting. My reason for saying this isn't that I doubt your coding prowess but rather that you need to determine if the problem is with your code or with your

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread John Dunlap
Well, if I were in your position, I would follow the tutorial to the letter as a step in my troubleshooting. My reason for saying this isn't that I doubt your coding prowess but rather that you need to determine if the problem is with your code or with your installation of mod_perl/apache. As the t

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread Da Rock
On 02/15/14 07:46, John Dunlap wrote: Did you get it working with the code from the tutorial? If yes, and please forgive me if this seems a stupid question but... Did you forget to update the package statement at the top of the file to reflect your new module name? Hah! No. I used my own name

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread Da Rock
On 02/15/14 02:00, André Warnier wrote: Hi. Da Rock wrote: I know this may seem straight forward and a RTFM response may be in order, but I have been trying to crack this for some days now (following attempts on and off, too, mind) and nothing I can google seems to point to an accurate answer

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread John Dunlap
Did you get it working with the code from the tutorial? If yes, and please forgive me if this seems a stupid question but... Did you forget to update the package statement at the top of the file to reflect your new module name? On Fri, Feb 14, 2014 at 4:42 PM, Da Rock wrote: > On 02/15/14 01:1

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread Da Rock
On 02/15/14 01:15, David Booth wrote: I used this tutorial to get mod_perl working the first time: http://perl.apache.org/docs/2.0/user/intro/start_fast.html Can you get that exact example (Rocks.pm) to work, following those instructions? Please try that first, rather than your actual project,

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread André Warnier
André Warnier wrote: Hi. Da Rock wrote: I know this may seem straight forward and a RTFM response may be in order, but I have been trying to crack this for some days now (following attempts on and off, too, mind) and nothing I can google seems to point to an accurate answer on what the proble

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread André Warnier
Hi. Da Rock wrote: I know this may seem straight forward and a RTFM response may be in order, but I have been trying to crack this for some days now (following attempts on and off, too, mind) and nothing I can google seems to point to an accurate answer on what the problem is here. I'm runni

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread David Booth
I used this tutorial to get mod_perl working the first time: http://perl.apache.org/docs/2.0/user/intro/start_fast.html Can you get that exact example (Rocks.pm) to work, following those instructions? Please try that first, rather than your actual project, just to get the invocation debugged.

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread Da Rock
Unfortunately that didn't work in the startup.pl, as has been mentioned in both replies. Still got the same error with both startup.pl with use lib , as well as PerlSwitches -I. I should mention I've tried both modperl and perl-script options to SetHandler. There is one other error that show

Re: Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread John Dunlap
Do you have a use lib 'PATH'; at the top of your startup.pl? This is typically how your module is added to the perl include path On Feb 14, 2014 8:38 AM, "Da Rock" wrote: > I know this may seem straight forward and a RTFM response may be in order, > but I have been trying to crack this for some d

Initial setup problems with mod_perl2 - unable to locate modules

2014-02-14 Thread Da Rock
I know this may seem straight forward and a RTFM response may be in order, but I have been trying to crack this for some days now (following attempts on and off, too, mind) and nothing I can google seems to point to an accurate answer on what the problem is here. I'm running FreeBSD 9.x with A