Re: $r->args vs $r->content

2002-05-14 Thread Richard Clarke
Are you also processing the posted data at some earlier request stage? It doesn't sound like you would be but I thought I would ask. Richard - Original Message - From: Mike Melillo To: [EMAIL PROTECTED] Sent: Tuesday, May 14, 2002 5:22 PM Subject: $r->args vs $r->content Ok, I've s

Re: HTTP version conflict with proxy setup.

2002-05-14 Thread Ian Macdonald
Just a quick note on the successful resolution of this; it's a bug in Apache 1.3.24 with the handling of chunked data from proxies, details here: http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=101805692511019&w=2 http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=101810478231242&w=2 a

Re: MLDBM Tie Errors

2002-05-14 Thread Mike Martinet
Are you suggesting that I modify Sync.pm? MjM [EMAIL PROTECTED] wrote: > Franck PORCHER wrote: > >>Well, I'm not 100% sure, but I recently switched for MLDBM and got this >>problem too. Here is what I found, and did to remedy the situation : >> >>It *seemed* to me that the physical MLDBM

Re: MLDBM Tie Errors

2002-05-14 Thread Joshua Chamas
Franck PORCHER wrote: > > Well, I'm not 100% sure, but I recently switched for MLDBM and got this > problem too. Here is what I found, and did to remedy the situation : > > It *seemed* to me that the physical MLDBM repository was not physically created > until I actually wrote something into it,

mod_perl 2.0 - writing a proxy handler

2002-05-14 Thread Douglas Younger
Hello, Has anyone written a proxy handler in 2.0 similar to example 7-12 of the O`Reilly book? I've tried converting it without much luck. I don't need the add-blocker stuff, just a generic proxy handle that I can add some additional lines to parse the output. I've had some problems with Ap

Re: we need mod_perl banners

2002-05-14 Thread Matt Sergeant
On Tuesday 14 May 2002 4:12 pm, Stas Bekman wrote: > Nobody has volunteered to lead the modperl banners effort, so if you are > an artist or know someone who is and willing to help please send the > banners to me. > > Approx Banner Spec: > --- > Format: PNG > Dimensions: 468x60

Re: we need mod_perl banners

2002-05-14 Thread Matt Sergeant
On Tuesday 14 May 2002 4:12 pm, Stas Bekman wrote: > Nobody has volunteered to lead the modperl banners effort, so if you are > an artist or know someone who is and willing to help please send the > banners to me. > > The story: > -- > Some people want to advertise mod_perl on their sites.

Re: unable to use method type handlers?

2002-05-14 Thread Geoffrey Young
Jeff AA wrote: >>Try per load the class my::class via startup.pl or PerlModule >> > > I already had PerlModule my::classes in httpd.conf > Tried PerlRequire as well - still the same error the steps are outlined pretty well in recipe 10.3 (since you mentioned the cookbook earlier). from the

Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Tom Lancaster
On closer examination, I don't think this will solve your problem - this helps when you want to proxy something that's been included via mod_include. Tom On Tue, May 14, 2002 at 09:32:54AM -0700, Tom Lancaster wrote: > I think I had a similar problem. It's a while since I tackled it, so I migh

$r->args vs $r->content

2002-05-14 Thread Mike Melillo
      Ok, I've switched to A::Request, but it still seems my parameters table is empty.  I'll paste in the form data, as well as some code snippets to see if that helps find the bug.     username   password       **End HTML Template**   ** Join.pm **   sub submit

Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Tom Lancaster
I think I had a similar problem. It's a while since I tackled it, so I might be wrong. In any case, I was having problems doing proxy with a rewritemap. My reason for wanting to do this was so I could use the weighting feature of rewritemaps to do weighted load balancing between frontend and backe

RE: How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Erchinger, Ethan
> > At 08:58 AM 5/14/02 -0700, Erchinger, Ethan wrote: > > Do you think it could be the > startup.pl (handler.pl), > >shouldn't that only get run when the handler is perl-script? > > If you have a "PerlRequire startup.pl" statement in your httpd.conf, > startup.pl will always be run as Apache

RE: How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Erchinger, Ethan
I have it setup that way, thanks, still no dice. > Subject: Re: How to disable mod_perl in a subdir (apache) > > > Make sure you put it after the Location directive that sets > HTML::Mason > > > SetHandler perl-script > PerlHandler HTML::Mason > > > > SetHandler default-handl

Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Perrin Harkins
mire wrote: > I have code like this: > > RewriteEngine On > > RewriteLog "/var/site/rewrite.log" > RewriteMaplb prg:/tmp/lb > > RewriteRule ^/trta$ http://${lb:prvi|drugi} [proxy,last] > > and a perl script (a copy from mod_proxy manual) but it doe

RE: unable to use method type handlers?

2002-05-14 Thread Jeff AA
> Try per load the class my::class via startup.pl or PerlModule I already had PerlModule my::classes in httpd.conf Tried PerlRequire as well - still the same error help?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: 14 May

Re: How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Tim Tompkins
Make sure you put it after the Location directive that sets HTML::Mason SetHandler perl-script PerlHandler HTML::Mason SetHandler default-handler Regards, Tim Tompkins -- Programmer http://www.arttoday.com/ http://www.rebelartist.com

RE: How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Drew Taylor
At 08:58 AM 5/14/02 -0700, Erchinger, Ethan wrote: > > Try > > > > SetHandler default-handler > > > >I tried that as well. Do you think it could be the startup.pl (handler.pl), >shouldn't that only get run when the handler is perl-script? If you have a "PerlRequire startup.pl" statement in yo

RE: How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Erchinger, Ethan
> Try > > SetHandler default-handler > I tried that as well. Do you think it could be the startup.pl (handler.pl), shouldn't that only get run when the handler is perl-script? EE >> Subject: How to disable mod_perl in a subdir (apache) >> Hi all, >> I saw a posting about this subject fro

Re: How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Tim Burden
Try SetHandler default-handler - Original Message - From: "Erchinger, Ethan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 11:50 AM Subject: How to disable mod_perl in a subdir (apache) > Hi all, > I saw a posting about this subject from earlier this year.

How to disable mod_perl in a subdir (apache)

2002-05-14 Thread Erchinger, Ethan
Hi all, I saw a posting about this subject from earlier this year. I'm unable to make this work, and was hoping for some help. I have a directive for / (for the entire docroot). I would like to make one subdirectory not be handled by perl-script, but am unable to do so. Excerpt from httpd.co

RE: we need mod_perl banners

2002-05-14 Thread Jonathan M. Hollin
>Do we have the source for those banners anywhere? Preferably >vector, or >at least telling us what font the original was in. I don't >think anyone >wants to work from bitmap. > >I seem to remember matts doing something with SVG a while >back, but him >waiting on the correct font (my memor

Re: we need mod_perl banners

2002-05-14 Thread Stas Bekman
Mark Fowler wrote: > On Tue, 14 May 2002, Stas Bekman wrote: > > >>[ creating banners, etc ] > > > Do we have the source for those banners anywhere? Preferably vector, or > at least telling us what font the original was in. I don't think anyone > wants to work from bitmap. > > I seem to r

Re: we need mod_perl banners

2002-05-14 Thread Mark Fowler
On Tue, 14 May 2002, Stas Bekman wrote: > [ creating banners, etc ] Do we have the source for those banners anywhere? Preferably vector, or at least telling us what font the original was in. I don't think anyone wants to work from bitmap. I seem to remember matts doing something with SVG a

we need mod_perl banners

2002-05-14 Thread Stas Bekman
Nobody has volunteered to lead the modperl banners effort, so if you are an artist or know someone who is and willing to help please send the banners to me. The story: -- Some people want to advertise mod_perl on their sites. We need banners for that. Your help is appreciated. Approx

Re: filtering mod_proxy output

2002-05-14 Thread Drew Taylor
At 04:25 PM 5/14/02 +0200, Charles Bueche wrote: >Hi all, > >I want to implement a transparent reverse proxy, to export an intranet web >server to the Internet. > >I know about the ProxyPass friends, but with such a mapping : > > ProxyPass /toto http://intra.company.com > >the retu

filtering mod_proxy output

2002-05-14 Thread Charles Bueche
Hi all, I want to implement a transparent reverse proxy, to export an intranet web server to the Internet. I know about the ProxyPass friends, but with such a mapping : ProxyPass /toto http://intra.company.com the returned HTML page contains links that must be filtered (IMG SRC

Re: Moving from CGI to mod_perl

2002-05-14 Thread Jason
Probably the BIGGEST mod_perl pitfall is variable scoping/initialization. I recommend that you try to use strict; whenever possible ESPECIALLY in mod_perl. - Original Message - From: "Anton Permyakov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 12:15 AM

Re: Memory usage option in Apache::Status

2002-05-14 Thread Stas Bekman
[EMAIL PROTECTED] wrote: >>ok, next trace to the offending code. > [Tue May 14 10:38:19 2002] [error] Can't call method "size" on unblessed > reference at /usr/lib/perl5/site_perl/5.6.0/i386-linux/B/Size.pm line > 94. > B::AV::size(1, 'B::AV=SCALAR(0xa063444)') called at > /usr/lib/perl5/

Embed Apache+Mod_perl into a application

2002-05-14 Thread Vitor
Hello Folks, Does anybody tried to embed mod_perl and apache inside an windows application ? Thanks, Vitor

Re: automatic redirect to https

2002-05-14 Thread Geoffrey Young
Aaron J Mackey wrote: > Yes: simply because I want to be able to install the software at new > sites with minimal httpd.conf twiddling (and the user has a configuration > file in which they can switch on/off the SSL requirement). in that case, you probably want to check $r->subprocess_env('HT

RE: automatic redirect to https

2002-05-14 Thread Aaron J Mackey
Yes: simply because I want to be able to install the software at new sites with minimal httpd.conf twiddling (and the user has a configuration file in which they can switch on/off the SSL requirement). Thanks for the easier answer though - it should probably be the first answer in the FAQ (is th

Re: Memory usage option in Apache::Status

2002-05-14 Thread victor
> ok, next trace to the offending code. Put in your startup.pl: > > use Carp; > $SIG{__DIE__} = \&Carp::confess; > > hopefully nobody redefines $SIG{__DIE__} ok, this is what I get in the error log [Tue May 14 10:38:19 2002] [error] Can't call method "size" on unblessed reference at /usr/l

RE: mod_perl2: nmake test crashes apache

2002-05-14 Thread Alessandro Forghieri
Greetings. A few updates... i) modperl-2.0_20020514042137.tar.gz Now tests cleanly on: WinNT SP6/MSDEV 6 SP3/AS perl 5.6.1 b630/httpd-2.0_20020506161223.tar.gz ii) It does however crash on my testbed app (which runs as standard CGI, FastCGI and moperl1). The crash itself appears to happe

Re: Memory usage option in Apache::Status

2002-05-14 Thread Stas Bekman
[EMAIL PROTECTED] wrote: >>[EMAIL PROTECTED] wrote: >> >>>Hope someone can give me a hand on this, I am having some problem using >>>the Memory Usage option in the main menu of Apache::Status. >>> >>>It always return me a 500 with the following error. >>> >>>[Tue May 14 08:48:21 2002] [error] Can'

Re: MLDBM Tie Errors

2002-05-14 Thread Franck PORCHER
Well, I'm not 100% sure, but I recently switched for MLDBM and got this problem too. Here is what I found, and did to remedy the situation : It *seemed* to me that the physical MLDBM repository was not physically created until I actually wrote something into it, eventhough it was reported as corr

Re: Memory usage option in Apache::Status

2002-05-14 Thread victor
> > [EMAIL PROTECTED] wrote: > > Hope someone can give me a hand on this, I am having some problem using > > the Memory Usage option in the main menu of Apache::Status. > > > > It always return me a 500 with the following error. > > > > [Tue May 14 08:48:21 2002] [error] Can't call method "size"

Re: Memory usage option in Apache::Status

2002-05-14 Thread Stas Bekman
[EMAIL PROTECTED] wrote: > Hope someone can give me a hand on this, I am having some problem using > the Memory Usage option in the main menu of Apache::Status. > > It always return me a 500 with the following error. > > [Tue May 14 08:48:21 2002] [error] Can't call method "size" on unblessed

Re: unable to use method type handlers?

2002-05-14 Thread victor
Try per load the class my::class via startup.pl or PerlModule Tor. Jeff AA wrote: > > Whenever I try to set up a method type handler > > PerlHandler my::classes->mymethod > > I get the following in the error log: > > Undefined subroutine &my::classes->mymethod::handler called. > > usin

unable to use method type handlers?

2002-05-14 Thread Jeff AA
Whenever I try to set up a method type handler PerlHandler my::classes->mymethod I get the following in the error log: Undefined subroutine &my::classes->mymethod::handler called. using: Apache/1.3.23 (Unix) Debian GNU/Linux mod_perl/1.26 mod_ssl/2.8.7 OpenSSL/0.9.6c any hints would

Memory usage option in Apache::Status

2002-05-14 Thread victor
Hope someone can give me a hand on this, I am having some problem using the Memory Usage option in the main menu of Apache::Status. It always return me a 500 with the following error. [Tue May 14 08:48:21 2002] [error] Can't call method "size" on unblessed reference at /usr/lib/perl5/site_perl

Re: $r->args vs $r->content

2002-05-14 Thread Issac Goldstand
Quoting Mike Melillo <[EMAIL PROTECTED]>: > > Hi, > > One of the fields is an image file that will be uploaded so I need to > use POST requests. Is this a job for Apache::Request? The eagle book > doesn't cover it much because it was "experimental" at the time of > publishing. > There's a v

RE: mod_perl: User Authentication recommendations requested

2002-05-14 Thread Jeff Armstrong
And then he reads on p360 that there are tantalising recipes in chapter 13... I would still appreciate the lists thoughts and experience. -Original Message- From: Jeff AA [mailto:[EMAIL PROTECTED]] Sent: 14 May 2002 09:07 To: [EMAIL PROTECTED] Subject: mod_perl: User Authentication reco

mod_perl: User Authentication recommendations requested

2002-05-14 Thread Jeff AA
I have a requirement to protect all pages on a website, and to only allow in users with a valid user id, password, client certificate and recognised IP. I know this is asking a lot, but I would appreciate an overview/recommendation of approaches that are 1st safe, and 2nd fast. I think somethin

Re: Moving from CGI to mod_perl

2002-05-14 Thread Anton Permyakov
Thank you, Stas. It's really good place to learn about mod_perl. Good luck, Anton - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Anton Permyakov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 1:17 PM Subject: Re: Moving from CGI to mod_perl

Re: Moving from CGI to mod_perl

2002-05-14 Thread Stas Bekman
[Please make sure to post follow-ups to the list! Thanks!] Anton Permyakov wrote: > Hi, all. > > I have perl CGI-script, and i wanna run it as mod_perl script. > > Is it enought to correctly edit only httpd.conf, or i've to add something > special in my CGI-script? Maybe something like > > use