Dan McCormick wrote:
Hi,
After struggling with trying to figure out mod_proxy's caching algorithm
and noting from the list archive's that others had, too -- and due to
the dearth of existing documentation on the subject -- I came up with
some documentation below by sifting through the
On Thu, 16 Nov 2000, Robin Berjon wrote:
At 00:12 16/11/2000 -0600, Les Mikesell wrote:
Nothing against mod_rewrite -- I was just wondering if a small perl could
be embedded with out bloating the server too much.
I don't think 'small' and 'perl' belong in the same sentence...
I know what
On Wed, 15 Nov 2000, Geoffrey Young wrote:
-Original Message-
From: Robin Berjon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 10:43 AM
To: Geoffrey Young
Cc: '[EMAIL PROTECTED]'
Subject: Re: [RFC] Apache::Expires
At 10:26 15/11/2000 -0500,
Hi Everybody.
I'm making a module that modifies the uri at the translation phase,
but I have a doubt.
The way I do it is modifying the uri and returning DECLINED as I read in the
book "Writing Apache Modules with Perl And C".
But working like this, the environment variable QUERY_STRING is well
OK,
I've
tried everything I can think of and I'm still having environment configuration
problems.
I have
a series of scripts that access an Oracle database. At a minimum, two
environment variables need to be set up for this; ORACLE_HOME and
LD_LIBRARY_PATH (must include $ORACLE_HOME/lib)
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 6:19 PM
To: Geoffrey Young
Cc: '[EMAIL PROTECTED]'
Subject: Re: [RFC] Apache::Expires
On Wed, 15 Nov 2000, Geoffrey Young wrote:
I was wondering if anyone has some
try using a startup.pl to pre-load DBD::Oracle (and
everything else while you're at it) and set these environment variables from
within a BEGIN block there.
I've found that this, along with PerlSetEnv, works fine
on Linux.
if that fails, try a BEGIN block in each script as
well...
HTH
-Original Message-
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 10:20 PM
To: [EMAIL PROTECTED]
Subject: Re: AuthCookie solution
a little off the subject, but close.
it the pointer for login is a complete URL ie http://foo.com/login.pl
On Thu, Nov 16, 2000 at 01:37:41AM -0500, Dan McCormick wrote:
I came up with some documentation below by sifting through the
source code.
Excellent, thanks!
If a malformed Expires: prevents mod_proxy from caching a response (
The response will then be
cached UNLESS any of the following
-Original Message-
From: Gunther Birznieks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 4:04 AM
To: Les Mikesell; [EMAIL PROTECTED]
Cc: Tim Bunce; Aaron; [EMAIL PROTECTED]
Subject: Re: database access
3. As a plug, I had also suggested a couple years ago that
Uh, I was just seeing if anyone actually read my emails. :)
Actually, I am quite happy this was added. Thanks!
At 09:02 AM 11/16/00 -0500, Geoffrey Young wrote:
-Original Message-
From: Gunther Birznieks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 4:04 AM
To:
Following up on the security suggestion (I'm actually responding to
private mail, so I'll just quote the person who wrote to me without
giving a name) -
Of course you can do this in an .htaccess file, too:
Perl
arbitrary perl code...
/Perl
I'd argue that people shouldn't be able to do
-Original Message-
From: Richard L. Goerwitz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 10:11 AM
To: [EMAIL PROTECTED]
Cc: Geoffrey Young
Subject: Re: security suggestion
Following up on the security suggestion (I'm actually responding to
private mail, so
Perhaps you ought to gfind a way to use Safe; then?
-Original Message-
From: Richard L. Goerwitz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 9:09 AM
To: mod_perl list
Subject: security suggestion
At Doug's suggestion I'm moving a brief conversation we've had
in
"HJE" == Hackett, Jonny E [EMAIL PROTECTED] writes:
HJE I'm attempting to incorporate Apache::Sandwich into a site I'm working on
HJE and I'm having some problems getting sandwich to work with cgi scripts.
What shows up in your error logs?
Did you read the section in the Apache::Sandwich
At 18:35 16/11/2000 +0100, Fabrice Scemama wrote:
ok so what about miniperl, which is used when building perl?
I think using whichever of the small perls that are used during build (or
were thought about to use during build) could potentially be interesting.
-- robin b.
As a computer, I find
Maybe it's just me, but it seems that the responses richard has gotten
haven't really touched on the core of the problem. That mod_perl isn't
exactly friendly to sysadmin's who want to run apache on a (i'm guessing),
student accessed server, with user dir's and all that other stuff. I'm
pretty
The thing is, though, that as a web administrator I don't want those
same developers (or at least all of them) to be able to create and in-
stall _arbitrary_ handlers or arbitrary perl code. Sometimes the de-
velopers just don't know enough. And sometimes I just don't trust
them enough to
Speaking from an Oracle perspective, it is generally better to use a join in
preference to an "IN" type subquery since the execution plan is normally
more efficient. However, some types of queries can only be solved with a
subquery clause such is the case with correlated subqueries.
This is a
Anyone have any experience doing Files sections inside of perlsections virtualhosts.
I can't see anything in the docs about this.
Just wanted to ask before I start experimenting, as I don't have the first clue about
how this syntax might work.
Thanks,
--
Tom Lancaster Red Hat, Inc.
I am getting segfaults from an Apache/mod_perl/Mason setup so I decided I
needed to build both Apache and mod_perl from source using -g and without
DSOs so I could easily debug it with gdb. Alas, that is turning out to be
tougher than I expected. I'm probably doing something fundamentally
Anyone have any experience doing Files sections inside of perlsections
virtualhosts.
I can't see anything in the docs about this.
Just wanted to ask before I start experimenting, as I don't have the first
clue about how this syntax might work.
Assuming I'm not missing something subtle about
I guess what I am really after is intercepting the If-Modified-Since tag
and
return a 304 prior to content generation - maybe in a fixup handler...
This makes sense to me. The fixup handler has to decide if new content has
to be delivered e.g. the db has changed or to return the 304
I
I installed Apache::SSI last night as I needed a quick way of including some
costing info in a page (from my dbase) that already used std SSI.
The install worked fine, my extension seems to be fine but when my code
runs, I get an unexpected error.
[Thu Nov 16 21:45:33 2000] [error] [Thu Nov 16
I installed Apache::SSI last night as I needed a quick way of including some
costing info in a page (from my dbase) that already used std SSI.
The install worked fine, my extension seems to be fine but when my code
runs, I get an unexpected error.
[Thu Nov 16 21:45:33 2000] [error] [Thu Nov 16
"Adam Prime" [EMAIL PROTECTED] wrote:
Maybe it's just me, but it seems that the responses richard has gotten
haven't really touched on the core of the problem. That mod_perl isn't
exactly friendly to sysadmin's who want to run apache on a (i'm guessing),
student accessed server, with user
Derrr...
Dumb error, never trust a cut and paste. I copied in one two many lines from
the original program.
At 18:35 16/11/2000 +0100, Fabrice Scemama wrote:
ok so what about miniperl, which is used when building perl?
Is your question, what about embedding miniperl rather than microperl ? I
don't know enough about the diffs to decide, and anyway I couldn't do the
job myself. I was just supporting
PJ When I start up apache (apachectl startssl), I get a core dump.
PJ Attached is an "strace httpd -X" for those of you who find this
useful.
FWIW, I have the same issue also. I noticed it when using CGI::Carp.
My solution was not "use" CGI::Carp; in startup.pl (a real lame
solution, I
On Thu, 16 Nov 2000, Geoffrey Young wrote:
it's the lack of a 304 that's bothering me (today :)
If I just put your lines into a handler I get this from netscape:
If-Modified-Since = Thu, 16 Nov 2000 12:48:04 GMT; length=1150
but, since there is no modification time for the 'document' to
I don't think another choice could hurt and potentially is cool.
However, at the same time... I do know that when I go to the Microsoft
World I get really annoyed at the fact that VBScript syntax means different
things to different apps including IIS. And that it's so different from VB,
I
At 08:53 17/11/2000 +0800, Gunther Birznieks wrote:
However, at the same time... I do know that when I go to the Microsoft
World I get really annoyed at the fact that VBScript syntax means different
things to different apps including IIS. And that it's so different from VB,
I can't believe
On Thu, 16 Nov 2000, Didier Godefroy wrote:
I'm trying to compile mod_perl as a dso with apxs on Alpha/Tru64 unix and
there is an error from the linker:
[snip]
Can anyone give a clue?
Make sure the ld that is being called is the exact same one that was used
to build perl itself, e.g. by
On 15 Nov 2000, David Hodgkinson wrote:
Geoffrey Young [EMAIL PROTECTED] writes:
Perhaps that would make for a good talk ;)
mod_rewrite recovery?
Ok seriously then, we're proposing replacing a lite apache and
mod_rewrite with a slightly heavier, but presumably highly shared
on 11/16/00 8:50 PM, Jeremy A. Mates at [EMAIL PROTECTED] uttered the
following:
Make sure the ld that is being called is the exact same one that was used
to build perl itself, e.g. by altering your PATH environment variable to
point to either the vendor default first (under /usr/bin) or
Hi,
Could somebody tell me why the following testcase doesn't work?
use Apache ();
use Apache::File ();
my $r = Apache-request();
$r-content_type('text/plain');
$r-send_http_header();
my $f = Apache::File-tmpfile();
print $f "test\ntest\n";
$r-send_fd($f);
On Thu, 16 Nov 2000, Didier Godefroy wrote:
GNU ld isn't on either system and the error is the exact same on both,
they seem to all this in common:
-Wl,-rpath,/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE'
[snip]
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
"Steve" == Steve Smith [EMAIL PROTECTED] writes:
Hi, Could somebody tell me why the following testcase doesn't work?
snip
Nevermind, I got it from the archives eventually :
seek $f, 0, 0;
$r-send_fd($f);
Cheers,
Steve
On Fri, Nov 17, 2000 at 02:42:43PM +1100, Steve Smith wrote:
Hi,
All I get is an empty document. My understanding is that the data
written to the tmpfile should be available immediately through the
filehandle even if it hasn't been flushed.
I wouldn't bet on it flushing: mod_perl may not
On Fri, Nov 17, 2000 at 03:51:35PM +1100, Steve Smith wrote:
"Steve" == Steve Smith [EMAIL PROTECTED] writes:
Hi, Could somebody tell me why the following testcase doesn't work?
snip
Nevermind, I got it from the archives eventually :
seek $f, 0, 0;
Had a look in
On Fri, Nov 17, 2000 at 12:32:33AM -0500, barries wrote:
On Fri, Nov 17, 2000 at 03:51:35PM +1100, Steve Smith wrote:
seek $f, 0, 0;
Had a look in Apache::File (below), and it sysopens, so you might want
to sysseek(...) instead.
No, nevermind, don't: sysseek won't flush
On Tue, 14 Nov 2000 [EMAIL PROTECTED] wrote:
Please see http://www.apache.org/~ask/junk.txt
- ask
I will soon need something similar to this myself.
In my case, it will be necessary to authenticate on a user by user basis.
It would be good to extend this module to cope
On Thu, 16 Nov 2000, Ask Bjoern Hansen wrote:
On Tue, 14 Nov 2000 [EMAIL PROTECTED] wrote:
Please see http://www.apache.org/~ask/junk.txt
ah, shoot. My low cluerate beats everything. I obviously only meant
to send that to Simon.
Sorry.
- ask
--
ask bjoern hansen -
- Original Message -
From: "Gunther Birznieks" [EMAIL PROTECTED]
To: "Les Mikesell" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: "Tim Bunce" [EMAIL PROTECTED]; "Aaron" [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, November 16, 2000 3:04 AM
Subject: Re: database access
1. I don't
1. I don't see the scenario you are talking about (dynamic connection
pooling) actually working too well in practice because with most web sites
there is usually peak times and non-peak times. Your database still has to
handle the peak times and keep the connection open, so why not just leave
richter 00/11/16 21:31:19
Modified:embperl Changes.pod.1.html Changes.pod.10.html
Changes.pod.11.html Changes.pod.12.html
Changes.pod.13.html Changes.pod.14.html
Changes.pod.15.html Changes.pod.16.html
46 matches
Mail list logo