Re: database access

2000-11-15 Thread spam
On Tue, 14 Nov 2000, Les Mikesell wrote: I wonder if Apache::DBI could figure out what connections are worth holding open by itself? It could have some hints in the config file like regexps to match plus a setting that would tell it not to make a connection persist unless it had seen x

Re: Chaining Perl and C handlers

2000-11-15 Thread G.W. Haywood
Hi there, On Tue, 14 Nov 2000, Andrew Chen wrote: 1. Request comes in for t.jsp?test=1joe=2 2. Handler steps in and adds another parameter, t.jsp?test=1joe=2moe=3 3. Request is then handled by BEA-Apache bridge so that it is forwarded to Weblogic 4. JSP runs on Weblogic, and the new

strange apache behavior w. Embperl and multilang support

2000-11-15 Thread Mikko Harjula
I have 'fi' and 'en' set as preferred laguages. I have code in menu.epl.en and emacs backup in menu.epl.en~, no other menu.epl* files exist. I try to fetch a page http://phi.sqc/new/menu.epl?a=a and instead of displaying the page netscape prompts with a "save as" dialog box saying content type

[RFC] Apache::Expires

2000-11-15 Thread Geoffrey Young
hi all... I was wondering if anyone has some experience with expire headers for dynamic documents - kinda like mod_expires but for dynamic stuff. why? well, say I have a handler that creates, say, a css document on the fly based upon fields in a database. the css contents won't change

Re: [RFC] Apache::Expires

2000-11-15 Thread Robin Berjon
At 10:26 15/11/2000 -0500, Geoffrey Young wrote: anyone else see an interest in an Apache::Expires (or whatever)? Is there something out there already? I was thinking of working on it if there is nothing out there, but it would require lots of RFC reading and wrestling with stuff like entity

RE: [RFC] Apache::Expires

2000-11-15 Thread Geoffrey Young
-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, Geoffrey Young wrote: anyone else see an interest in an

Re: [OT] mod_perl evangelism

2000-11-15 Thread David Hodgkinson
Something on this will happen at the London.pm meeting tomorrow... -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Apache, mod_perl, MySQL, Sybase hired gun for, well, hire

Re: [RFC] Apache::Expires

2000-11-15 Thread Gerald Richter
Hi, the next alpha release of Embperl 2.0 will have the ability to generate Expired/Last-Modified headers and handle if-modified-since requests. The programmer has to provide the time (in seconds) when a document should expires and/or can provide a function, that tells Embperl if a document has

return DONE;

2000-11-15 Thread Todd Finney
Is returning DONE a Bad Thing? thanks, Todd

Re: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-15 Thread David Hodgkinson
Stas Bekman [EMAIL PROTECTED] writes: Ralf is always talking about SSL stuff, so if you want to do it, why don't you just contact him and sync with him. It's not mod_perl but many of us are using it. So it'd probably be questionable for TPC , but perfect for ApacheCon. Is there a way of

RE: [RFC] Apache::Expires

2000-11-15 Thread Robin Berjon
At 11:17 15/11/2000 -0500, Geoffrey Young wrote: easy to get mixed up in the details. I think Andreas wrote something about all those issues last year, but I can't track it down right now. I think he wrote the section in the guide on headers - that will definitely help sort things out...

RE: [RFC] Apache::Expires

2000-11-15 Thread Geoffrey Young
-Original Message- From: Robin Berjon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 12:19 PM To: Geoffrey Young Cc: '[EMAIL PROTECTED]' Subject: RE: [RFC] Apache::Expires At 11:17 15/11/2000 -0500, Geoffrey Young wrote: easy to get mixed up in the details. I

Re: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-15 Thread Ilya Martynov
On 15 Nov 2000, David Hodgkinson wrote: DH Stas Bekman [EMAIL PROTECTED] writes: DH DH Ralf is always talking about SSL stuff, so if you want to do it, why don't DH you just contact him and sync with him. It's not mod_perl but many of us DH are using it. So it'd probably be questionable for

Re: [RFC] Apache::Expires

2000-11-15 Thread Bill Moseley
At 10:26 AM 11/15/00 -0500, Geoffrey Young wrote: hi all... I was wondering if anyone has some experience with expire headers for dynamic documents - kinda like mod_expires but for dynamic stuff. Geoff, Are you thinking about client/browsers or proxy caching with regard to this? Or does it

Re: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-15 Thread Randal L. Schwartz
"David" == David Hodgkinson [EMAIL PROTECTED] writes: David Is there a way of doing mod_rewrite maps in perl? Just write a good PerlTransHandler. I do that all the time. I tossed mod_rewrite long ago. Arcane syntax, many special variables, heavily dependent on regular expressions and

RE: [RFC] Apache::Expires

2000-11-15 Thread Geoffrey Young
-Original Message- From: Bill Moseley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 1:12 PM To: Geoffrey Young; '[EMAIL PROTECTED]' Subject: Re: [RFC] Apache::Expires At 10:26 AM 11/15/00 -0500, Geoffrey Young wrote: hi all... I was wondering if anyone has

Microperl

2000-11-15 Thread Bill Moseley
This is probably more of a Friday topic: Simon Cozens discusses "Microperl" in the current The Perl Journal. I don't build mod_rewrite into a mod_perl Apache as I like rewriting with mod_perl much better. But it doesn't make much sense to go that route for a light-weight front-end to heavy

RE: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-15 Thread Geoffrey Young
Is there a way of doing mod_rewrite maps in perl? I suspect that there is little, if anything, you can do with mod_rewrite that you can't do with a (sufficiently complex, somewhat magical) PerlTransHandler... Perhaps that would make for a good talk ;) --Geoff

What's the best way to display static HTML?

2000-11-15 Thread Arthur M. Kang
I'm using modperl for a site I'm developing. The basic structure (framework (header and footer)) is all dynamic and custom built for individual users. There are a series of static HTML documents, though, that need to be incorporated within the dynamic framework. IfI just stick the HTML into

coredump on Carps in startup.pl

2000-11-15 Thread Philip Jacob
When I start up apache (apachectl startssl), I get a core dump. Attached is an "strace httpd -X" for those of you who find this useful. I have a rather plain startup.pl file containing these lines: ... $SIG{__DIE__} = \Carp::confess; ... use CGI::Carp ();

Re: What's the best way to display static HTML?

2000-11-15 Thread Vivek Khera
"AMK" == Arthur M Kang [EMAIL PROTECTED] writes: AMK I'm using modperl for a site I'm developing. The basic structure (framework AMK (header and footer)) is all dynamic and custom built for individual users. AMK There are a series of static HTML documents, though, that need to be Is there

Re: Chaining Perl and C handlers

2000-11-15 Thread Andrew Chen
Ged, Thanks for the input-- here are my answers below... The new parameter (which in the example was moe and not joe, my mistake) will be a "webid", a unique identifier for each website that is parsed out of the physical location of the file. For example,

Fixed: coredumps caused by Carp in startup.pl

2000-11-15 Thread Philip Jacob
We ought to have a name for the phenomenon caused by brilliant flashes of ingenuity caused when a person asks easily answered questions on mailing lists. The problem was that I didn't have Tie::IxHash installed, but now that it's been added, I'm fine again. Thanks again, phil.

Re: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-15 Thread David Hodgkinson
[EMAIL PROTECTED] (Randal L. Schwartz) writes: "David" == David Hodgkinson [EMAIL PROTECTED] writes: David Is there a way of doing mod_rewrite maps in perl? Just write a good PerlTransHandler. I do that all the time. I tossed mod_rewrite long ago. Arcane syntax, many special

Replacing mod_prewrite with a PerlTransHandler Was: Re: [ANNOUNCE] ApacheCon USA 2001: Call For Papers

2000-11-15 Thread David Hodgkinson
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 mod_perled apache at the front end. Measurements anyone?

Re: [RFC] Apache::Expires

2000-11-15 Thread David Hodgkinson
Geoffrey Young [EMAIL PROTECTED] writes: hi all... I was wondering if anyone has some experience with expire headers for dynamic documents - kinda like mod_expires but for dynamic stuff. Andy Wardley has already clued me in, in two entirely different ways, on doing something very similar

RE: What's the best way to display static HTML?

2000-11-15 Thread Vivek Khera
"AMK" == Arthur M Kang [EMAIL PROTECTED] writes: AMK The framework is all dynamic content with dynamic links for each user. Apache::Include should be useful then. Just Apache::Include-virtual('/path/to/file.html'); -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

ProxyPass logging and can I ProxyPass a filetype instead of a directory?

2000-11-15 Thread kevinr
Hey peoples, Two questions: 1) How can I make sure that the target of my ProxyPass directive is actually serving up the pages? I'm not seeing any logging and saw online that I wouldn't normally. I know it sounds silly, but I have a really weird environment and am doing some testing and need

Re:coredump on Carps in startup.pl

2000-11-15 Thread Mike Miller
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: ProxyPass logging and can I ProxyPass a filetype instead of adir ectory?

2000-11-15 Thread Ask Bjoern Hansen
On Wed, 15 Nov 2000 [EMAIL PROTECTED] wrote: 1) How can I make sure that the target of my ProxyPass directive is actually serving up the pages? I'm not seeing any logging and saw online that I wouldn't normally. I know it sounds silly, but I have a really weird environment and am doing

Apache::Sandwich and CGI scripts

2000-11-15 Thread Hackett, Jonny E
Hello, I'm attempting to incorporate Apache::Sandwich into a site I'm working on and I'm having some problems getting sandwich to work with cgi scripts. What is happening is that it will insert the header just fine, print the output, but it doesn't finish the final step which should insert the

[BUG]? problems with headers, mod_filter and mod_perl-1.24_01

2000-11-15 Thread Yann Kerhervé
Hello, I had troubles with a specific mod_perl + mod_filter config. With this conf everything was ok at home for my tests; but headers broke on the production server (In fact a test server for dev team). Eventually, I identified that troubles come from mod_perl-1.24_01 (I guess...). So, I

AuthCookie solution

2000-11-15 Thread Charles Day
Works perfectly. Excellent idea. Thank you very much Bill! # added args to login.pl so we can redirect URL's with arguments during initial authentication. my $args = $r-prev-args; # add the ? $args = "?".$args if $args; # put this in the form next to $uri. INPUT TYPE=hidden NAME=args

Subject Matter Expert- Web Performance Reliability

2000-11-15 Thread Steve Coco
Good Afternoon: I am seeking an expert in the field of Web Performance and Reliability. The responsibilities include having subject matter expertise in performance and web assessment. This is to help an emerging product company focusing on back-end infrastructure of the web. Our goal

Re: AuthCookie solution

2000-11-15 Thread Bill Moseley
At 04:19 PM 11/15/00 -0500, Charles Day wrote: # We added the line below to AuthCookie.pm $r-header_out("Location" = $args{'destination'}.$args{'args'}); Why pass a new argument? Can't you just add the query string onto the destination field in your login.pl script? Something like the

Newbie install help needed please

2000-11-15 Thread James Hall
Hello, I recently installed Redhat 7, which includes/installs Apache and mod_perl. I assumed mod_perl was installed and running successfully based on the http error log (Mon Nov 13 15:37:16 2000] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux) mod_ssl/2.6.6 OpenSSL/0.9.5a DAV/1.0.1 mod_perl/1.24

Re: Newbie install help needed please

2000-11-15 Thread Philip Jacob
James, It is installed, actually. What you're seeing is a build of Apache where pretty much everything is installed as a DSO. This makes it possible for Redhat to ship things like mod_php4 as RPMs so you can just install them piecemeal. If you look in APACHE/libexec/, you'll find all the

RE: PerlAuth DB configuration.

2000-11-15 Thread Mark Kirkwood
I end of with 4 DB connections for each web server thread (2 for Authen and 2 for Authz). After a short time of inaction (about 30 secs), the web server makes a new child, and the 4 DB connections just sit there. Useless. And 4 more are created for the new thread. Now this is starting to look a

RE: Newbie install help needed please

2000-11-15 Thread James Hall
Phil, Thank you very much for your quick response! The reason I assumed mod_perl wasn't installed was because of a post I found searching the mail list archive. When I try to start/stop httpd manually I receive the following error: Syntax error on Line 896 of /etc/httpd/conf/httpd.conf:

Re: Chaining Perl and C handlers

2000-11-15 Thread Perrin Harkins
On Wed, 15 Nov 2000, Andrew Chen wrote: The new parameter (which in the example was moe and not joe, my mistake) will be a "webid", a unique identifier for each website that is parsed out of the physical location of the file. For example, www.joe-honda-dealer.com/inventory.jsp

Re: [RFC] Apache::Expires

2000-11-15 Thread Perrin Harkins
On Wed, 15 Nov 2000, Geoffrey Young wrote: I was wondering if anyone has some experience with expire headers for dynamic documents - kinda like mod_expires but for dynamic stuff. We do this, and let mod_proxy use our headers to control its cache and handle If-Modified requests. anyone else

Re: Apache::AuthenDBI NOTICE message

2000-11-15 Thread George Sanderson
So far, using Apache::AuthenDBI, I get an error_log message: NOTICE: Unrecognized variable client_encoding Every time the DBI ping is called. I have not been able to tack down the origin of this message. Any ideas or suggestions? never seen before. What database do you use ? I am

Re: Microperl

2000-11-15 Thread Les Mikesell
- Original Message - From: "Bill Moseley" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 15, 2000 12:30 PM Subject: Microperl I don't build mod_rewrite into a mod_perl Apache as I like rewriting with mod_perl much better. But it doesn't make much sense to go that

Re: Microperl

2000-11-15 Thread Bill Moseley
At 07:38 PM 11/15/00 -0600, Les Mikesell wrote: - Original Message - From: "Bill Moseley" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 15, 2000 12:30 PM Subject: Microperl I don't build mod_rewrite into a mod_perl Apache as I like rewriting with mod_perl much

Re: Problem with single quote ' character

2000-11-15 Thread Victor Michael D. Blancas
Hi Rodney, thanks very much for your reply. I'm trying it now, but I'm doing something wrong. Here's what I have, could you take a look at it? #parse query string and enter into database if query string exists my $authors = $query{'authors'}; my $title = $query{'title'}; my

Re: AuthCookie solution

2000-11-15 Thread Michael
At 04:19 PM 11/15/00 -0500, Charles Day wrote: # We added the line below to AuthCookie.pm $r-header_out("Location" = $args{'destination'}.$args{'args'}); Why pass a new argument? Can't you just add the query string onto the destination field in your login.pl script? Something like

Re: Microperl

2000-11-15 Thread Les Mikesell
- Original Message - From: "Bill Moseley" [EMAIL PROTECTED] To: "Les Mikesell" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 15, 2000 8:04 PM Subject: Re: Microperl I don't build mod_rewrite into a mod_perl Apache as I like rewriting with mod_perl much better. But

mod_proxy caching documentation

2000-11-15 Thread Dan McCormick
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 source code. Most of it isn't

Re: Microperl

2000-11-15 Thread spam
On Thu, 16 Nov 2000, Robin Berjon wrote: I know what you mean but this is MicroPerl, not Perl. I don't know how much difference it makes, but it's certainly smaller. I'm afraid I can't help with embedding it though. I like the idea, not just for rewrites (I'm quite happy with mod_rewrite

ANNOUNCE: HTML-Embperl 1.3b7 (pre 1.3)

2000-11-15 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.3b7.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/HTML-Embperl-1.3b7.tar.gz size: 306074 bytes md5: 257487aa3fd8343b130930a58dd97a65 Embperl is a module for embedding Perl code in HTML pages. It has a

Re: database access

2000-11-15 Thread Les Mikesell
- Original Message - From: [EMAIL PROTECTED] To: "Les Mikesell" [EMAIL PROTECTED] Cc: "Tim Bunce" [EMAIL PROTECTED]; "Aaron" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 15, 2000 2:21 AM Subject: Re: database access On Tue, 14 Nov 2000, Les Mikesell wrote: I