hi
i have been using CGI::Application::Plugin::Apache to run a website and
it is working swimmingly ...
except
i am trying to add a plain vanilla mod_perl handler to the website and i
keep getting an error like this:
Can't locate object method handler via package XX::YYY.\n
and here's the top
John Saylor wrote:
hi
i have been using CGI::Application::Plugin::Apache to run a website and
it is working swimmingly ...
except
i am trying to add a plain vanilla mod_perl handler to the website and i
keep getting an error like this:
Can't locate object method handler via package
hi
From: Michael Peters [mailto:[EMAIL PROTECTED]
Does it work when you don't use C::A::P::Apache?
no- same result.
How do you have it configured in your apache.conf?
the package is pre-loaded in first in startup.pl, then the apache config
is like this:
Location /YYY
SetHandler
I don't really have time to research this further, but I'm wondering
if anybody has experienced this. We have a CGI::Application app that
gets its own url like so:
$script = http://.$self-query-server_name().$self-query-script_name();
or if you like:
$script = $self-query-url();
Nobody else
John Saylor wrote:
hi
From: Michael Peters [mailto:[EMAIL PROTECTED]
Does it work when you don't use C::A::P::Apache?
no- same result.
Well, then it's not related to the plugin. So this becomes a mod_perl question
instead of a C::A one. You might try asking the question on that list.
I was looking for a make-myself-useful-and-learn-something project on
the cgiapp wiki and came across a call for a Mechanize'd tester for
cgiapp.
I put this together after looking at how the catalyst equivalent
works. I'd appreciate any feedback folks care to throw at it.
It has the following
Do you tend to make your module names generic like Site or Webapp? I
am doing a couple small sites and I am creating secondary modules to
hold things.
I have something like:
Site.pm
Site::Actions.pm
Site::Validators.pm
Site::SQL.pm
Is that good? Or would you replace Site with someting?
Christopher Little wrote:
Your syntax for the filter is correct and your sub doc_filter should work.
Can you provide a little more code and the error message you're getting?
I agree with Christopher. Find the spot in the load_tmpl() you are using
where it calls HTML::Template. Compare the args
Robert Hicks wrote:
Do you tend to make your module names generic like Site or Webapp? I
am doing a couple small sites and I am creating secondary modules to
hold things.
I have something like:
Site.pm
Site::Actions.pm
Site::Validators.pm
Site::SQL.pm
Is that good? Or would you
Very nice George. I have immediate use for this on an app I just
finished, and perhaps retrofit it onto some existing apps that are
currently under-tested. I am getting some errors on make test (OSX
perl 5.8.6). It's late so I'm not going to dig into these tonight,
but this is a welcome
10 matches
Mail list logo