Sending Cookies on Page-Reload

2001-06-19 Thread Nenad Steric
Hi, i am using a Cookie which has a timeout as a -value, when it expires i want to send a new one which should replace this one. it the accesshandler is have a verify_cookie-method which checks the timeout, if it's expired then i call ... $cookie = CGI::Cookie-new(-name = 'myCookie',... etc

Re: Multiple AddHandler statements

2001-06-19 Thread Pierre-Yves BONNETAIN
Hi Douglas, 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... Unfortunately, the dynamically generated page is not

Re: Multiple AddHandler statements

2001-06-19 Thread Mithun Bhattacharya
Is there something in SSI which cant be done in a better way using Perl ??

[DIGEST] mod_perl digest 2001/06/16

2001-06-19 Thread Geoffrey Young
-- mod_perl digest June 10, 2001 - June 16, 2001 -- Recent happenings in the mod_perl world... Features

RE: Confusion resolved (was: mod_perl DSO leaking on restart)

2001-06-19 Thread Christian Gilmore
Doug, Will this patch make it into 1.26? If so, is there a slated release date for 1.26? Thanks, Christian -Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:04 PM To: Paul G. Weiss Cc: mod_perl list Subject: Re: Confusion resolved

Changing Normal pl-scripts to mod_perl

2001-06-19 Thread Oliver - GoodnGo.COM \(R\)
Hello List, I know now to configure the apache httpd.conf so that i can use mod_perl. What I want to know is how I have to change my old CGI-script which are written in Perl so that they work under mod-perl Apache??? Who give me a hint? Are there any example Scripts? Oli Etzel BEGIN:VCARD

Re: Advanced daemon allocation

2001-06-19 Thread Stas Bekman
On Tue, 19 Jun 2001, Keith G. Murphy wrote: Matthew Byng-Maddick wrote: On Mon, Jun 18, 2001 at 10:41:50AM -0500, Keith G. Murphy wrote: This is only true if you're serving images off the mod_perl server which is crazy unless you're generating them. No images involved, but I was

Re: Changing Normal pl-scripts to mod_perl

2001-06-19 Thread Stas Bekman
On Tue, 19 Jun 2001, Oliver - GoodnGo.COM (R) wrote: Hello List, I know now to configure the apache httpd.conf so that i can use mod_perl. What I want to know is how I have to change my old CGI-script which are written in Perl so that they work under mod-perl Apache??? Who give me a

Re: Sending Cookies on Page-Reload

2001-06-19 Thread Nenad Steric
Yes i tried it also with no_cache(1), the problem (i think) is that the page has been sent already once without no_cache when the user hits reload. I don't know if it would be a good idea to disable caching for all pages .. could i just fake that the the filedate for this page has changed, so

Re: Advanced daemon allocation

2001-06-19 Thread Keith G. Murphy
Stas Bekman wrote: On Mon, 18 Jun 2001, Keith G. Murphy wrote: Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl application to 10 specific

Re: Apache::Cookie-fetch fails silently

2001-06-19 Thread Doug MacEachern
On Fri, 15 Jun 2001, Rodney Broom wrote: I've got this handler that calls Apache::Cookie-fetch, no problem. It's tested and works fine. So I installed the same handler (same machine) on a second Apache instance, but now Apache::Cookie-fetch fails, causing the handler to terminate. No

Re: Advanced daemon allocation

2001-06-19 Thread Keith G. Murphy
Matthew Byng-Maddick wrote: On Mon, Jun 18, 2001 at 10:41:50AM -0500, Keith G. Murphy wrote: Trevor Phillips wrote: Is there any way to control which daemon handles a certain request with apache 1.x? eg; Out of a pool of 50 daemons, restricting accesses to a certain mod_perl

Re: Setting an auth realm dynamically

2001-06-19 Thread Doug MacEachern
On Fri, 15 Jun 2001, Rodney Broom wrote: I (like everybody else) have a site that is wholy dynamically generated. As such, I can't alway set an auth realm in the config or in .htaccess. What I'd like to do is an access handler like this: sub handler { my $r = shift; if ($r-uri

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

2001-06-19 Thread Doug MacEachern
On Mon, 18 Jun 2001, Andrew Gilmartin wrote: I have PerlAuthenHandler handler that sets a cookie on authentication success. The cookie records, in part, the time of the last access to the site. Therefore for each access the cookie is updated. When a new document is accessed or a CGI script

Re: Changing Normal pl-scripts to mod_perl

2001-06-19 Thread Cody Sherr
Oliver, There is a quick guide to doing exactly this at perl.apache.org: http://perl.apache.org/dist/cgi_to_mod_perl.html if you run into problems, there is a traps doc: http://perl.apache.org/dist/mod_perl_traps.html and if you want a more in depth document, read this:

Web Site Question

2001-06-19 Thread Purcell, Scott
Hello, First: I am running apache/mod-perl on a NT box as a web server. Sorry it is not unix, it is the only tool I can have. Kind of a forward question, but I am curious about something. My large web site talks to a back-end product that uses an API and I use the IO::Socket to talk to it. It

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

2001-06-19 Thread Andrew Gilmartin
How can I force Apache to send the Set-Cookie header even if the document being delivered has not changed? I suspect that I am not the first person to run into this problem. A search of the list was unsuccessful, unfortunately. i've not tested, but it looks like Set-Cookie is left out

Re: Apache::AuthDBI

2001-06-19 Thread Douglas Leonard
Standard SQL allows for inserts without specifying field names. Personally, I think that it is more readable to specify the field names but it is quite common to not bother doing so. -- Douglas Leonard [EMAIL PROTECTED] On 19 Jun 2001, Alan E. Derhaag wrote: Christian Heiss [EMAIL PROTECTED]

SocketConnect

2001-06-19 Thread Purcell, Scott
This replace my earlier WebSiteQuestion post, in which maybe the question was too broad. Would there be any issues if I had a perl module called that creates a global socket handle, and then use that handle throughout a bunch of different web pages? Or is there any concerns I should be aware of

Re: Confusion resolved (was: mod_perl DSO leaking on restart)

2001-06-19 Thread Vivek Khera
DM == Doug MacEachern [EMAIL PROTECTED] writes: DM On 19 Jun 2001, Vivek Khera wrote: Drat. Not here. I just sucked down the latest mod_perl CVS with this patch, and I still lose 9M per USR1... Lemme try some tracing to see what gives here. (FreeBSD 4.3, perl 5.005_03) DM i mentioned

Cached Code Disappeared?

2001-06-19 Thread Purcell, Scott
Hello, Still seeking assistance form anyone who is experienced with sockets and mod-perl /apache on NT. Anyway, as my previous email showed, I built a site which used a global filehandle to a socket. It worked great for about two hours, and then all of a sudden stopped. After rebooting the

Re: Cached Code Disappeared?

2001-06-19 Thread Perrin Harkins
Still seeking assistance form anyone who is experienced with sockets and mod-perl /apache on NT. No NT here, but... Anyway, as my previous email showed, I built a site which used a global filehandle to a socket. It worked great for about two hours, and then all of a sudden stopped. After

Re: mod_perl bof Oreilly Conference TShirts

2001-06-19 Thread Jimi Thompson
Gunther, We are still interested in doing the design. If a corporate sponsor for the printing will step forward, we'd be happy to work their logo into the design. Jimi - Original Message - From: Gunther Birznieks To: mod_perl list Sent: Saturday, June 16, 2001

Re: mod_perl bof Oreilly Conference TShirts

2001-06-19 Thread James
What's the qty? What's the price? James. Jimi Thompson wrote: Gunther, We are still interested in doing the design. If a corporate sponsor for the printing will step forward, we'd be happy to work their logo into the design. Jimi - Original Message - From:

Re: mod_perl bof Oreilly Conference TShirts

2001-06-19 Thread Gunther Birznieks
Apparently last year the quantity was 150 for US$10/shirt. This was a 2 color shirt. So the damage was US$1500. However, there are two factors that may lower the cost. One, perhaps not as many shirts have to produced because the conference attendence may be lower this year than last year

Unable to build apache + mod_perl on AIX

2001-06-19 Thread Steven Lembark
apache_1.3.20 mod_perl-1.25 AIX kbs80 3 4 000C30CD4C00 unknown Problem: regardless of what arg's I've tried or all-in-one, one-step I keep getting xlC as the compier and CFLAGS which include -qlonglong -q32 -maxmem'. xlC then fails to compile apache. Running ./configure --blah in the

fancy perl2html replacement

2001-06-19 Thread brian moseley
warning: these questions are completely off list topic, but i bet they're still interesting to lots of you. does anybody know if nice fancey pod2html replacements exist? specifically, i want a tool that generates framesets with package and class indexes like javadoc does. also, what's the

[OT] Re: fancy perl2html replacement

2001-06-19 Thread Stas Bekman
On Tue, 19 Jun 2001, brian moseley wrote: warning: these questions are completely off list topic, but i bet they're still interesting to lots of you. You want to take these questions to a list designed especially for this purpose: [EMAIL PROTECTED] And check CPAN, there is a bunch of new

Re: [OT] Re: fancy perl2html replacement

2001-06-19 Thread brian moseley
neat! thanks for the info. On Wed, 20 Jun 2001, Stas Bekman wrote: On Tue, 19 Jun 2001, brian moseley wrote: warning: these questions are completely off list topic, but i bet they're still interesting to lots of you. You want to take these questions to a list designed especially for

RE: Confusion resolved (was: mod_perl DSO leaking on restart)

2001-06-19 Thread Doug MacEachern
On Tue, 19 Jun 2001, Christian Gilmore wrote: Doug, Will this patch make it into 1.26? yes. If so, is there a slated release date for 1.26? soon-ish. you can always configure: PerlSetEnv PERL_DESTRUCT_LEVEL 2 in the meantime.

[ANNOUNCE] Apache::ASP v2.17

2001-06-19 Thread Joshua Chamas
Hey, Apache::ASP v2.17 is in your local CPAN or http://www.perl.com/CPAN-local/modules/by-module/Apache/ Mostly this is a bug fix release, with a debugging enhancement, and a bundled emacs mmm-mode. The web site for Apache::ASP is http://www.apache-asp.org and the CHANGES are listed below.

[ANNOUNCE] libapreq 0.33 released

2001-06-19 Thread Jim Winstead
(this is the package that provides Apache::Request and Apache::Cookie.) The URL http://httpd.apache.org/dist/httpd/libapreq-0.33.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JI/JIMW/libapreq-0.33.tar.gz size: 156885 bytes md5: 48c4c244db77c1855c6e4a6185e6ccdf more

Re: Confusion resolved (was: mod_perl DSO leaking on restart)

2001-06-19 Thread Doug MacEachern
On 19 Jun 2001, Vivek Khera wrote: Drat. Not here. I just sucked down the latest mod_perl CVS with this patch, and I still lose 9M per USR1... Lemme try some tracing to see what gives here. (FreeBSD 4.3, perl 5.005_03) i mentioned earlier in the thread 5.005_03 has leaks. although,