Re: mod_perl/apache mysql memory usage

2001-02-08 Thread Vasily Petrushin
On Wed, 7 Feb 2001, rene mendoza wrote: Hi, i have a question regarding mod_perl/apache mysql memory usage I have a Linux box running Red Hat 6.1, Apache 1.3.14, compiled statically with mod_perl 1.24_01, mod_ssl, and Open SSL, mod_dav and mod_gzip running as DSO's, MYSQL is

Re: Reading email with mod_perl

2001-02-08 Thread Glorfindel
Hi Check MIME::Parser ( recent version to avoid error with bad use of date.pm instead of Date.pm ) Jason Terry wrote: Does anybody have an information on how to read a MIME encoded email attachment with mod_perl? -- Don't be irreplaceable, if you can't be replaced, you can't be promoted.

Antwort: Re: Problem with $r-register_cleanup()

2001-02-08 Thread Michael . Jacob
There are no other handlers besides my own (content and auth) and the core apache... Also, I'd think that every reload of a page (that get's served by the same Apache child) should execute the same code and handlers with the same result---but here's the register_cleanup sometimes gets called and

Re: Best GCC compiler options for Intel (perl apache)

2001-02-08 Thread Tim Bunce
Last week I asked... On Thu, Feb 01, 2001 at 01:51:56PM +, Tim Bunce wrote: Can anyone recommend extra gcc options to squeeze the last ounce of performance out of code (perl and apache in this case) on Intel? I don't mind tying the code down to one cpu type or loosing the ability to

Send a cookie, AND a redirect ?

2001-02-08 Thread Harrison
Dear All. I can set a cooke fine using: $r-content_type('text/html'); $r-header_out('Set-Cookie' =$cookie); $r-send_http_header; And i can also send a redirect fine using: $r-content_type('text/html'); $r-header_out('Location'=$the_url); return REDIRECT; BUT! how do i do both? if i

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Steve Reppucci
I believe you want to use 'err_header_out' rather than 'header_out' if you're returning a status other than OK. HTH, Steve On Thu, 8 Feb 2001, Harrison wrote: Dear All. I can set a cooke fine using: $r-content_type('text/html'); $r-header_out('Set-Cookie' =$cookie);

Re: Need alittle help with something

2001-02-08 Thread darren chamberlain
Kevin Dabson ([EMAIL PROTECTED]) said something to this effect on 02/08/2001: Date: Thu, 8 Feb 2001 11:04:35 + (GMT) From: Kevin Dabson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Need alittle help with something Hello, I am trying to integrate a whois type tool that allows

AW: Send a cookie, AND a redirect ?

2001-02-08 Thread yen-ying . chen-dreger
Hallo Harrison, Maybe You can try this one which i read somewhere: $r-header_out('Set-Cookie' =$cookie); my $query = new CGI ; $r-print($query-redirect("$the_url")) ; return OK ; # maybe "return REDIRECT" is o.k., too Cheers, Yen-Ying Chen -- Von: Harrison[SMTP:[EMAIL PROTECTED]]

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Jeff Beard
Read the POD docs for Apache under the heading 'Setting up the response'; --Jeff On Thu, 8 Feb 2001, Harrison wrote: Dear All. I can set a cooke fine using: $r-content_type('text/html'); $r-header_out('Set-Cookie' =$cookie); $r-send_http_header; And i can also send a redirect fine

Using Filter Module under mod_perl

2001-02-08 Thread Steve Hay
Hi, I'm having trouble trying to use the Filter module under mod_perl. The attached script + module correctly outputs "Goodbye, world." under Apache/CGI, but says "Hello, world." under Apache/mod_perl (with Apache::Registry), i.e. the filter is not being applied. I looked into this once

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Ken Y. Clark
On Thu, 8 Feb 2001, Harrison wrote: Date: Thu, 8 Feb 2001 12:30:31 - From: Harrison [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Send a cookie, AND a redirect ? Dear All. I can set a cooke fine using: $r-content_type('text/html'); $r-header_out('Set-Cookie' =$cookie);

Re: Send a cookie, AND a redirect ?

2001-02-08 Thread Robert Landrum
The problem is that Apache does not put the "Set-Cookie" before the "Location" when generating headers. To fix this, you need to build the header yourself. I've found that this works with Netscape and IE, but with IE, the place where you redirect to does not have access to the cookie that

[RESEND] seg fault with Apache::URI ... weird

2001-02-08 Thread Nick Tonkin
Hi all, No response on this so here it is again, any clues appreciated: I am encountering a weird problem with Apache::URI ... consider, please, this test handler: package WM::Test; use strict; sub handler { my $r = shift; my $uri = Apache::URI-parse($r, $r-uri);

Debug perl package in Apache

2001-02-08 Thread Wang, Pin-Chieh
Hi, I build an Apache with Mod_Perl under DSO in Solaris. Apache seems works fine. But I now have a problem when AuthenNISPlus.pm get called and was not be able to get password table(I think). I have the following setting in httpd.conf Location /web AuthName "[Web for

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-08 Thread Vivek Khera
"PH" == Perrin Harkins [EMAIL PROTECTED] writes: PH Okay, I just tried the code you posted under mod_perl and it worked fine. PH I changed a couple of lines having to do with locations and package names, Ok... Upgrade to "Apache/1.3.17 (Unix) mod_perl/1.25_01-dev" fixed the object destroy

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Perrin Harkins
On Thu, 8 Feb 2001, Stephane Bortzmeyer wrote: On Tuesday 6 February 2001, at 21 h 57, the keyboard of Chris Winters [EMAIL PROTECTED] wrote: I'm jazzed to announce the public release of OpenInteract, an extensible web application framework using mod_perl and the Template Toolkit as

Re: [Templates] Re: object not being destroyed in a TemplateToolkit-basedhandler

2001-02-08 Thread Perrin Harkins
On Thu, 8 Feb 2001, Vivek Khera wrote: Ok... Upgrade to "Apache/1.3.17 (Unix) mod_perl/1.25_01-dev" fixed the object destroy issue. Yay! Old versions were Apache 1.3.14 and mod_perl 1.24_02-dev. Well, that is odd since I'm running 1.3.12 and 1.24_01, but you never know what evils might be

Re: Send a cookie, AND a redirect ? [resolved]

2001-02-08 Thread Harrison
Using err_header_out worked :) $r-content_type('text/html'); $r-err_header_out('Set-Cookie' = $cookie); $r-err_header_out('Location' = $the_url); return REDIRECT;

Redirection Location MUST be absolute (was Re: Send a cookie, ANDa redirect ?)

2001-02-08 Thread Jeffrey W. Baker
On Thu, 8 Feb 2001, Robert Landrum wrote: The problem is that Apache does not put the "Set-Cookie" before the "Location" when generating headers. To fix this, you need to build the header yourself. I've found that this works with Netscape and IE, but with IE, the place where you redirect

Re: Redirection Location MUST be absolute (was Re: Send a cookie,AND a redirect ?)

2001-02-08 Thread Robert Landrum
If all browsers followed the W3 standards the world would be a better place... They say "...field value consists of a single absolute URL." ^^^ I think they mean URI because the example says "absoluteURI", not URL. An absolute URI is

Re: Redirection Location MUST be absolute (was Re: Send a cookie,AND a redirect ?)

2001-02-08 Thread Jeffrey W. Baker
On Thu, 8 Feb 2001, Robert Landrum wrote: If all browsers followed the W3 standards the world would be a better place... They say "...field value consists of a single absolute URL." ^^^ I think they mean URI because the example says

Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread Caroline Kliegl
Hi there, I am new to mod_perl and currently trying to make use of Apache::DBI. This is my enviroment: Suse Linux 6.3, Apache 1.3.12, mod_perl 1.24 and Oracle 8i. I am using HTML:Mason as well, as a templating system. Everything works. Apache::DBI is loaded via httpd.conf by Apache properly and

BSDI 4.1 libperl.so problem

2001-02-08 Thread Aaron Schlesinger
Hi there. I am having a HELL of a time trying to get mod_perl compiled into apache 1_3.17. I built it using APXS and I really have tried everything I can think of. It makes, and builds without a problem. When I try to do a configtest (after installing the new LoadModule and such into the

Re: [RESEND] seg fault with Apache::URI ... weird

2001-02-08 Thread G.W. Haywood
Hi there, On Thu, 8 Feb 2001, Nick Tonkin wrote: No response on this so here it is again, any clues appreciated: This code has worked fine for two years or more on my FreeBSD boxes; this is on Linux RedHat 7 ... dunno if that makes a difference. [snip] config_args='' This seems

Re: Debug perl package in Apache

2001-02-08 Thread G.W. Haywood
Hi there, On Thu, 8 Feb 2001, Wang, Pin-Chieh wrote: But AuthenNISPlus.pm exited with "Not an ARRAY reference at line 58 look at this program from line 57 are foreach ($pwd_table-list()){ print STDERR "Argument list = [", $_, "]\n"; if(@{$_}[0] eq $name){ $pwd = @{$_}[1];

Re: Sessions on win 32

2001-02-08 Thread harilaos
I havent tried it, but does it use file session management? Do i have to use ASP to use it? Because I am only using mod_perl for speed. Haris Victor Michael Blancas wrote: have u tried Apache::ASP by Joshua Chamas. It has a nice Session and Application state management. On Wed, 7 Feb

Re: Sessions on win 32

2001-02-08 Thread harilaos
Thanks for the hint but i have already done this. I ask this group in case people have got experience i what i am asking and not to get vague answers. Why don't i do a search on google? I have emailed the author of the module but i don't think i will get a reply. Sparce documentention , and this

Re: object not being destroyed in a TemplateToolkit-based handler

2001-02-08 Thread Robin Berjon
At 13:24 08/02/2001 -0500, Vivek Khera wrote: Ok... Upgrade to "Apache/1.3.17 (Unix) mod_perl/1.25_01-dev" fixed the object destroy issue. Yay! Old versions were Apache 1.3.14 and mod_perl 1.24_02-dev. Why that fixes it, I dunno. (Nor do I care at this point ;-) I'm glad your problem is

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Michael
On Tuesday 6 February 2001, at 21 h 57, the keyboard of Chris Winters [EMAIL PROTECTED] wrote: I'm jazzed to announce the public release of OpenInteract, an extensible web application framework using mod_perl and the Template Toolkit as its core technologies. Anyone compared it to

Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread Caroline Kliegl
Hi there, I am new to mod_perl and currently trying to make use of Apache::DBI. This is my enviroment: Suse Linux 6.3, Apache 1.3.12, mod_perl 1.24 and Oracle 8i. I am using HTML:Mason as well, as a templating system. Everything works. Apache::DBI is loaded via httpd.conf by Apache properly and

Re: Content management tools

2001-02-08 Thread Matt Sergeant
On Thu, 8 Feb 2001, Michael wrote: Could someone recommend a content management tool that is oriented toward the end user who is not necessarily very technically adept or html savvy. Don't really care about the developer tools, the developers can fend for themselves. The application is to

Re: Debug perl package in Apache

2001-02-08 Thread Sander van Zoest
On Thu, 8 Feb 2001, Wang, Pin-Chieh wrote: Any body has any ideals? Also How can I debug an perl package under this environment? Appreciated for any help Check out this useful article written by Dough MacEachern for PerlMonth. http://www.perlmonth.com/features/mod_perl/mod_perl.html?issue=2

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Matt Sergeant
On Thu, 8 Feb 2001, Perrin Harkins wrote: In short, Zope wants to be more, but currently is difficult to figure out. That could be just my Perl experience, but I understood more of OpenInteract in half an hour than I did with Zope after several tries over the last few years. Of course that

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread Robert Landrum
That's what the RFC says... But that's not the way that a browser handles it. I don't know why browsers don't support the "standards," but that's not exactly the topic. Every browser I've ever tested with, including LWP, lynx and AOL, have supported relative Location headers. If the W3

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread Randal L. Schwartz
"Robert" == Robert Landrum [EMAIL PROTECTED] writes: Robert By using relative *URLs* such as /some/location, you avoid changing Robert the location field in the browser window, which is often desired. If Robert you use an absolute *URL*, the location field changes to the absolute Robert URL.

Re: Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread Ajit Deshpande
On Thu, Feb 08, 2001 at 11:57:50PM +0100, Caroline Kliegl wrote: [..] With my other script, updating data, I get the following error : Rebuild with -DPERL_STACKED_HANDLERS to $r-push_handlers at /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 93. [..] You need to compile mod_perl

mod_ssl: Init: Failed to generate temporary 512 bit RSA private key

2001-02-08 Thread Paul
Hi, all. I've been trying to add a couple of modules to my Apache, and just can't seem to get it to do it's thing. Forgive me if I tell you too much, but I'm just trying to be thorough. STEP 1: === perl Makefile.PL USE_APACI=1 USE_DSO=0 EVERYTHING=1 \ DO_HTTPD=1

Re: Sessions on win 32

2001-02-08 Thread siberian
I have used apache::session on windows with great success. I downloaded the modules pre-built along with the modperl DSO from : ftp://theoryx5.uwinnipeg.ca/pub/ They seem to work well. I even installed on top of OpenSA ( www.opensa.org ) and obtained SSL features. I did have to do some oddities

Re: Content management tools

2001-02-08 Thread Will Wiley
Look at a combination of Interwoven and ArborText. Thanks At 11:19 AM 2/8/01 -0800, Michael wrote: Could someone recommend a content management tool that is oriented toward the end user who is not necessarily very technically adept or html savvy. Don't really care about the developer tools,

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Robin Berjon
At 23:01 08/02/2001 +, Matt Sergeant wrote: Personally I think CMS' are very important, but then I would: http://axkit.com/products/axkit-cms/ :-) I've been more or less following the AxKit CVS and saw a few things about AxKit-CMS. Nice looking new site. Would you care to expand on what your

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread Michael Peppler
Robert Landrum writes: Every browser I've ever tested with, including LWP, lynx and AOL, have supported relative Location headers. I've made the mistake of using relative (i.e. without the scheme) URLs in Location headers, and although it worked most of the time there were situations

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Matt Sergeant
On Fri, 9 Feb 2001, Robin Berjon wrote: At 23:01 08/02/2001 +, Matt Sergeant wrote: Personally I think CMS' are very important, but then I would: http://axkit.com/products/axkit-cms/ :-) I've been more or less following the AxKit CVS and saw a few things about AxKit-CMS. Nice looking

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread Robin Berjon
At 18:19 08/02/2001 -0500, Robert Landrum wrote: Every browser I've ever tested with, including LWP, lynx and AOL, have supported relative Location headers. Lynx will likely give you a warning on that (though admittedly it'll work). A good number of Netscape servers will react to it in an

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread ___cliff rayman___
you are supposed to be able to use: base href="/foo/bar/fred.html" which changes the base of the document. if u really wanted to use internal redirects, you would have to insure that all documents contained this tag, or filter the page and include it yourself. of course this is just a spec,

Re: Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread G.W. Haywood
Hi there, On Thu, 8 Feb 2001, Caroline Kliegl wrote: I am new to mod_perl and currently trying to make use of Apache::DBI. I get the following error : Rebuild with -DPERL_STACKED_HANDLERS to $r-push_handlers at /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 93. I think it

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread ___cliff rayman___
___cliff rayman___ wrote: you are supposed to be able to use: base href="/foo/bar/fred.html" make that: base href="http://host.mydomain.net/foo/bar/fred.html" which changes the base of the document. if u really wanted to use internal redirects, you would have to insure that all

Re: Redirection Location MUST be absolute (was Re: Send a cookie,AND a redirect ?)

2001-02-08 Thread Robert Landrum
We only use absolute URLs /images/some.gif. When dealing with apache, it's often neccesary to see the previous requests environment (error pages, etc.) so that you can show that information to the user and email it to the webmaster. That's only possible with an internal redirect. As in

Re: BSDI 4.1 libperl.so problem

2001-02-08 Thread G.W. Haywood
Hi there, On Thu, 8 Feb 2001, Aaron Schlesinger wrote: % apachectl configtest Syntax error on line 207 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libperl.so into server: File not found % ls -l /usr/local/apache/libexec/libperl.so -rwxr-xr-x 1 root wheel

RE: Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread Geoffrey Young
Apache::DBI will call push_handlers on to issue a rollback if AutoCommit=0 in your connect string... but the problem may not be with you... looks like a bug (somewhere): if(!$Rollback{$Idx} and $needCleanup and Apache-can('push_handlers'){ ... } looks like calling

Re: Redirection Location MUST be absolute (was Re: Send a cookie, AND a redirect ?)

2001-02-08 Thread G.W. Haywood
Hi guys, Do you think you could take this off-list now? 73, Ged.

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Robin Berjon
At 00:22 09/02/2001 +, Matt Sergeant wrote: I've been more or less following the AxKit CVS and saw a few things about AxKit-CMS. Nice looking new site. Would you care to expand on what your plans are ? It seems as if you haven'y really launched yet, but it's been looking as if you've been

RE: Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread Geoffrey Young
yup, it's a bug... #!/usr/bin/perl use Apache::MyConfig; my $r = shift; $r-send_http_header('text/plain'); print "can push_handlers\n" if Apache-can('push_handlers'); print "but PERL_STACKED_HANDLERS: ", $Apache::MyConfig::Setup{PERL_STACKED_HANDLERS}; basically

Re: [Templates] Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread L.M.Orchard
From: "Matt Sergeant" [EMAIL PROTECTED] Sent: Thursday, February 08, 2001 03:01 PM On Thu, 8 Feb 2001, Perrin Harkins wrote: In short, Zope wants to be more, but currently is difficult to figure out. That could be just my Perl experience, but I understood more of OpenInteract in half

Re: ANNOUNCE: OpenInteract Web Application Server

2001-02-08 Thread Chris Winters
* Stephane Bortzmeyer ([EMAIL PROTECTED]) [010208 08:28]: On Tuesday 6 February 2001, at 21 h 57, the keyboard of Chris Winters [EMAIL PROTECTED] wrote: I'm jazzed to announce the public release of OpenInteract, an extensible web application framework using mod_perl and the Template

[phil@fifi.org: Bug#85328: New method $req-allowed() for libapache-mod-perl]

2001-02-08 Thread Daniel Jacobowitz
[please maintain the CC's] I just received the following bug report on the Debian bug tracking system. The patch seems to apply to 1.25; is it a good idea? Dan /\ /\ | Daniel Jacobowitz|__|SCS Class of 2002

RE: Newbie question to mod_perl and Apache::DBI

2001-02-08 Thread Caroline Kliegl
Hi everybody, I have just removed RaiseError = 1, AutoCommit = 0 out of my DBI-connect. No more errors, ORA works! Next, I will recompile mod_perl with PERL_STACKED_HANDLERS = 1. Will come up with the result today. Thanks a

cvs commit: modperl-2.0/lib/Apache Build.pm

2001-02-08 Thread dougm
dougm 01/02/08 11:30:56 Modified:lib/Apache Build.pm Log: version has moved to ap_release.h Revision ChangesPath 1.30 +1 -1 modperl-2.0/lib/Apache/Build.pm Index: Build.pm === RCS file:

cvs commit: modperl-2.0/src/modules/perl modperl_callback.c modperl_config.c modperl_filter.c modperl_gtop.c modperl_interp.c

2001-02-08 Thread dougm
dougm 01/02/08 11:42:31 Modified:src/modules/perl modperl_callback.c modperl_config.c modperl_filter.c modperl_gtop.c modperl_interp.c Log: adjust to recent apr name changes Revision ChangesPath 1.16 +2 -2

sourcegarden (fwd)

2001-02-08 Thread Doug MacEachern
-- Forwarded message -- Date: Thu, 1 Feb 2001 18:52:02 +0100 From: Emmanuel Pierre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: sourcegarden hi doug, I have a forbidden on this site pointed by perl.apache.org http://modperl.sourcegarden.org/ Cordialement,