MODPERL2 definition not defined

2002-11-06 Thread Gary Benson
(from https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75194) Hi, The technique presented in http://perl.apache.org/docs/2.0/devel/porting/porting.html#Requiring_a_specific_mod_perl_version_ doesn't work with mod_perl 1.99 in the server config files. The perl code sample in the document

Re: [OT] use http-equiv to refresh the page

2002-11-06 Thread fliptop
On Tue, 5 Nov 2002 at 22:52, Chris Shiflett opined: [snip] CS:The W3C's stance on refresh is the same for the header as well as the CS:meta tag: they did not originally intend for it to be used to specify a CS:*different* URL as a rudimentary method of redirection. They meant it to CS:be used

[ANNOUNCE] Apache::NavBarDD

2002-11-06 Thread Panagiotis Louridas
The uploaded file Apache-NavBarDD-0.71.tar.gz has entered CPAN as file: $CPAN/authors/id/L/LO/LOURIDAS/Apache-NavBarDD-0.71.tar.gz size: 7324 bytes md5: ba426f5c30a19915572d28b888a6e57d Description --- The Apache::NavBarDD package provides a dynamic navigation bar along the

RE: use http-equiv to refresh the page

2002-11-06 Thread Eric L. Brine
I just wanted to mention that the meta tag as well as its http-equiv attribute are both official parts of the HTML standard and have been for quite some time. Yes and no. HTML 4.0 has a section on META and http-requiv. In it, it mentions that Some user agents support the use of META to

Re: use http-equiv to refresh the page

2002-11-06 Thread Mithun Bhattacharya
--- Perrin Harkins [EMAIL PROTECTED] wrote: I might be overzealous about this, but I dislike seeing HTTP-EQUIV meta tags used when actual HTTP headers are available to do the same thing. It's fine if there's a reason for it, but usually people do it because they don't realize they can

[ANNOUNCE] mod_perl Developer's Cookbook now on Safari

2002-11-06 Thread Geoffrey Young
hi all... we have received a few requests for an electronic version of the mod_perl Developer's Cookbook over the past few months, which we have thus far been unable to satisfy. yesterday I noticed that it has finally shown up on Safari: http://safari.informit.com/0672322404 so, for

RE: [OT] use http-equiv to refresh the page

2002-11-06 Thread Alessandro Forghieri
Greetings. [...] [snip] CS:The W3C's stance on refresh is the same for the header as well as the CS:meta tag: they did not originally intend for it to be used to specify a CS:*different* URL as a rudimentary method of redirection. [...] i was bitten by this assumption recently. case

sending ssl certificate according to virtual host

2002-11-06 Thread Mathieu Jondet
hi all, i'm actually working on a system where a user can create domains / subdomains throug a webinterface and doesn't have to interact with the httpd.conf. For this I use a unique virtualhost which intercept all client request no matter which vh is requested. After a handler treat the

OO handlers

2002-11-06 Thread Richard Clarke
List, Tired of having 10 modules all with near identical handler methods I decided to put the handler method into a superclass and be done with maintaining the same code 10 times. I first tried this a couple of weeks ago and it failed to work, because at the time I couldn't find the reference

Re: sending ssl certificate according to virtual host

2002-11-06 Thread Mads Toftum
On Wed, Nov 06, 2002 at 11:52:13AM -0500, Vivek Khera wrote: What they should have done is what is done now with TLS in SMTP. You connect to the same port, but issue a STARTTLS command to switch over to secured mode. With this type of scheme, the header info with the desired host could be in

Re: OO handlers

2002-11-06 Thread Richard Clarke
I should add that this segv only happens when using push_handlers like below. If I put Control::Super::Sub-handler inside a Location tag in httpd.conf then it is fine. Ric - Original Message - From: Richard Clarke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002

Re: OO handlers

2002-11-06 Thread Michael Schout
Geoffrey Young wrote: keep in mind that neither book mentions the use of subroutine attributes, which is allowed in 1.3 but the only way in 2.0 sub handler : method { ... } I am 99% sure that Attribute handlers wont work in 1.3 because Attribute::Handlers use CHECK{} blocks to set up the

Re: sending ssl certificate according to virtual host

2002-11-06 Thread James G Smith
Mathieu Jondet [EMAIL PROTECTED] wrote: hi all, i'm actually working on a system where a user can create domains / subdomains throug a webinterface and doesn't have to interact with the httpd.conf. For this I use a unique virtualhost which intercept all client request no matter which vh is

Re: OO handlers

2002-11-06 Thread Geoffrey Young
Michael Schout wrote: Geoffrey Young wrote: keep in mind that neither book mentions the use of subroutine attributes, which is allowed in 1.3 but the only way in 2.0 sub handler : method { ... } I am 99% sure that Attribute handlers wont work in 1.3 because Attribute::Handlers use

Re: OO handlers

2002-11-06 Thread Richard Clarke
Now I feel stupid. $sub-handler was supposed to be $sub-handler. That's what you get for being impatient. Ric - Original Message - From: Richard Clarke [EMAIL PROTECTED] To: Richard Clarke [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 4:08 PM Subject: Re: OO

Re: OO handlers

2002-11-06 Thread James G Smith
Richard Clarke [EMAIL PROTECTED] wrote: Now I feel stupid. $sub-handler was supposed to be $sub-handler. That's what you get for being impatient. or perhaps `sub { $sub - handler(@_) }' -- if quoting works, great, but I would fear that $sub-handler would stringify before push_handlers got

RE: use http-equiv to refresh the page

2002-11-06 Thread Chris Shiflett
I just wanted to mention that the meta tag as well as its http-equiv attribute are both official parts of the HTML standard and have been for quite some time. Yes and no. Well, I disagree with the no. I will explain it again below. HTML 4.0 has a section on META and

Re: OO handlers

2002-11-06 Thread Geoffrey Young
Richard Clarke wrote: List, Tired of having 10 modules all with near identical handler methods I decided to put the handler method into a superclass and be done with maintaining the same code 10 times. I first tried this a couple of weeks ago and it failed to work, because at the time I

[OT] Re: sending ssl certificate according to virtual host

2002-11-06 Thread Issac Goldstand
- Original Message - From: Vivek Khera [EMAIL PROTECTED] Newsgroups: ml.apache.modperl To: [EMAIL PROTECTED] Sent: Wednesday, November 06, 2002 6:52 PM Subject: Re: sending ssl certificate according to virtual host MJ == Mathieu Jondet [EMAIL PROTECTED] writes: MJ Depending on the

Re: sending ssl certificate according to virtual host

2002-11-06 Thread Vivek Khera
MJ == Mathieu Jondet [EMAIL PROTECTED] writes: MJ Depending on the vh requested I set the SSLCertificateFile and MJ SSLCertificateKeyFile which will point to the correct ssl files for the MJ requested vh. You can't do this with name-based vhosts. To present the proper SSL certificate, you have

Can't locate object method new via package Apache::Request (via Mason)...

2002-11-06 Thread DeAngelo Lampkin
Hey guys, You may remember me from such messages as I can't get mod_perl to compile on Irix64 systems!. Well now I've got a whole new problem that I need your expertise on. I'm running Apache 1.3x and mod_perl 1.2x on a Linux system. However, whenever I go to a page that should be handled by

Getting the server to parse files after the handler has done itswork...

2002-11-06 Thread simran
Hi All, I have the following scenario: * A Perl Handler i have written does a bit of work and outputs HTML * The HTML it outputs contains HTML like: !--#include virtual=/includes/misc/topnav.html -- I need this to be further parsed by Apache's Server Parsing Process.

Re: Can't locate object method new via package Apache::Request (via Mason)...

2002-11-06 Thread Philippe Troin
Seems somewhat similar to a bug I've reported 10 months ago. You might want to try to run the minimal testcase enclosed in the forwarded mail. Phil. ---BeginMessage--- I've found that mod_perl can get confused when dealing with method calls during a redirect_internal phase: 1. page /1 uses

Re: use http-equiv to refresh the page

2002-11-06 Thread mike808
On the use of META REFRESH tags, Chris wrote: It is also the only option for the pause, then redirect behavior the original poster desired that I can think of. I also seem to recall reading in the HTTP spec (and in Lincoln's CGI.pm code) that the use of a Redirect header in response to a POST

Re: use http-equiv to refresh the page

2002-11-06 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: Also, NPH is only implemented in the NS browsers, and was a way for a webserver to send multiple documents inline down to a browser, and was an ancient way to write status pages and such that automagically refreshed themselves. No, that's server push you're thinking

Re: Getting the server to parse files after the handler has done its work...

2002-11-06 Thread Per Einar Ellefsen
Hello Simran, At 00:50 07.11.2002, simran wrote: I have the following scenario: * A Perl Handler i have written does a bit of work and outputs HTML * The HTML it outputs contains HTML like: !--#include virtual=/includes/misc/topnav.html -- I need this to be further parsed

mod_perl test report

2002-11-06 Thread root
mod_perl VERSION: 1.25 Apache version: 1.3.26 Apache MMN: 19990320 make[1]: Entering directory `/Andrews/tcbsrc/apache/mod_perl/backport/libapache-mod-perl-1.25' make[2]: Entering directory `/Andrews/tcbsrc/apache/mod_perl/backport/libapache-mod-perl-1.25/Apache' make[2]: Leaving directory