Re: Debian testing libapache2-mod-perl2 (2.0.2-2.2) and libembperl-perl(2.2.0-1)

2006-11-08 Thread Mike Whitaker
On 8 Nov 2006, at 17:34, Perrin Harkins wrote: On Wed, 2006-11-08 at 18:27 +0100, kolikov wrote: My installed packages related with apache2 are : apache2 2.2.3-2 apache2-mpm-prefork 2.2.3-2 apache2-utils2.2.3-2 libapache2-mod-perl2 2.0.2-2.2 This probably means embperl

Re: HTML::Mason?

2006-08-16 Thread Mike Whitaker
One way that I've done this kind of thing in the past is to really use SSI and call a mod_perl handler or Registry script with it. In other words, you write a "list users logged in" thing in CGI::Application as usual and then call it like this from a page: That just makes an Apache subrequest

Re: Suggestions for creating an archive

2005-08-31 Thread Mike Whitaker
On 31 Aug 2005, at 18:43, Perrin Harkins wrote: There is a way to do it, defined as part of HTTP or MIME -- I can't quite remember. If you do an external redirect you won't have to bother figuring it out. Content-Disposition: rings a bell.

Re: Suggestions for creating an archive

2005-08-31 Thread Mike Whitaker
On 31 Aug 2005, at 17:40, Perrin Harkins wrote: On Wed, 2005-08-31 at 17:18 +0100, Dermot Paikkos wrote: I need to create a archive file and send it back to the user. Either do a system call to zip, or use Archive::Zip, write the file out in a directory under your web server, and send a

Re: Version Control

2005-07-27 Thread Mike Whitaker
On 27 Jul 2005, at 17:22, David Hofmann wrote: My company looking at setting up some kind of versioning control software. Currently we have about 10 programs. We use Perl or C depending on the project. I understand just enough to be dangerous with CVS. Which is the current suggestion to

[mp2] Apache::AuthCookie

2005-03-18 Thread Mike Whitaker
Getting an error from mod_per/Apache2 as soon as I try and access an protected page: 'failed to resolve handler Foo::Auth' I'm assuming this means something more than 'can't find Foo::Auth in @INC', since another Foo:: module (in use as an OutputFilter) gets picked up fine. WHat'm I missing? c

Re: Getting %ENV into a filter

2005-03-14 Thread Mike Whitaker
[Mon Mar 14 12:25:24 2005] [error] [client 192.168.1.107] Can't locate object method "subprocess_env" via package "Apache::RequestRec" at Foo.pm line 22. Just to sanity check, I peeked at $f->r, and it does appear to be what it's supposed to: - Apache::RequestRec=SCALAR(0x82de098) but it doesn'

Getting %ENV into a filter

2005-03-14 Thread Mike Whitaker
I'm replacing a somewhat flaky use of mod_layout with a PerlOutputFilterHandler - it's all a little bit ugly, but... Basically: I have a RewriteRule whose major function is to set an ENV variable (PACKAGE) dependent on the Host: header before invoking a CGI. The output of this CGI gets passed