cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2003-01-16 Thread stas
stas2003/01/16 18:26:32 Modified:.Changes xs/Apache/Response Apache__Response.h xs/tables/current/ModPerl FunctionTable.pm Log: fix segfault in send_http_header when it's called before the response phase Revision ChangesPath

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2003-01-16 Thread stas
stas2003/01/16 19:08:31 Modified:src/modules/perl modperl_filter.c modperl_filter.h .Changes xs modperl_xs_util.h xs/Apache/RequestIO Apache__RequestIO.h xs/tables/current/ModPerl FunctionTable.pm Log:

Determining when a cached item is out of date

2003-01-16 Thread Christopher L. Everett
I'm moving into the XML space and one of the things I see is that XML processing is very expensive, so AxKit, PageKit, et al make extensive use of caching. I'm keeping all of my data in a MySQL DB with about 40 tables. I'm pretty clear about how to turn that MySQL data into XML and turn the XML

PerlSections grief with VirtualHosts

2003-01-16 Thread Michael A Nachbaur
I'm pulling my hair out. I have an extremely complicated Perl section that I'm trying to load in Apache, and I'm having one hell of a time debugging everything. To make a long story short, I'm defining multiple virtualhosts that each are configured to run AxKit. I have my Perl section

Re: rfc: new filtering APIs

2003-01-16 Thread Geoffrey Young
Finally, other than add/remove filters APIs which we have talked about, what other APIs do you want for filters? is there an interface to filter_init? see the discussion on http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673 or CHANGES file for a description of why it was added. this

OK and headers

2003-01-16 Thread Lee Goddard
Is this the right place to ask? I have a handler that picks up requests in a specific location, and usually returns the Apache constant OK. Some of these requests are images. They display fine in all browsers, but when a user right-clicks and selects SAVE AS they only have an option to save as

Re: Determining when a cached item is out of date

2003-01-16 Thread Ed
On Thu, Jan 16, 2003 at 06:33:52PM +0100, Honza Pazdziora wrote: On Thu, Jan 16, 2003 at 06:05:30AM -0600, Christopher L. Everett wrote: Do AxKit and PageKit pay such close attention to caching because XML processing is so deadly slow that one doesn't have a hope of reasonable response

Fw: Passing CGI environment to subprograms

2003-01-16 Thread Erich Oliphant
- Original Message - From: Erich Oliphant [EMAIL PROTECTED] To: Stas Bekman [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 9:21 PM Subject: Re: Passing CGI environment to subprograms Duh :) Sorry, I thought I included the rev in my original post, yes I am using 2.0. Hmm, and no

Re: OK and headers

2003-01-16 Thread Geoffrey Young
Lee Goddard wrote: Is this the right place to ask? I have a handler that picks up requests in a specific location, and usually returns the Apache constant OK. Some of these requests are images. They display fine in all browsers, but when a user right-clicks and selects SAVE AS they only have

Re: Determining when a cached item is out of date

2003-01-16 Thread Perrin Harkins
Christopher L. Everett wrote: But I haven't been able to wrap my skull around knowing when the data in Mysql is fresher than what is in the cache without doing a major portion of the work needed to generate that web page to begin with. There are three ways to handle cache synchronization: 1)

Re: OK and headers

2003-01-16 Thread Lee Goddard
At 19:01 16/01/2003, Geoffrey Young wrote: Lee Goddard wrote: Is this the right place to ask? I have a handler that picks up requests in a specific location, and usually returns the Apache constant OK. Some of these requests are images. They display fine in all browsers, but when a user

Bricolage on Online Tonight

2003-01-16 Thread David Wheeler
Hi All, I'll be appearing on Online Tonight again tonight, at 11 pm EST / 8 pm PST. I'll be discussion Bricolage again with host David Lawrence. You can listen live online here: http://www.cnet.com/broadband/0-7227152.html And you can find an affiliate that carry the broadcast by entering

Re: mod_perl 2.0 and print/send_http_header method SEGFAULT

2003-01-16 Thread Jérôme Augé
On Thu, Jan 16, 2003 at 10:27:38AM +1100, Stas Bekman wrote: Cool. Now can you please send the shortest possible example that you still get the SEGFAULT with, so I can reproduce it and fix? Thanks. I finally got a working apache2+mod_perl working in my $HOME dir (I could not find the core

problems with apache modperl

2003-01-16 Thread HeRnAn DeL bOcA
I have apache 1.3.27 and perl 5.8 and i have the mod-perl installed in debian box. but everytime i want to shut down the apache server with the command "apachectl gracefull" i get this error : /usr/sbin/apachectl: line 171: 21571 Segmentation fault $HTTPD -t /dev/null 21/usr/sbin/apachectl

cgi-script to handler communication

2003-01-16 Thread Vishal Verma
Hi, I have two questions: a. How can I communicate a value from my cgi-script to a mod_perl handler. I know you can pass values from handlers to cgi-scripts using $r-args and environment variables. But, what if I want to pass a value from the cgi-script to a handler? It's obvious that the

Re: Determining when a cached item is out of date

2003-01-16 Thread Christopher L. Everett
Perrin Harkins wrote: Christopher L. Everett wrote: But I haven't been able to wrap my skull around knowing when the data in Mysql is fresher than what is in the cache without doing a major portion of the work needed to generate that web page to begin with. There are three ways to handle

Re: modperl : how resolve conflict funtion name in different package

2003-01-16 Thread Steve Piner
Ouimet, Pierre wrote: hi! I have that (by exemple ) : package pack1.pm sub get_data { # ... } package pack2.pm sub get_data { # same name, but doing other thing } I don't use export and I have conflict with this 2 package in log file (because it detect same

Re: PerlSections grief with VirtualHosts

2003-01-16 Thread Stas Bekman
Michael A Nachbaur wrote: I'm pulling my hair out. I have an extremely complicated Perl section that I'm trying to load in Apache, and I'm having one hell of a time debugging everything. To make a long story short, I'm defining multiple virtualhosts that each are configured to run AxKit. I

Re: cgi-script to handler communication

2003-01-16 Thread Stas Bekman
[Please mention mp2 in the subject/body of the message so we don't have to guess what version you are talking about] a. How can I communicate a value from my cgi-script to a mod_perl handler. I know you can pass values from handlers to cgi-scripts using $r-args and environment variables. But,

Re: modperl : how resolve conflict funtion name in different package

2003-01-16 Thread Stas Bekman
Ouimet, Pierre wrote: hi! I have that (by exemple ) : package pack1.pm sub get_data { # ... } package pack2.pm sub get_data { # same name, but doing other thing } I don't use export and I have conflict with this 2 package in log file (because it detect same function) In

Re: PerlSections grief with VirtualHosts

2003-01-16 Thread Michael A Nachbaur
I'm sorry everyone, this seems to be a case of RTFM. I refined my search criteria, and found a relevant thread on the mailing list archives that solved the problem. In particular, this message: http://www.mail-archive.com/modperl@apache.org/msg27132.html led me in the right direction.

Re: Fw: Passing CGI environment to subprograms

2003-01-16 Thread Stas Bekman
Erich Oliphant wrote: - Original Message - From: Erich Oliphant [EMAIL PROTECTED] To: Stas Bekman [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 9:21 PM Subject: Re: Passing CGI environment to subprograms Duh :) Sorry, I thought I included the rev in my original post, yes I am

Re: rfc: new filtering APIs

2003-01-16 Thread Stas Bekman
Geoffrey Young wrote: Finally, other than add/remove filters APIs which we have talked about, what other APIs do you want for filters? is there an interface to filter_init? see the discussion on http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673 or CHANGES file for a description of

Re: cgi-script to handler communication [MP2]

2003-01-16 Thread Vishal Verma
Though it's probably not as fast as adjusting the headers via the api in the response handlers. However since you aren't telling what you are trying to do I can't give you a better advice. Here's what I'm trying to do: I am implementing a login/logout mechanism. The user can't access any

Re: cgi-script to handler communication [MP2]

2003-01-16 Thread Stas Bekman
Vishal Verma wrote: Though it's probably not as fast as adjusting the headers via the api in the response handlers. However since you aren't telling what you are trying to do I can't give you a better advice. Here's what I'm trying to do: I am implementing a login/logout mechanism. The user

Apache::Session

2003-01-16 Thread Carl Holm
Hello, I am looking for a PPM version of Apache::Session for Perl (v5.8.0 built for MSWin32-x86-multi-thread) and Apache/2.0.43. Any pointers would be greatly appreciated. Thanks, Carl Holm [EMAIL PROTECTED]

Re: mod_perl 2.0 and print/send_http_header method SEGFAULT

2003-01-16 Thread Stas Bekman
Jérôme Augé wrote: On Thu, Jan 16, 2003 at 10:27:38AM +1100, Stas Bekman wrote: Cool. Now can you please send the shortest possible example that you still get the SEGFAULT with, so I can reproduce it and fix? Thanks. I finally got a working apache2+mod_perl working in my $HOME dir (I could

RE: Apache::Session

2003-01-16 Thread Wilson, Allen
Carl Have you check the active perl site (http://www.activeperl.com) ? It may be available there -Original Message- From: Carl Holm [mailto:[EMAIL PROTECTED]] Sent: Thu 1/16/2003 9:12 PM To: [EMAIL PROTECTED] Cc: Subject:

Re: Apache::Session

2003-01-16 Thread Randy Kobes
On Thu, 16 Jan 2003, Carl Holm wrote: Hello, I am looking for a PPM version of Apache::Session for Perl (v5.8.0 built for MSWin32-x86-multi-thread) and Apache/2.0.43. Any pointers would be greatly appreciated. Thanks, Carl Holm [EMAIL PROTECTED] I just put one up under

Re: cgi-script to handler communication [MP2]

2003-01-16 Thread Nick Tonkin
Umm, sanity check: You _have_ checked out the many packages and modules that do just this under mod_perl, haven't you? On 16 Jan 2003, Vishal Verma wrote: Though it's probably not as fast as adjusting the headers via the api in the response handlers. However since you aren't telling what

Re: Determining when a cached item is out of date

2003-01-16 Thread Perrin Harkins
Christopher L. Everett wrote: I see where one could combine polling and invalidation, for instance by having empty files representing a page that get touched when the data for them go out of date. More commonly you would combine TTL with invalidation. You use invalidation for the simple

Re: problems with apache modperl

2003-01-16 Thread Gerald Richter
Hi, there seems to be a problem with Embperl when you do the configtest (the graceful does a configtest first). I have seem something like this on windows, when you install Apache as a service, but no on unix yet. The graceful restart would work, without the configtest before. Which