How do I test modules with file upload code? (mp1)

2004-03-25 Thread Barry Hoggard
not a handler, but a module to be used by my HTML::Mason code to verify type, size, etc. I'm not sure I can use Apache::FakeRequest for things like upload data. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com aim: hoggardb -- Report problems: http://perl.apache.org/bugs/ Mail

Re: [Apachetoolbox] How to choose your Perl?

2003-10-23 Thread Barry Hoggard
u add CPAN modules. I usually keep /opt/perl/bin as the first one in my user account .profile, rather than the general /etc/profile setup. -- Barry Hoggard Tristan Media LLC e: [EMAIL PROTECTED] w: www.tristanmedia.com aim: hoggardb

Running Mkbootstrap for Apache::Symbol - fails MP1.29

2003-11-12 Thread Barry Hoggard
arser.pm line 213. Compilation failed in require at /opt/perl-5.8.1/lib/5.8.1/Pod/Man.pm line 30. BEGIN failed--compilation aborted at /opt/perl-5.8.1/lib/5.8.1/Pod/Man.pm line 30. Compilation failed in require at /opt/perl-5.8.1/lib/5.8.1/ExtUtils/Command/MM.pm line 86. make[1]: *** [manifypods] Error 255 make[1]: Leaving directory `/home/bhoggard/src/httpd_perl/mod_perl-1.29/Symbol' make: *** [subdirs] Error 2 -- Barry Hoggard Tristan Media LLC e: [EMAIL PROTECTED] w: www.tristanmedia.com aim: hoggardb -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Running Mkbootstrap for Apache::Symbol - fails MP1.29

2003-11-12 Thread Barry Hoggard
it doesn't really add /tmp to @INC. Do I miss somethng? Ah. That was a stupid mistake that happened when I was working on installing an autobundle file earlier in the day and having trouble getting perl -MCPAN to see it. Thank you very much. -- Barry Hoggard Tristan Media LLC e: [EMAIL PROTECTED] w: www.tristanmedia.com aim: hoggardb -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: At the end of my rope with apache and mod_perl

2005-02-08 Thread Barry Hoggard
BUILD_DIR=$HOME/src APXS=/usr/local/apache/bin/apxs cd $BUILD_DIR/mod_perl-1.2* MODPERL_DIR=`pwd` perl Makefile.PL \ USE_APXS=1 \ WITH_APXS=$APXS \ EVERYTHING=1 make && make test && sudo make install -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: At the end of my rope with apache and mod_perl

2005-02-10 Thread Barry Hoggard
en I want it to use another. Maybe that's what I should try and see if I can change without compiling it all over again. It showed up when I tried to use mod_perl instead of mod_cgi. mod_cgi was using the right database, where as mod_perl wasn't. Do you know how to change the dyld mod

Re: At the end of my rope with apache and mod_perl

2005-02-10 Thread Barry Hoggard
r 1.x code base seemed to work for me. Barry Hoggard

libapreq2 - missing prerequisite

2005-02-10 Thread Barry Hoggard
I'm just installed libapreq2-2.04_03-dev on a new system. The make failed when it couldn't find Parse::RecDescent but I didn't get a warning about that module being needed when I did perl Makefile.PL. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: libapreq2 - missing prerequisite

2005-02-10 Thread Barry Hoggard
On Feb 10, 2005, at 4:45 PM, Joe Schaefer wrote: Parse::RecDescent grepping apreq's trunk produced nothing matching that term. Perhaps you are asking about ExtUtils::XSBuilder's prereq list? That could be it, since I had to install that during the process. Sorry for the confusion. Barry

Re: [OSCon 2005] RFC

2005-02-11 Thread Barry Hoggard
On Feb 11, 2005, at 1:43 PM, Philippe M. Chiasson wrote: Presentation: Building & Packaging mod_perl-2.0 Applications. Speaker: Philippe M. Chiasson <[EMAIL PROTECTED]> Duration: 45 minutes This session will provide good advice on how to package a mod_perl-2.0 application. Learn how to create a sel

setting up static and dynamic Apache 2.0 instructions for MP2 newbie

2005-02-11 Thread Barry Hoggard
I am pretty comfortable with setting up a static front end that proxies to a mod_perl server listening on 127.0.0.1 with Apache 1.x and mod_perl 1.x, and mod_rpaf. Are there any caveats I should know about before getting this working on 2.0 before I start setting it up? I have a stand-alone m

Protecting perl-status by IP on a backend server

2005-02-27 Thread Barry Hoggard
My setup: mod_perl/1.999.21 httpd-2.0.53 mod_rpaf-0.5 I have a front-end apache that listens on the server IP, and proxies requests to a mod_perl server listening on several ports of 127.0.0.1. I would like to be able to see the status pages without having to be logged into the server. Is there

Re: Protecting perl-status by IP on a backend server

2005-02-27 Thread Barry Hoggard
On Feb 27, 2005, at 4:01 PM, Barry Hoggard wrote: My setup: mod_perl/1.999.21 httpd-2.0.53 mod_rpaf-0.5 I have a front-end apache that listens on the server IP, and proxies requests to a mod_perl server listening on several ports of 127.0.0.1. I would like to be able to see the status pages

Re: modperl 2.0.0-rc4 statically linked with httpd-2.0.53

2005-03-02 Thread Barry Hoggard
ith a DSO mod_perl in 1.x and 2.x without problems. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

How do I use Apache::AuthCookie login from another script?

2005-03-11 Thread Barry Hoggard
that. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Custom 500 error pages under MP2?

2005-03-14 Thread Barry Hoggard
doesn't seem to be in notes('error-notes'). -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: [mp2] Apache::AuthCookie

2005-03-18 Thread Barry Hoggard
On Mar 18, 2005, at 9:02 AM, Mike Whitaker wrote: 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 Output

Re: Custom 500 error pages under MP2?

2005-03-18 Thread Barry Hoggard
On Mar 14, 2005, at 7:38 PM, Barry Hoggard wrote: What is the best way to do the MyError example from the Eagle book in MP2? If I get an uncaught error, and I have something like this set up: ErrorDocument 500 /error SetHandler perl-script PerlResponseHandler MyError

Re: Custom 500 error pages under MP2? - SOLVED

2005-03-18 Thread Barry Hoggard
On Mar 18, 2005, at 5:25 PM, Stas Bekman wrote: Barry Hoggard wrote: On Mar 14, 2005, at 7:38 PM, Barry Hoggard wrote: What is the best way to do the MyError example from the Eagle book in MP2? If I get an uncaught error, and I have something like this set up: ErrorDocument 500 /error

Re: Custom 500 error pages under MP2? - SOLVED

2005-03-19 Thread Barry Hoggard
On Mar 18, 2005, at 8:07 PM, Stas Bekman wrote: Barry Hoggard wrote: Sorry if I wasn't clear. I meant I SOLVED the problem by using $ENV{REDIRECT_ERROR_NOTES}. But that's exactly what the eagle book suggests, isn't it? I don't have my copy of the book anymore. I had expec

One log_error message even with debug = 0 in Apache::AuthCookie

2005-04-03 Thread Barry Hoggard
I'm using Apache::AuthCookie 3.06. There is one log_error line that does not check for the debug level, at line 373: $r->server->log_error("authorize user=$user type=$auth_type"); If I want to change this, what is the appropriate value of $debug to use for the >=

[MP2] Using Apache::AuthCookie with $r->prev when login is a redirect to https

2005-04-04 Thread Barry Hoggard
gt;prev->subprocess_env("AuthCookieReason") What is the best way to do this? I would prefer for the login page to be in https, and not just submit to https. I'm using Apache::Session as well, but I don't know if there is a way to make sure that stuff gets into the session before I redirect to https. Barry Hoggard

Re: [MP2] Using Apache::AuthCookie with $r->prev when login is a redirect to https

2005-04-05 Thread Barry Hoggard
On Apr 5, 2005, at 3:00 AM, Torsten Foertsch wrote: On Tuesday 05 April 2005 00:59, Barry Hoggard wrote: If I understood you properly you are redirecting the browser from a HTTP request to HTTPS. This involves browser interaction and is not an internal redirect. prev() however works only with

Re: initializing global data structures from a db

2005-07-11 Thread Barry Hoggard
with it. I do stuff like that in modules that are use-d in my startup.pl. They have code in BEGIN blocks, or just the body of the module outside of subroutines, and set up hashes that can be reached by a class method call. Does that not work in your case? Barry Hoggard

Best approach for allowing googlebot past the AuthCookie barrier (MP2)?

2005-08-25 Thread Barry Hoggard
I have a site where I want to let Google index the articles that are behind a login wall. I'm using AuthCookie (with MP2). I'm sure many people have solved this already. What is the best approach? I didn't find any info in the archives. -- Barry Hoggard Tris

Re: HTML::Parser not mod_perl safe?

2005-09-22 Thread Barry Hoggard
eminds me that we got garbage back sometimes from a parse. Barry Hoggard

MP2 (renamed) Status of some Apache::AuthCookie and Apache::SessionManager

2005-12-16 Thread Barry Hoggard
ight, so I can test that one. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: MP2 (renamed) Status of some Apache::AuthCookie and Apache::SessionManager

2005-12-16 Thread Barry Hoggard
products/apache- modules.html#Porting_CPAN_modules_to_mod_perl_2_0_Status If you have updates submit and we'll update the site. On Fri, 16 Dec 2005, Barry Hoggard wrote: I'm upgrading a server to MP 2.0.2 -- the first one I'm using since the renaming. I use the two modules i

[mp2] "Expected token not present" error in logs

2006-01-08 Thread Barry Hoggard
TP_10="1" @INC: /opt/perl-5.8.6/lib/5.8.6/i686-linux /opt/perl-5.8.6/lib/5.8.6 /opt/perl-5.8.6/lib/site_perl/5.8.6/i686-linux /opt/perl-5.8.6/lib/site_perl/5.8.6 /opt/perl-5.8.6/lib/site_perl . *** Packages of interest status: Apache2: - Apache2::Request

Re: newbie installation trouble

2006-01-11 Thread Barry Hoggard
/ | ++ make: *** [run_tests] Error 1 You need to show us what's in that test log referred to above. You should also look at the bugs URL to see what other information to provide. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: [mp2] "Expected token not present" error in logs

2006-01-11 Thread Barry Hoggard
/opt/perl-5.8.6/lib/site_perl/5.8.6 /opt/perl-5.8.6/lib/site_perl I have a symlink so that /opt/perl (and /opt/perl/bin etc.) can be used. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: More on Apache::SessionManager/MP2

2006-01-18 Thread Barry Hoggard
, at least for mere mortals like myself. I can e-mail you a diff of my changes, or send it to whomever I should. I never heard back from the maintainer of the module. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

MP2: Dealing with AuthCookie and IE's "You are about to be redirected ..."

2006-04-07 Thread Barry Hoggard
/";> I'll need to modify a local copy of Apache2::AuthCookie to do this, but I wondered if there are other solutions out there for this problem. -- Barry Hoggard Tristan Media LLC w: www.tristanmedia.com yahoo/aim: hoggardb

Re: preventing/throttling successive form posts?

2006-04-09 Thread Barry Hoggard
eload doesn't re-submit. -- Barry Hoggard www.ArtCat.com -self-managed websites for artists/galleries www.ArtCal.net - gallery/art guide www.bloggy.com - weblog AIM/Yahoo: hoggardb

Re: Progress bar for file uploads

2006-04-27 Thread Barry Hoggard
those variables? I have a number of forms on my web site with uploads. -- Barry Hoggard www.ArtCat.com -self-managed websites for artists/galleries www.ArtCal.net - gallery/art guide www.bloggy.com - weblog AIM/Yahoo: hoggardb