Do you have a $r->no_cache(1) somewhere before your send_headers call?
Chip
Nenad Steric <[EMAIL PROTECTED]> writes:
> Hi,
>
> i am using a Cookie which has a timeout as a "-value",
> when it expires i want to send a new one which should replace this one.
>
> it the accesshandler is have a
Hi,
i am using a Cookie which has a timeout as a "-value",
when it expires i want to send a new one which should replace this one.
it the accesshandler is have a
"verify_cookie"-method which
checks the timeout, if it's expired then i call
...
$cookie = CGI::Cookie->new(-name => 'myCookie',... e
On Mon, 18 Jun 2001, Paul Reynolds wrote:
> What versoin of mod_perl are you using? I tend to stay away from 1.25.
care to share the problems you have with 1.25? if they are not fixed in
cvs, now is the time to make them known to be fixed for 1.26.
On Mon, 18 Jun 2001, Paul Lindner wrote:
>-Uusemymalloc \
...
> PERL_CCEOPTS=-Dccflags='-DPERL_EMERGENCY_SBRK -DTWO_POT_OPTIMIZE -DPACK_MALLOC'
these options are only in effect when using Perl's malloc, which
-Uusemymalloc turns off. they are also all turned on by default in 5.6.0+
On Mon, 18 Jun 2001, Philippe M . Chiasson wrote:
> In my case, I used it to work around the strange mod_perl behaviour
> under DSO (fixed in CVS)
right, so that is no longer needed. any other examples? i hesitate on
adding the feature because anything that needs to be conditional based on
mo
On Tue, 12 Jun 2001, John Saylor wrote:
> Hi
>
> Is it possible to put a handler on the error log so that certain
> elements could be filtered? Ideally, I'd like to keep track of how many
> times a certain error appears and with a handler that would be a cake
> walk. So the handler would 'live'
I have PerlAuthenHandler handler that sets a cookie on authentication
success. The cookie records, in part, the time of the last access to
the site. Therefore for each access the cookie is updated. When a new
document is accessed or a CGI script is run the cookie is sent to the
browser. However, i
ah ha, right, since i always have PERL_DEBUG=1, perl_destruct_level is
always set to 2. good find! it should always be 2 for dso, this patch
seems to fix USE_APXS too.
--- src/modules/perl/mod_perl.c 2001/06/14 04:49:08 1.137
+++ src/modules/perl/mod_perl.c 2001/06/19 01:59:18
@@ -259,8 +25
> "Gunther" == Gunther Birznieks <[EMAIL PROTECTED]> writes:
Gunther> A month ago I posed a question about TShirts for mod_perl BOF.
Gunther> One group of people did volunteer to do the design and posted interest
Gunther> on here. So if they are still up for it, it would be awesome to start
G
I think I've found the error of my ways.
The reason that it was leaking with a static build was that the
PerlFreshRestart directive was set to 'On'. This resulted in a
leak of a couple of Mb.
The reason that it was leaking with a USE_DSO build was that I didn't set
PERL_DESTRUCT_LEVEL. Once I
-Original Message-
From: Rob Bloodgood
To: Geoffrey Young
Cc: mod_perl
Sent: 6/18/01 8:33 PM
Subject: RE: Adding parameters to a request
[snip]
>
>But I don't know if the above call is "complete" (changes to the
>Apache::Table object reflect in the request).
oh, I see... I don't thi
> [snip]
> > I'm using Apache::Request, for the sole
> >purpose
> >of having easier access to the parameters. Except that it turns out
> >Apache::Request's param() method does NOT support *setting* parameters,
> >only
> >*getting* them.
>
> the
> $apr->param('foo' => [qw(one two three)]);
> exam
-Original Message-
From: Rob Bloodgood
To: mod_perl
Sent: 6/18/01 6:35 PM
Subject: Adding parameters to a request
[snip]
> I'm using Apache::Request, for the sole
>purpose
>of having easier access to the parameters. Except that it turns out
>Apache::Request's param() method does NOT s
In my AuthenHandler, I run the following snippet:
# validation successful
$apr->subprocess_env(REMOTE_PASSWORD => $pass);
my $args = $apr->args || '';
$apr->args( $args . ( length $args ? '&' : '' ) . "pid=$pid" )
unless $args =~ /pid=\d+/;
return
We have a CGI script which dynamically generates a certain page on our site.
We want to include an SSI on that dynamically created page. Is that
possible? We have two "AddHandler" statements for files that end in .cgi...
...
AddHandler server-parsed .cgi
...
ServerName www.x
On Mon, Jun 18, 2001 at 07:18:56AM +0200, Per Einar wrote:
>
> - Original Message -
> From: "will trillich" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 7:09 AM
> Subject: Re: CGI::Cookie vs Apache::Cookie -- help?
> > what does $cookie->bake do (add set-co
On Mon, Jun 18, 2001 at 11:03:10AM +0100, Paul Reynolds wrote:
> What versoin of mod_perl are you using? I tend to stay away from 1.25. Try
> installing a version between 1.17 and 1.25, excluding 1.25.
The attached script works for our project. Just replace the @x@
values with stuff that you
> Although: Stas:
> "Since keepalive connections will not incur the additional three-way TCP
>handshake, turning it off will be kinder to the network."
> erm Surely if you turn it *on* you'll be kinder to the network,
> because you're not reinitiating the handshake?
[it] refers to [
On Mon, Jun 18, 2001 at 10:41:50AM -0500, Keith G. Murphy wrote:
>Trevor Phillips wrote:
>>
>>Is there any way to control which daemon handles a certain request with apache
>>1.x?
>>
>>eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl
>>application to 10 specific daemon
On Mon, 18 Jun 2001, Keith G. Murphy wrote:
> Trevor Phillips wrote:
> >
> > Is there any way to control which daemon handles a certain request with apache
> > 1.x?
> >
> > eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl
> > application to 10 specific daemons would imp
From: "Purcell, Scott" <[EMAIL PROTECTED]>
Sent: Monday, June 18, 2001 9:45 AM
> Hello,
> I wrote a little bit ago about trying to not fork my Apache server. I want
> to run only a single child. Anyway, I got three terrific responses, but have
> no clue what they mean.
>
> I am on Apache NT4.0
Trevor Phillips wrote:
>
> Is there any way to control which daemon handles a certain request with apache
> 1.x?
>
> eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl
> application to 10 specific daemons would improve the efficiency of data cached
> in those processes.
heh...I see your confusion (and everyone else's)
There's no such thing as httpd -X on Windows. It's one server that's
multi-threaded. A completely differnet model to UNIX.
You don't have to do httpd -X because mod_perl on Windows Apache is kind of
crippled anyway. It will ONLY run with one per
On Wed, Jun 13, 2001 at 09:52:39PM -0700, Doug MacEachern wrote:
> On Fri, 25 May 2001, Philippe M . Chiasson wrote:
>
> > I know I posted this patch a while ago, but I am looking thru a few patches
> > I have and I thought I might re-post this one along with the rest
> >
> > This module allows
Hello,
I wrote a little bit ago about trying to not fork my Apache server. I want
to run only a single child. Anyway, I got three terrific responses, but have
no clue what they mean.
I am on Apache NT4.0 and am learning. Anyway, some of the responses I got
for setting a single process were:
type
On Mon, Jun 18, 2001 at 02:29:18PM +0800, Trevor Phillips wrote:
>Gunther Birznieks wrote:
[>>Trevor wrote:]
>>Yeah, just use the mod_proxy model and then proxy to different mod_perl
>>backend servers based on the URL itself.
>Isn't this pretty much what I said is *a* solution?
Yes, and the only
Hi,
I am a seasoned web programmer (mod_perl, Perl, PHP) seeking for web
development in similar environment. I also manage, amdin systems, web
sites, basically an all in one, jack of all trade kind of guy. If
interested, please email me for resume. I prefer telecomuting unless
you're in th
The -X flag is a command-line option, not a conf file param. All your
other conf params stay the same (inside httpd.conf) and you just start
your server with "/usr/local/apache/bin/httpd -X" or whatever is
appropriate for your system.
This is not a mod_perl issue though; you may want to review t
"Purcell, Scott" wrote:
>
> It says to run the server (during testing) in a single process mode (httpd
> -X)
>
> I tried putting httpd 1 into the conf file, and it got mad at me.
>
> How does one set the process (spawning of children) to 1
You have to add the "X"-option to the commandline, eg:
Hello,
In the CGi to mod_perl porting coding guidelines, under the headline
"sometimes it works, Sometimes it doesn't"
It says to run the server (during testing) in a single process mode (httpd
-X)
I tried putting httpd 1 into the conf file, and it got mad at me.
How does one set the process (sp
>From the README:
This a lightweight form generation module, which can be used with either
CGI.pm (version 2 or 3), or (inside mod_perl) Apache::Request.
The module provides similar facilities to CGI.pm's HTML tag generation
routines, but is restricted to form field generation tags, with sticky v
What versoin of mod_perl are you using? I tend to stay away from 1.25. Try
installing a version between 1.17 and 1.25, excluding 1.25.
- Original Message -
From: Joseph Francois
To: [EMAIL PROTECTED]
Sent: Monday, June 18, 2001 10:09 AM
Subject: Install mod_perl on Solaris 2.7
Hello,
Hello,
I've been trying to install
Mod_perl as APACI on solaris 2.7. but after the build i get " httpd: Cannot find
ELF". I make mod_perl install apache for me. when I install apache without
mod_perl, apache works fine. Please help
thank you
33 matches
Mail list logo