Re: mod_proxy caching documentation

2000-11-16 Thread Joshua Chamas
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

Re: Microperl

2000-11-16 Thread Matthew Byng-Maddick
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

RE: [RFC] Apache::Expires

2000-11-16 Thread Stas Bekman
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,

Uri modification at translation phase ...

2000-11-16 Thread Antonio Pascual
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

Environment configuration problems

2000-11-16 Thread Hughes, Ralph
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)

RE: [RFC] Apache::Expires

2000-11-16 Thread Geoffrey Young
-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

RE: Environment configuration problems

2000-11-16 Thread Geoffrey Young
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

RE: AuthCookie solution

2000-11-16 Thread Geoffrey Young
-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

Re: mod_proxy caching documentation

2000-11-16 Thread barries
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

RE: database access

2000-11-16 Thread Geoffrey Young
-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

RE: database access

2000-11-16 Thread Gunther Birznieks
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:

Re: security suggestion

2000-11-16 Thread Richard L. Goerwitz
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

RE: security suggestion

2000-11-16 Thread Geoffrey Young
-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

RE: security suggestion

2000-11-16 Thread Jerrad Pierce
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

Re: Apache::Sandwich and CGI scripts

2000-11-16 Thread Vivek Khera
"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

Re: Microperl

2000-11-16 Thread Robin Berjon
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

RE: security suggestion

2000-11-16 Thread Adam Prime
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

RE: security suggestion

2000-11-16 Thread Christian Gilmore
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

RE: Table Joins

2000-11-16 Thread Sinclair, Alan (CORP, GEAccess)
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

Files .. in virtualhosts in perl sections

2000-11-16 Thread Tom Lancaster
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.

Trouble building debug verson of Apache+mod_perl on Linux

2000-11-16 Thread Skip Montanaro
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

Re: Files .. in virtualhosts in perl sections

2000-11-16 Thread Benjamin Trott
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

Re: [RFC] Apache::Expires

2000-11-16 Thread Gerald Richter
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

Failure to find function in Apache::SSI using DBI

2000-11-16 Thread Eustace, Glen
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

Failure to find function in Apache::SSI using DBI

2000-11-16 Thread Eustace, Glen
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

Re: security suggestion

2000-11-16 Thread Dave Kaufman
"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

RE: Failure to find function in Apache::SSI using DBI

2000-11-16 Thread Eustace, Glen
Derrr... Dumb error, never trust a cut and paste. I copied in one two many lines from the original program.

Re: Microperl

2000-11-16 Thread Robin Berjon
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

Re: Re:coredump on Carps in startup.pl

2000-11-16 Thread Jeremy Howard
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

RE: [RFC] Apache::Expires

2000-11-16 Thread Perrin Harkins
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

Re: Microperl

2000-11-16 Thread Gunther Birznieks
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

Re: Microperl

2000-11-16 Thread Robin Berjon
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

Re: compiling modperl on alpha

2000-11-16 Thread Jeremy A. Mates
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

Re: Replacing mod_prewrite with a PerlTransHandler

2000-11-16 Thread Tom Mornini
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

Re: compiling modperl on alpha

2000-11-16 Thread Didier Godefroy
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

Tempfile and send_fd()

2000-11-16 Thread Steve Smith
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);

Re: compiling modperl on alpha

2000-11-16 Thread Jeremy A. Mates
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='

Re:Tempfile and send_fd()

2000-11-16 Thread Steve Smith
"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

Re: Tempfile and send_fd()

2000-11-16 Thread barries
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

Re: Tempfile and send_fd()

2000-11-16 Thread barries
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

Re: Tempfile and send_fd()

2000-11-16 Thread barries
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

Re: [RFC] Apache::ProxyRewrite

2000-11-16 Thread Ask Bjoern Hansen
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

Re: [RFC] Apache::ProxyRewrite

2000-11-16 Thread Ask Bjoern Hansen
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 -

Re: database access

2000-11-16 Thread Les Mikesell
- 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

Re: database access

2000-11-16 Thread Gunther Birznieks
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

cvs commit: modperl-site/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 Changes.pod.17.html Changes.pod.18.html Changes.pod.19.html Changes.pod.2.html Changes.pod.20.html Changes.pod.21.html Changes.pod.22.html Changes.pod.23.html Changes.pod.24.html Changes.pod.25.html Changes.pod.26.html Changes.pod.27.html Changes.pod.28.html Changes.pod.29.html Changes.pod.3.html Changes.pod.30.html Changes.pod.31.html Changes.pod.32.html Changes.pod.33.html Changes.pod.34.html Changes.pod.35.html Changes.pod.36.html Changes.pod.37.html Changes.pod.38.html Changes.pod.39.html Changes.pod.4.html Changes.pod.40.html Changes.pod.41.html Changes.pod.42.html Changes.pod.43.html Changes.pod.5.html Changes.pod.6.html Changes.pod.7.html Changes.pod.8.html Changes.pod.9.html Changes.pod.cont.html

2000-11-16 Thread richter
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