Actually, the error was due to my own incompetence (I found the error
after having a sleep). I thought I had sent a reply to the list saying
that, but it turns out I sent it to myself (dang webmail interface
*grumble*). Sorry, bout that.
Arne
:wq
--
Report problems: http://perl.apache.org/bugs/
x27;t call method
"document_root" on an undefined value). Is this normal behavior, and if so is there a
work around/what am I doing wrong?
Thank you in advance,
Arne Skjaerholt
:wq
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
Hello everyone,
I am currently workning on writing a CMS system, and as such I'd like to
prevent user modules from outputting data directly instead of using the method
supplied by the system. The way I would like to this is opening a new
filehandle in the mian module (lexically scoped so noone e
> This might be a lame response, but I would first look at CGI::Application
> and see how they go about doing this.
It's a good idea, but having looked at the code on CPAN it seems that
CGI::Application doesn't do anything with STDOUT, it only states (repeatedly)
that at no point should anyone
> From: Rob Kinyon [EMAIL PROTECTED]
> FYI: C::A has a plugin that will make it work (mostly) seamlessly with
> mod_perl called CGI::Application::Apache.
Hmm. I can't find CGI::Application::Apache on CPAN, only
CGI::Application::Plugin::Apache, which, unfortunately for me, doesn't do any
STDOUT
A possible application that can be used for benchmarking purposes is the source
for ARS (Account Registration System is the accepted full version IIRC) used on
ars.userfriendly.org. It is production source used on a heavily loaded site,
and according to the author and maintainer of the site it i
Hello all,
I'm currently working on a project where I've decided to subclass
Apache, and one of the methods I've decided to overload is the print
method (so that my main module decides when data actually gets printed,
not user modules). Now, I'd like to also override the built-in perl
print (like A
> You don't say which mod_perl version you are using, Arne.
D'oh! I really should've remembered to add that info.
So basically Apache does everything I want on it's own. How clever and,
well, obvious. Thanks for bothering with what I honestly should've
figured out on my own.
Arne
:wq
Ok, sorry for the previous two (rather horrible) mails it's getting to
be the time of night where (really bad) good ideas abound, so I'll just
leave this information before going to bed:
mod_perl-1.27 according to gentoo portage, mod_perl 1.29 according to my
Apache server string.
perl-5.8.5
Arne
According to the documentation for Apache (mp1 admittedly, but I don't
think this has changed in apache-2):
"Apache provides a sub-request mechanism to lookup a uri or filename,
performing all access checks, etc., without actually running the
response phase of the given request."
So that's probably
Hello all,
I'm running mod_perl-2.0.1 on apache-2.0.54 and OS X 10.4.
Trying to get a custom apache config directive to work I run into what
appears to be a rather odd problem. It looks like the subroutine
handling the directive is passed a different object from the one being
passed to SERVER_CREAT
Have you tried to put use Apache2::RequestReq; along with the other use
statements? I ran into the same problem, except that I wanted
Apache2::ServerUtil->server, and that was fixed by including
Apache2::ServerRec as well as Apache2::ServerUtil. I'm not entirely sure
why this is, but it's probably
Hi all,
I'm trying to write a system that writes its own config data to
httpd.conf using Apache2::ServerRec->add_config from
Apache2::ServerUtil, but I'm running into some troubles with
directives.
The handler is running as a PostConfigHandler (I've also tried
OpenLogsHandler), and it works fine
I'm not exactly a newbie anymore, but I came to mod_perl by way of Perl
scripts for the shell. I'd already written some PHP, but when I learned
Perl I saw the error of my ways as it were and realized that PHP really
is quite the makeshift language and that developing in Perl was far more
comfortabl
Hi,
All the Apache constants are available in the Apache2::Const module. See
perldoc Apache2::Const for details on how to import symbols and so on.
Arne
:wq
15 matches
Mail list logo