jonathan vanasco wrote:
Author: pileswasp <[EMAIL PROTECTED]>
> .1 * 1024 * 1024 = 104857.6
> Perhaps .6 of a byte is difficult for it to cope with?
Probably -- but that doesn't seem to be it either.
I think maybe there was an issue with my compile ?
I tried using every book and web example I
hummm
i tried to hack the code in RegistryCooker.pm and i saw that the files
differ from FreeBSD to Debian
let's look
Freebsd:
/usr/local/lib/perl5/site_perl/5.8.6/mach/Apache2/ModPerl/RegistryCooker.pm
sub can_compile {
my $self = shift;
my $r = $self->{REQ};
unless (-r $r->my
On Sat, 19 Feb 2005 20:37:17 -0500, jonathan vanasco
<[EMAIL PROTECTED]> wrote:
> {
> my $r = Apache::Request->new(shift,
> POST_MAX=> .1 * 1024 * 1024,# in
> bytes, so 100K
> DISABLE_UPLOADS => 0
>
Author: pileswasp <[EMAIL PROTECTED]>
> .1 * 1024 * 1024 = 104857.6
> Perhaps .6 of a byte is difficult for it to cope with?
Probably -- but that doesn't seem to be it either.
I think maybe there was an issue with my compile ?
I tried using every book and web example I could find -- here are
now strange, i changed nothing, restarted server twice, and the server
wants me to download the script rather than execute it...
let's look at my config files at:
http://w3.ift.ulaval.ca/~brlav35/apache2conf/
the main 2 files are :
apache2.conf
/sites-enabled/000-default
i hope someone fi
Bruno Lavoie wrote:
OK,
i'm not a mod_perl hacker, but i've installed a Apache2 + mod_perl2
under a FreeBSD VMWare to test, i used the same mod_perl2
configuration.. same script! I copy paste this config in the
global server config or default vhost:
#
PerlModule ModPerl::PerlRun
Alias /
OK,
i'm not a mod_perl hacker, but i've installed a Apache2 + mod_perl2
under a FreeBSD VMWare to test, i used the same mod_perl2
configuration.. same script! I copy paste this config in the
global server config or default vhost:
#
PerlModule ModPerl::PerlRun
Alias /perl-run/ /usr/loca
Igor wrote:
[...]
Without the additional fork in "exit if fork() > 0;", background
scripts which are started from exec(...) are killed when request is
complete. Without the additional fork(), the PID for the bg process
will be the same as for the "exec_helper.pl" script (since "exec" is
used). Apac
Bruno Lavoie wrote:
Hello,
my problem is very confusing! and i absolutely need it working!
at work i need to configure multiples developement zone under apache 2
and mod_perl 2, and this as virtual host for each programmer. I need
to run environement in ModPerl::PerlRun because we have dirty script
Perrin Harkins wrote:
On Mon, 2005-02-21 at 09:58 -0500, Bruno Lavoie wrote:
i need virtual host to have unique @INC on per virtual host basis:
http://perl.apache.org/docs/2.0/user/config/config.html#Modifying_C__INC__on_a_Per_VirtualHost
I could be worng about this, but I think that only works i
On Mon, 2005-02-21 at 13:54 -0500, Bruno Lavoie wrote:
> ok, i'll try to run different server for each developper, mod_perl2
> seem to be able to do this rather than mod_perl 1.x
It works with either one.
> and will this 2 servers have different @INC paths??? (my original problem)
Yes, you can s
ok, i'll try to run different server for each developper, mod_perl2
seem to be able to do this rather than mod_perl 1.x
and will this 2 servers have different @INC paths??? (my original problem)
thanks
Bruno
On Mon, 21 Feb 2005 13:38:07 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Mon,
On Mon, 2005-02-21 at 13:31 -0500, Bruno Lavoie wrote:
> apache2-mpm-prefork model, should i change this?
> i think that if i run php under apache2 i need to run prefork
> model. debian automaticaly switched me to this mpm model when i
> installed mod_php4
My advice is to keep running prefork
Hello,
i'm running on :
apache2-mpm-prefork model, should i change this?
i think that if i run php under apache2 i need to run prefork
model. debian automaticaly switched me to this mpm model when i
installed mod_php4
i can deinstall php for testing purpose if i need to change the mpm model
On Mon, 2005-02-21 at 09:58 -0500, Bruno Lavoie wrote:
> i need virtual host to have unique @INC on per virtual host basis:
> http://perl.apache.org/docs/2.0/user/config/config.html#Modifying_C__INC__on_a_Per_VirtualHost
I could be worng about this, but I think that only works if you are
running
On Mon, 2005-02-21 at 11:49 -0300, Leo wrote:
>
>
> SetHandler perl-script
> PerlResponseHandler ModPerl::PerlRun
> Options +ExecCGI
>
> PerlOptions +ParseHeaders
>
>
> PerlSendHeader On
>
>
>
Note that th
From: jonathan vanasco <[EMAIL PROTECTED]>
Date: Sat, 19 Feb 2005 20:37:17 -0500
[...]
sub handler
{
my $r = Apache::Request->new(shift,
POST_MAX=> .1 * 1024 * 1024,# in
bytes, so 100K
DISABLE_UPLOADS => 0
Your .pl file is not being executed.
It must be in the cgi-bin directory for ModPerl::PerlRun to do anything.
I tested your apache config and it functioned for my
test.pl even outside the cgi-bin directory.
You mentioned in a previous post your reasons for using vhosts... I am
not familiar eno
i tried the user_dir public_html config
this is :
UserDir public_html
UserDir disabled root
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
PerlModule ModPerl::Perl
humm,
i need virtual host to have unique @INC on per virtual host basis:
http://perl.apache.org/docs/2.0/user/config/config.html#Modifying_C__INC__on_a_Per_VirtualHost
because i need each developper to use their own librairies version in
devel stage...
its hard to me to have a cgi-bin to run
Bruno:
If you use public_html for each user, you might be able to configure a
cgi-bin directory therein for testing such "dirty scripts" .
This is a modification of the default configuration of Apache2 on
Gentoo...
SetHandler perl-script
PerlResponseHandler ModPerl::Per
Hi Geoff, Sam,
I have found out that that the bus error was actually due to a app level bug in perl code.
In a sense Devel::DProf is less tolerant of bugs than perl core itself since that
code worked without activating the profiling. I wonder if the same is true in your
situation in the past.
A
Hello,
my problem is very confusing! and i absolutely need it working!
at work i need to configure multiples developement zone under apache 2
and mod_perl 2, and this as virtual host for each programmer. I need
to run environement in ModPerl::PerlRun because we have dirty scripts
that doesnt work
Message-ID: 873053
On Monday 21 February 2005 10:20, You wrote:
Original Message --
Subject: Re: exec and detach a subprocess
From: Stas Bekman <[EMAIL PROTECTED]>
To: Igor Shevchenko <[EMAIL PROTECTED]>
CC: modperl@perl.apache.org
Date: 21 Feb 2005 10:17:49
--
24 matches
Mail list logo