Deleting a cookie

2001-11-27 Thread Jon Robison
I have created a login system using the wonderful Ticket system from the Eagle book. I have modified TicketAccess so that after authentication, it reviews the arguments in the query string and does push_handler, the handler being chosen based on the args. My only problem is that I want to

Re: Deleting a cookie

2001-11-27 Thread Mohit Agarwal
On Tue, 27 Nov 2001, Jon Robison wrote: My only problem is that I want to provide the users with a logout button which will delete the cookie from thier browser, yet I cannot find how!. I have reviewed every module on my system with 'Cookie' in the name (Apache::Cookie, CGI::Cookie, etc.)

RE: Apache::Registry HTTP HEAD feature fix ;-)

2001-11-27 Thread Geoffrey Young
-Original Message- From: Jean-Michel Hiver [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 9:38 AM To: [EMAIL PROTECTED] Subject: Re: Apache::Registry HTTP HEAD feature fix ;-) well, I just gave you a patch that worked :) basically, it only provides a solution

Re: Apache::Registry HTTP HEAD feature fix ;-)

2001-11-27 Thread Jean-Michel Hiver
this should work for scripts that only use print() (without the patch I sent yesterday :) Looks neat! I'll make sure I'll take a close look at that :-) Cheers, -- == \__ = /\/\ IT'S TIME FOR A DIFFERENT KIND OF WEB / /\__/\ \

RE: Apache::Registry HTTP HEAD feature fix ;-)

2001-11-27 Thread Geoffrey Young
-Original Message- From: Jean-Michel Hiver [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 9:02 AM To: [EMAIL PROTECTED] Subject: Re: Apache::Registry HTTP HEAD feature fix ;-) this should work for scripts that only use print() (without the patch I sent

Re: Deleting a cookie

2001-11-27 Thread Mithun Bhattacharya
Mohit Agarwal wrote: Never tried the negative value for expiration time, but setting it to a very small value, say 1s, works. I'm not sure, but setting the cookie value to null should also have the same effect. I believe setting the expiry date less than the current time should work.

location directive

2001-11-27 Thread [EMAIL PROTECTED]
Hi I have put mod_perl handler inside a virtual host section then inside the virtualhost section, i also put location directives to override overall modperl handler in some situations, with sethandler default-handler. for instance Alias /icons/ d:/Apache/icons/ location /icons/ SetHandler

Re: Deleting a cookie

2001-11-27 Thread Nick Tonkin
Expiring the cookie works well for me. Here's what I have: sub handler { [ ... ] if ($r-uri =~ /logout/) { if (my $cookie = destroy_cookie($r)) { return logout_screen($r); } else { return 500; } } [ ... ] } sub destroy_cookie

Apache - mod_perl - Windows

2001-11-27 Thread Albrecht Fortenbacher
Hi, sorry for bothering you with a question concerning mod_perl under windows (it's not that I like windows so much, it's just because I have to use a windows system ...) I tried to install precompiled mod_perl within an Apache 1.3.22 server on Windows 2000 as indicated on

DSO Issues

2001-11-27 Thread David Wheeler
Hi All, While it seems to be well-known anecdotally that one should never use a DSO install of mod_perl (particularly among Mason developers), is there yet any place where all the known issues surrounding the use of DSO mod_perl are documented? I see a place in the guide where Stas mentions

RE: Apache - mod_perl - Windows

2001-11-27 Thread Jonathan M. Hollin
:: sorry for bothering you with a question concerning mod_perl under :: windows (it's not that I like windows so much, it's just because I have :: to use a windows system ...) Same here - I'm forced to use Windows because we're a Windows only shop. Additionally, I don't know Unix so that kind of

Re: Apache - mod_perl - Windows

2001-11-27 Thread Randy Kobes
On Tue, 27 Nov 2001, Albrecht Fortenbacher wrote: I tried to install precompiled mod_perl within an Apache 1.3.22 server on Windows 2000 as indicated on http://perl.apache.org, and this failed (error message below). [ .. ]

Re: Apache - mod_perl - Windows

2001-11-27 Thread Alessandro Forghieri
Greetings. You may be in need of AddModule mod_perl.c After the ClearModuleList somewhere around line 207 of httpd.conf as distributed. (What's ClearModuleList's used for anyway? I never really understood it - but then again, I never really read its documentation...) As for mod_perl on win32,

[Job Seeker]

2001-11-27 Thread Geoffrey Young
hi all... well, with this economy and all I guess it's a bad time to look for a new job, but... things here at covad are taking a turn for the worse. In fact, covad stopped using mod_perl some time ago, and I no longer have the internal corporate sponsorship and support I once had. Thus,

[JOB-SF Bay Area] Looking for someone to join my Web apps team at EFI/PrintMe

2001-11-27 Thread John Armstrong
Hello all- I got my head count for the next few months and was given another spot to fill on the team! Hooray! We are building a next generation internet printing system here at Electronics For Imaging (EFII). The Web apps portion is heavily Apache/ModPerl/HTML::Mason/Oracle

RE: DSO Issues

2001-11-27 Thread Christian Gilmore
Ditto. DSO makes my life so much better in terms of portability and administratability that having my services down for a few seconds during a log rotation is certainly worth it. Regards, Christian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of

[OT] search.cpan.org

2001-11-27 Thread Robert Landrum
Does anyone know why search.cpan.org is always the s-l-o-w-e-s-t site on the internet? I can't believe it always busy. I've had trouble hitting it at 3 AM. Maybe it's just me... Rob -- Only two things are infinite: The universe, and human stupidity. And I'm not sure about the former.

Re: [JOB-SF Bay Area] Looking for someone to join my Web apps team at EFI/PrintMe

2001-11-27 Thread Aleksandr Vladimirskiy
Hi John, I have been working with apache/mod_perl/oracle on Solaris and Linux for about 2 years. The projects included building secure intranet sections, dynamic pages, and most recently a ticketing system and a system to replace a paper trail in a very large non-profit. I'm relocating to Palo

[OT] Re: search.cpan.org

2001-11-27 Thread Nick Tonkin
Because it does a full text search of all the contents of the DB. ~~~ Nick Tonkin On Tue, 27 Nov 2001, Robert Landrum wrote: Does anyone know why search.cpan.org is always the s-l-o-w-e-s-t site on the internet? I can't believe it always busy. I've had trouble hitting it at 3

[OT] Re: search.cpan.org

2001-11-27 Thread Robert Landrum
Sure... When doing searches. But it takes me about 20 seconds just to hit any page... not just the search pages. And don't misunderstand, I think search.cpan.org is awesome. I just wondered if anyone knew why it was slow all the time. Rob At 12:55 PM -0800 11/27/01, Nick Tonkin wrote:

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Bill Moseley
At 12:55 PM 11/27/01 -0800, Nick Tonkin wrote: Because it does a full text search of all the contents of the DB. Perhaps, but it's just overloaded. I'm sure he's working on it, but anyone want of offer Graham free hosting? A few mirrors would be nice, too. (Plus, all my CPAN.pm setups are now

[OT] Re: search.cpan.org

2001-11-27 Thread Nick Tonkin
Well, ask Ask if you want the whole truth. But when I saked him that's what he said. Maybe there's a problem with the architecture and some pre-indexing is done per session or something suboptimal like that. Ask? ~~~ Nick Tonkin On Tue, 27 Nov 2001, Robert Landrum wrote: Sure... When

Re: Deleting a cookie

2001-11-27 Thread Mark Maunder
Jon Robison wrote: I have created a login system using the wonderful Ticket system from the Eagle book. I have modified TicketAccess so that after authentication, it reviews the arguments in the query string and does push_handler, the handler being chosen based on the args. My only

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Mark Maunder
Nick Tonkin wrote: Because it does a full text search of all the contents of the DB. Not sure what he's using for a back end, but mysql 4.0 (in alpha) has very fast and feature rich full text searching now, so perhaps he can migrate to that once it's released in December sometime. I'm using

Re: [OT] search.cpan.org

2001-11-27 Thread Perrin Harkins
There's a simple solution: http://kobesearch.cpan.org/

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Bill Moseley
At 09:02 PM 11/27/01 +, Mark Maunder wrote: I'm using it on our site and searching fulltext indexes on three fields (including a large text field) in under 3 seconds on over 70,000 records on a p550 with 490 megs of ram. Hi Mark, plug Some day if you are bored, try indexing with swish-e

Re: DSO Issues

2001-11-27 Thread John Chia
On 27 November 2001 15:17 (-0500), Vivek Khera wrote: The *only* issue I encounter is a massive memory leak upon SIGHUP or SIGUSR to apache. Hm. I only get memory leaks if PerlFreshRestart is enabled and I SIGHUP it. -- john chia [EMAIL PROTECTED] starnix

ANNOUNCE: Embperl 2.0b5

2001-11-27 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-2.0b5.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/HTML-Embperl-2.0b5.tar.gz size: 506804 bytes md5: e5836be6ad29f8658052e512e2427c74 This is mainly a bug fix release. The only new feature is the

ANNOUNCE: Apache::ImageMagick 2.0b5

2001-11-27 Thread Gerald Richter
The URL ftp://ftp.dev.ecos.de/pub/perl/image/Apache-ImageMagick-2.0b5.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GR/GRICHTER/Apache-ImageMagick-2.0b5.tar.gz size: 10734 bytes md5: f2b27559a97f349603c218be8205409d This release fixes a bug, which causes cached files to stay

Re: Apache::AuthCookie login faliure reason

2001-11-27 Thread Vivek Khera
CH == Carolyn Hicks [EMAIL PROTECTED] writes: CH this to something like 'InvalidLogin' in authen_cred, you can then check CH for this and set the reason via $r-subprocess_env in AuthCookieHandler- authen_ses_key, before AuthCookie-authenticate wipes CH the cookie out. Not extensively tested,

[OT] A couple of dubious network problems...

2001-11-27 Thread Dave Hodgkinson
Chaps, Can I pick the wisdom of the hive here please? I witnessed a couple of mod_perl related network problems yesterday which are kind of mod_perl related: 1. On a RH6.0 (yes, ick) box without persistent DBI connections, the server side of the DBD::mysql connection was successfully closed

Upgrade Perl to 5.6.1and mod_perl still see 5.6.0

2001-11-27 Thread Hans Poo
I've just installed a redhat 7.2 machine. I the installed Apache::ASP using CPAN, and ended upgrading to perl 5.6.1. After restarting httpd. i noticed that mod_perl is still int he old libraries. The test are: 1.- @INC seems fine in the system: # perl -e 'print join \n, @INC'

[OT] A couple of weird network problems...

2001-11-27 Thread daveh
I was at a client site last week and we saw two Apache/mod_perl related network problems: 1. On one particular handler, a $r-print() looks good and yet it's truncated my the time it gets to the browser. This is on Linux and Solaris, Apache 1.3.14 and early 1.2x mod_perl. Does this ring any

[OT] A couple of weird network problems...

2001-11-27 Thread daveh
I was at a client site last week and we saw two Apache/mod_perl related network problems: 1. On one particular handler, a $r-print() looks good and yet it's truncated my the time it gets to the browser. This is on Linux and Solaris, Apache 1.3.14 and early 1.2x mod_perl. Does this ring any

Re: [modperl-site design challenge] Thomas Klausner (domm)

2001-11-27 Thread mathias
on 26.11.01 17:14, John Saylor at [EMAIL PROTECTED] wrote: Hi ( 01.11.25 22:37 +0100 ) Thomas Klausner: You can look at my idea of the the new modperl-site design here: http://domm.zsi.at/modperl-site-domm/ Nice work! Is it all right to talk details? In my opinion something like:

Problem with asp module and apache on win98

2001-11-27 Thread Giorgio D'Anna
Hi, I have installed apache server on windows98 with modperl and apache::asp module, but I can't make it working. I have put this in httpd.conf: Files *.asp SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global C:/Windows/temp PerlSetVar CookiePath / PerlSetVar

Re: Deleting a cookie

2001-11-27 Thread Hans Poo
El Mar 27 Nov 2001 10:21, Jon Robison escribió: I have created a login system using the wonderful Ticket system from the Eagle book. I have modified TicketAccess so that after authentication, it reviews the arguments in the query string and does push_handler, the handler being chosen based

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Randy Kobes
On Tue, 27 Nov 2001, Bill Moseley wrote: At 12:55 PM 11/27/01 -0800, Nick Tonkin wrote: Because it does a full text search of all the contents of the DB. Perhaps, but it's just overloaded. I think the load, and network connection, is the main reason; the search itself, if you were

Re: [OT] A couple of dubious network problems...

2001-11-27 Thread Mark Maunder
Dave Hodgkinson wrote: 1. On a RH6.0 (yes, ick) box without persistent DBI connections, the server side of the DBD::mysql connection was successfully closed (netstat shows nothing), but the client side shows a TIME_WAIT state, which hangs around for 30 seconds or so before disappearing.

Re: Can you help?

2001-11-27 Thread Stas Bekman
Gill wrote: I hope you can help... I have untarred the mod_perl file. I run ./configure --add-module=path/mod_perl.c http://perl.apache.org/guide/install.html _ Stas Bekman JAm_pH -- Just Another

Re: Upgrade Perl to 5.6.1and mod_perl still see 5.6.0

2001-11-27 Thread Brett W. McCoy
On Fri, 23 Nov 2001, Hans Poo wrote: I've just installed a redhat 7.2 machine. I the installed Apache::ASP using CPAN, and ended upgrading to perl 5.6.1. After restarting httpd. i noticed that mod_perl is still int he old libraries. Did you rebuild mod_perl? If not, it's still the 5.6.0

Re: array's first element is empty

2001-11-27 Thread Perrin Harkins
Not sure if this is mod_perl related, but i hope someone can help me anyway. When i do DBI queries from mod_perl handler and put all returned results in array then array's first element is empty, I wonder why? I don't like to shift off first element every time i return the result. Has anyone

Re: Class data preloading modules

2001-11-27 Thread Perrin Harkins
* initialize everything in the parent Apache, just make sure to create new DBI connections in the children. That's what I would do. It increases the amount of shared memory. Disconnect the DBI connection when you're done with it. Apache::DBI doesn't cache connections during startup, so

Re: DSO Issues

2001-11-27 Thread Vivek Khera
DW == David Wheeler [EMAIL PROTECTED] writes: DW While it seems to be well-known anecdotally that one should never use a DW DSO install of mod_perl (particularly among Mason developers), is there DW yet any place where all the known issues surrounding the use of DSO The *only* issue I

Re: DSO Issues

2001-11-27 Thread Stephen Reppucci
If we're collecting a list of things that don't work in a DSO build, add perl subs (via !--#perl sub=My::handler--). At least, they didn't work as of January of this year. On Tue, 27 Nov 2001, John Chia wrote: On 27 November 2001 15:17 (-0500), Vivek Khera wrote: The *only* issue I