Re: Advanced daemon allocation

2001-06-22 Thread Trevor Phillips
Matthew Byng-Maddick wrote: [useful description snipped] Obviously, if your modperl is URL dependent, then you can't determine what URL they are going to ask for at the time you have to call accept. The only alternative way of doing what you're asking for is to use file descriptor passing,

Re: Multiple AddHandler statements

2001-06-22 Thread Ged Haywood
Hi there, On Fri, 22 Jun 2001, Mithun Bhattacharya wrote: No offense meant but it is my personal opinion that SSI can mess up a system worse than Perl ever could. Would you care to elaborate? 73, Ged.

Re: Requests using If-Modified-Since cause response Set-Cookie to be discarded

2001-06-22 Thread Nenad Steric
Hi Randal, the reason i want this, is that i am building a authentication-scheme which uses tickets to make sure that only one user can be logged in on one account. When the ticket expires and the old user wants another page i want to silently reissue a new ticket if nobody else tried to

Re: Multiple AddHandler statements

2001-06-22 Thread Mithun Bhattacharya
Right now I wont say that the idea of SSI is bad its just that the usual SSI implementations that I come accross are usually when I see them going wrong. The most common example is of that of including content for banners. I dont know whether it is a configuration goofup or something else but I

Re: Multiple AddHandler statements

2001-06-22 Thread Joachim Zobel
At 15:33 18.06.2001 -0700, you wrote: We have a CGI script which dynamically generates a certain page on our site. We want to include an SSI on that dynamically created page. Is that possible? We have two AddHandler statements for files that end in .cgi... IfModule mod_mime.c ...

SSI advocacy Was:: Multiple AddHandler statements

2001-06-22 Thread Joachim Zobel
At 14:33 19.06.2001 +0530, you wrote: Is there something in SSI which cant be done in a better way using Perl ?? Yes. 1. SSI with XBitHack full plays the 304 game for me. Every time the catalog database is updated, its SSI frame gets a touch. Thats it. Simple. Efficient. 2. SSI provides a way

Re: Requests using If-Modified-Since cause response Set-Cookie to be discarded

2001-06-22 Thread Andrew Gilmartin
Randal L. Schwartz writes Uh, it seems a bit fishy to me. nothing's changed, but by the way, set this cookie please. Why change a cookie if nothing else has changed? If the HTTP headers were only about the document then I would agree. However, if we look at this set of headers from a

Re: Multiple AddHandler statements

2001-06-22 Thread Peter Reif
Mithun Bhattacharya *EXTERN* wrote: No offense meant but it is my personal opinion that SSI can mess up a system worse than Perl ever could. Also the person who had initiated this thread was using SSI to execute a third party application. I am not sure why a system command would be worse

Re: SSI advocacy Was:: Multiple AddHandler statements

2001-06-22 Thread Wim Kerkhoff
Joachim Zobel wrote: At 14:33 19.06.2001 +0530, you wrote: Is there something in SSI which cant be done in a better way using Perl ?? Yes. 1. SSI with XBitHack full plays the 304 game for me. Every time the catalog database is updated, its SSI frame gets a touch. Thats it. Simple.

Re: SSI advocacy Was:: Multiple AddHandler statements

2001-06-22 Thread Perrin Harkins
At 14:33 19.06.2001 +0530, you wrote: Is there something in SSI which cant be done in a better way using Perl ?? Yes. 1. SSI with XBitHack full plays the 304 game for me. Every time the catalog database is updated, its SSI frame gets a touch. Thats it. Simple. Efficient. 2. SSI provides

simple question

2001-06-22 Thread Michael
when using mod perl to return plain text to the client how does one send without any headers in the response stream?? $r-send_fd(F) works fine for files, but how do you do it for dynamically generated content. Michael [EMAIL PROTECTED]

Re: simple question

2001-06-22 Thread victor
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. Michael wrote: when using mod perl to return plain text to the client how does one send without any headers in the response stream?? $r-send_fd(F) works fine for files, but how do you do it for dynamically

Re: simple question

2001-06-22 Thread Michael
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) || return 404;

Mod_rewrite

2001-06-22 Thread Jamie Krasnoo
Can mod_rewrite be used to set PerlSetVar or PerlSetEnv variables? Jamie Krasnoo [EMAIL PROTECTED]

Re: simple question

2001-06-22 Thread Robert Landrum
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) || return 404;

Re: Requests using If-Modified-Since cause response Set-Cookie tobe discarded

2001-06-22 Thread Doug MacEachern
On 21 Jun 2001, Randal L. Schwartz wrote: Uh, it seems a bit fishy to me. nothing's changed, but by the way, set this cookie please. Why change a cookie if nothing else has changed? don't gimme this 'fishy' mumbo jumbo, i'm willing to accept a valid reason why set-cookie shouldn't be

RE: Mod_rewrite

2001-06-22 Thread Geoffrey Young
-Original Message- From: Jamie Krasnoo [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 3:14 PM To: Modperl Subject: Mod_rewrite Can mod_rewrite be used to set PerlSetVar or PerlSetEnv variables? well, both of these are used to populate Apache::Table objects internal to

Where do i install ActivePerl to?

2001-06-22 Thread Castellon, Francisco
Hi people: I am trying to install Active Perl in order to run mod_perl in apache. I am running on Windows98SE and the latest version of apache. So is there a particular directory that i have to install Active perl to? or is anywhere just fine? The other thing as well is that i have been hearing

Re: Where do i install ActivePerl to?

2001-06-22 Thread Jeffrey W. Baker
On Fri, 22 Jun 2001, Castellon, Francisco wrote: Hi people: I am trying to install Active Perl in order to run mod_perl in apache. I am running on Windows98SE and the latest version of apache. So is there a particular directory that i have to install Active perl to? or is anywhere just

RE: Where do i install ActivePerl to?

2001-06-22 Thread Castellon, Francisco
Hi: I tried to install ActivePerl to D:/Perl and when i went to do the ppm installation i get the following error Embed a Perl interpreter in the Apache (1.3.20) HTTP server Doug MacEachern [EMAIL PROTECTED] install.ppm the download link is from here ppm install

RE: Where do i install ActivePerl to?

2001-06-22 Thread Randy Kobes
On Fri, 22 Jun 2001, Castellon, Francisco wrote: Hi: I tried to install ActivePerl to D:/Perl and when i went to do the ppm installation i get the following error Embed a Perl interpreter in the Apache (1.3.20) HTTP server Doug MacEachern [EMAIL PROTECTED] install.ppm the

RE: Where do i install ActivePerl to?

2001-06-22 Thread Castellon, Francisco
Hi Randy: Yes i tried installing the perl_mod from that link but that was the error i got when i went to that link. I havent really tried any other modules. What my main concern was that i thought that the AvtivePerl MSI download had to be installed to the directory where i installed apache. is

RE: Where do i install ActivePerl to?

2001-06-22 Thread Randy Kobes
On Fri, 22 Jun 2001, Castellon, Francisco wrote: Hi Randy: Yes i tried installing the perl_mod from that link but that was the error i got when i went to that link. I havent really tried any other modules. What my main concern was that i thought that the AvtivePerl MSI download had to be

Re: Requests using If-Modified-Since cause response Set-Cookie tobe discarded

2001-06-22 Thread Andrew Ho
Hello, DMi'm willing to accept a valid reason why set-cookie shouldn't be DMincluded in a 304 response, but i have yet to hear one. For the record, I agree, and I agree that mod_perl should allow this. From a practical point of view, though, I've tended to avoid this situation altogether in

Re: simple question

2001-06-22 Thread Michael
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) ||

Re: simple question

2001-06-22 Thread Michael
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine.

RE: Solaris mod_perl DSO...

2001-06-22 Thread Doug MacEachern
On 22 Jun 2001, Jay Thorne wrote: Hmm. I've tried this on perl 5.5.x and 1.25 on a linux box, and I still get the 4meg leak per HUP hi, for the nth time, 5.005 leaks, 5.6.1 does not.

RE: Solaris mod_perl DSO...

2001-06-22 Thread Jay Thorne
On 21 Jun 2001 19:34:03 -0700, Doug MacEachern wrote: On Thu, 21 Jun 2001, Paul G. Weiss wrote: I've done it with 5.6.1. There was a fairly detailed thread on it last week on how it was done. In order to avoid a memory leak on restart you need to build with a bleed modperl though. If