> So unless I miss something we have two options:
>
> 1) nuke that method completely
>
> 2) either provide a new method that restores the data using a
> preallocated string from the server pool or do that internally in the
> server
>
> 3) or change $r->document_root method to accept the pool ob
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
> I was just adding a note to the API method doc saying:
>
>it's important to mention that at the end of each request where
>you modify this setting you absolutely must restore it to its
>original value.
>
> but it doesn't work, since the
On Saturday 19 February 2005 03:06, Stas Bekman wrote:
> What about?
> $r->spawn_proc_prog
> http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html#C_spawn_proc_pro
>g_
Thanks for those links, Stas! I had to find them by myself as they are in
docs...
The following worked for me:
A helper su
Igor Shevchenko wrote:
On Saturday 19 February 2005 03:06, Stas Bekman wrote:
What about?
$r->spawn_proc_prog
http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html#C_spawn_proc_pro
g_
Thanks for those links, Stas! I had to find them by myself as they are in
docs...
The following worked for
please check one more thing where is your cwd in the spawned script, it
should be '/'. in mp1 one had to manually chdir '/' in the script, but I
believe the Apache C API called from spawn_proc_prog does it for you. Is
that right?
> CORE::exit(0);
and you don't need this either, especiall if you
On Saturday 19 February 2005 18:44, you wrote:
> Igor Shevchenko wrote:
> > On Saturday 19 February 2005 03:06, Stas Bekman wrote:
> >>What about?
> >>$r->spawn_proc_prog
> >>http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html#C_spawn_proc_p
> >>ro g_
> >
> > Thanks for those links, Stas! I
Igor Shevchenko wrote:
[...]
exec ( @ARGV );
why do you need to call exec() here? It doesn't detach if you don't call
it? I think it should make no difference at all.
I need to run the real script somehow, hence the call to "exec".
yes, of course, so this was just a wrapper. But you end up with ye
Adam Prime x443 wrote:
I am pretty comfortable with setting up a static front end that
proxies to a mod_perl server listening on 127.0.0.1 with Apache 1.x
and mod_perl 1.x, and mod_rpaf.
Are there any caveats I should know about before getting this working
on 2.0 before I start setting it up? I ha
On Saturday 19 February 2005 18:51, you wrote:
> please check one more thing where is your cwd in the spawned script, it
> should be '/'. in mp1 one had to manually chdir '/' in the script, but I
> believe the Apache C API called from spawn_proc_prog does it for you. Is
> that right?
Checked, it w
Geoffrey Young wrote:
take a look at the implementation in mp1 - why won't something like that
work, so long as we're in prefork?
i.e. create a special scalar (quoting from mp1):
SV *doc_root = perl_get_sv("Apache::Server::DocumentRoot", TRUE);
sv_setsv(doc_root, ST(1));
con
Igor Shevchenko wrote:
On Saturday 19 February 2005 18:51, you wrote:
please check one more thing where is your cwd in the spawned script, it
should be '/'. in mp1 one had to manually chdir '/' in the script, but I
believe the Apache C API called from spawn_proc_prog does it for you. Is
that right?
preface -- sorry if this is a double post, i accidentally sent from
another address earlier, and i believe this list doesn't post
non-subscriber messages.
Admittedly, this is due to user error and incompetence
mod_perl2 / apache2 / libaprq is the latest
This works:
sub handler
{
> The question is whether we want to make that docroot change persistent
> across requests [1] or per-request[2]. Geoff's proposal matches the
> former [1]behavior, whereas Joe's the latter[2].
>
> I tend to think that per-request[2] is the sane solution. That's because
> you can never know wheth
Greetings,
We would like to provide a software package that uses mod_perl that clients
can rent from us, which gets installed on their machine. We would like to
build some type of license checking, but considering its easy to tamper with
perl code what options do i have?
We would like to be ab
14 matches
Mail list logo