Quoting Stas Bekman <[EMAIL PROTECTED]>:
[EMAIL PROTECTED] wrote:
Quoting Stas Bekman <[EMAIL PROTECTED]>:
allan juul wrote:
[...]
Use must use $r->set_content_length(). See the mp2 test suite for
examples.
(i don't have that method available in my mod_perl2)
You sure do :)
% lookup set_content_
Title: Message
Hi,
I try to connect to
CyberSource using apache, perl, mod-perl, ssl. For connecting to CyberSource we
use merchant id.
On one setup with
some specific set of rpms; we can see the merchant id in the Request
but not in the Response.
But the same code
works on another setup.
On Mon, 09 May 2005 22:41:51 -0400
Stas Bekman <[EMAIL PROTECTED]> wrote:
> Marc Lambrichs wrote:
> > I suppose there should be some changes made to Apache::DB using the
> > new naming schema in RC6? Could anyone enlighten me?
>
> Mark, please take a look at these:
> http://perl.apache.org/docs/
[EMAIL PROTECTED] wrote:
[...]
can anyone supply a simple example i then can check on our reverse
proxy ?
Try: t/response/TestApache/content_length_header.pm
Though I haven't tried to call it from the filter, so may be Jeff's
suggestion will work.
Jeff's suggestion does indeed work. oddly enou
Hello folks,
This is for a HTML::Mason application but i believe its a problem with my
mod_perl/apache configuration...
I am trying to configure my apache/handler to run multiple instances of the
same application (one for each of our client). Basicly I need the following:
1. each client use the
Stas Bekman wrote:
Mark wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
$ENV{REDIRECT_ERROR_NOTES} not working with MP2
Using latest everything (modperl 2 RC5).
To illustrate, I simply configure Apache with an errordocument:
ErrorDocument 500 /c
--- Sam Tregar <[EMAIL PROTECTED]> wrote:
> On Mon, 9 May 2005, Igor Chudov wrote:
>
> > I would like to at least have a log that lists
> pid,
> > page requested, parameters, starting memory and
> memory
> > after the request was processed. O rsome other
> ideas
> > like that. Any thoughts?
>
>
I have a lot of code in a lot of places, and something
like 2-3 hits per second. It is a relatively busy
website. I cannot afford doing what was just
suggested, I would prefer some indirect perl
invocation at the appropriate place. LogHandler seems
like such a place.
i
--- David Nicol <[EMAIL PR
how about declaring something like
sub LogMemoryUsage(){
open PIDLOG, ">>pidlog";
flock PIDLOG, LOCK_EX;
print PIDLOG, "$$ $ENV{SCRIPT_NAME} ",`ps -p $$ -os`
close PIDLOG;
};
and then calling LogMemoryUsage() at the beginning (and end) of
every routine that you suspect might have the
Can you point me to some LogHandler example that works
under the latest released mod_perl 2.0?
http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Ha
On 5/10/05, Igor Chudov <[EMAIL PROTECTED]> wrote:
> LogHandler seems
> like such a place.
Undoubtably. But how do you get the memory usage? read /proc/$$/mem or
something? there is not, AFAICTFRAQG (as far as I can tell from recollection
and quick googling) a line noise variable for current memo
On Tue, 2005-05-10 at 15:59 -0500, David Nicol wrote:
> Undoubtably. But how do you get the memory usage? read /proc/$$/mem or
> something?
That's what Apache::SizeLimit does, and it was as fast as
Apache::GTopLimit the last time I checked it.
- Perrin
I already have a function to get memory usage,
borrowed from Zpache::SizeLimit and modified.
sub linux_memory_size {
my($size, $resident, $share) = (0, 0, 0);
my $file = "/proc/self/statm";
if (open my $fh, "<$file") {
($size, $resident, $share) = split /\s/, scalar
<$fh>;
close $
Hello,
I have installed mod_perl, Apache AuthenSmb for the NT authentication
on the UNIX server. I want to implement the time out feature, so that
any user after 30 minutes of inactive session need to relogin. Any
suggestions will be greatly appreciated.
Regards,
Raja
On Tue, 2005-05-10 at 14:33 -0400, Lawrence Waterhouse wrote:
> Here my current setup... I am really in need for advise on this one, this
> setup don't seem to work for an unknown reason.
How can you tell it's not working? What have you tried to debug it?
- Perrin
I'm having problems with MasonX::Request::WithApacheSession (using
Apache::Session::MySQL backend). The session is not being updated, so
I can't save any data to it. I verified this by looking at the mysql
logs. I am using Apache, mod_perl and HTML::Mason. I have tried
setting AlwaysWrite on in htt
--- Rick <[EMAIL PROTECTED]> wrote:
> I'm having problems with
> MasonX::Request::WithApacheSession (using
> Apache::Session::MySQL backend). The session is not
> being updated, so
> I can't save any data to it. I verified this by
> looking at the mysql
> logs.
Are you timestamping your session
--- Bart Simpson <[EMAIL PROTECTED]> wrote:
"Don't use mason though."
I'm curious about your last statement about not using
Mason, why do u say so?
--- Bart Simpson <[EMAIL PROTECTED]> wrote:
>
> --- Rick <[EMAIL PROTECTED]> wrote:
> > I'm having problems with
> > MasonX::Request::WithApacheSes
--- "Gokul P. Nair" <[EMAIL PROTECTED]> wrote:
> --- Bart Simpson <[EMAIL PROTECTED]> wrote:
> "Don't use mason though."
>
> I'm curious about your last statement about not
> using
> Mason, why do u say so?
>
>
LOL -- I mean I , myself, do not use mason. I have
nothing against Mason. Never ha
I am working on a system on algebra.com where anyone
could define a math solver for a particular kind of
problem. It could be defined either via a custom
markup language (not interesting), or as a perl
script.
These user submitted perl scripts will be executed
inside Safe.pm compartment. I hope th
Stas Bekman wrote:
Mark wrote:
-8<-- Start Bug Report 8<--
1. Problem Description:
$ENV{REDIRECT_ERROR_NOTES} not working with MP2
Using latest everything (modperl 2 RC5).
To illustrate, I simply configure Apache with an errordocument:
ErrorDocument 500 /c
21 matches
Mail list logo