hello folks,
has anyone tried to create an instance of Apache2::RequestRec outside
apache ?
I'm not an xs expert, but if i understand correctly Apache2::RequestRec
basically wraps the request_rec from apache2,
therefore creating one should be initializing a struct with some params
calling sv_set
t;
> On 8/30/07, bharanee rathna <[EMAIL PROTECTED]> wrote:
> > has anyone tried to create an instance of Apache2::RequestRec outside
> > apache ?
>
> How could that work? And even if it could work, what good what it be?
> This class is a Perl version of the C API to
You will
need the "Apache2::RequestRec" object in order to be able to reuse the
rich functionality supplied via this object."
I'm not sure if the CommandServer example is relevant since it only works
from inside apache2
On 8/31/07, Perrin Harkins <[EMAIL PROTECTED]&g
07, Perrin Harkins <[EMAIL PROTECTED]> wrote:
>
> On 8/30/07, bharanee rathna <[EMAIL PROTECTED]> wrote:
> > It would work for the purpose of testing, mainly simulating a request
> > without running apache like Apache::Test does currently.
>
> Apache::Test does it t
Hi guys, this is a known issue reported at
http://issues.apache.org/bugzilla/show_bug.cgi?id=38848
and not modperl related.
On 9/18/07, Fred Moyer <[EMAIL PROTECTED]> wrote:
>
> Bill Moseley wrote:
> > Must be Monday. Is there a problem with the -X switch and prefork?
> >
> > I'm using:
> >
> >
yes, but AFAIK -X is a shortcut for -DONE_PROCESS. But then I may be wrong
but a quick check now shows me that using -DONE_PROCESS, apache2 ignores
SIGINT
On 9/18/07, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
>
> Bill Moseley wrote:
> > Must be Monday. Is there a problem with the -X switch
me thinks that PerlOptions +GlobalRequest should be inside your
or section.
http://perl.apache.org/docs/2.0/user/config/config.html#mod_perl_Directives_Argument_Types_and_Allowed_Location
On 9/19/07, antoine7 <[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
> I'm new to mod perl, I've setup an apac
AFAIK Apache::Singleton works for MP2, also it does both per request and per
process singletons.
On 9/24/07, jk jk <[EMAIL PROTECTED]> wrote:
>
> I've been trying to use Apache::Singleton::Request under the assumption
> that you're right about Class::Singleton being the crux of the issue.
> Unfor
eton
>
> If I install it anyway I get "[Sun Sep 23 15:09:49 2007] [error] Can't
> locate Apache/RequestUtil.pm in @INC (@INC contains:.."
>
> Thanks. --JAK
>
> On 9/23/07, bharanee rathna <[EMAIL PROTECTED]> wrote:
> >
> > AFAIK Apache::Sin
you need to do a umask(0) , try going through perldoc -f umask
On 9/26/07, Tyler Bird <[EMAIL PROTECTED]> wrote:
>
> I was wondering if anyone knows offhand
> how I can open and write to a file with 777 permissons.
>
> And possibly also set the owner to a specified owner string.
>
> I am reading
Although mod_proxy is a nice module with many features, I would recommend
something like pound doing the proxying & load balancing. It's more light
and faster, plus you have the added advantage of keeping your webservers in
a local network. If you want something with more features lookup squid,
> The simplest way is to put the object as a pnote:
What Torsten said, but have a look at
http://search.cpan.org/~miyagawa/Apache-Singleton-0.07/lib/Apache/Singleton.pm
Apache::Singleton::Request is probably what you want.
> I couldn't get Apache::Singleton working with mp2 (used it before with no
> problems with mp1). so I switched back to Class::Singelton ...
*sigh*, 2 yr old bug report. Maybe someone should write to the
author/maintainer and take ownership ?
http://rt.cpan.org/Public/Bug/Display.html?id=19775
E
13 matches
Mail list logo