cvs commit: modperl-2.0/ModPerl-Registry/t special_blocks.t

2002-05-14 Thread stas
stas02/05/14 08:47:12 Modified:ModPerl-Registry/t/cgi-bin special_blocks.pl ModPerl-Registry/t special_blocks.t Log: - use Apache::RequestRec - move away from Apache::compat, meaning $r-args is a string Revision ChangesPath 1.3 +3 -3

cvs commit: modperl-2.0/ModPerl-Registry/t/cgi-bin require.pl

2002-05-14 Thread stas
stas02/05/14 08:53:05 Modified:ModPerl-Registry/t/cgi-bin require.pl Log: this test is temporary becoming TODO, need to solve the require() relative to the script's dir problem. Revision ChangesPath 1.2 +6 -4

cvs commit: modperl-2.0/ModPerl-Registry/t/conf extra.conf.in

2002-05-14 Thread stas
stas02/05/14 08:55:21 Modified:ModPerl-Registry/t/conf extra.conf.in Log: - must define the INC changes in one touch, or the order becoming reversed, and that's not what we want. - use Apache2 (to cover the case where Apache2/ prefix is needed) Revision Changes

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

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 [Please

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

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: 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 on unblessed

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

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

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 version 1.0

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

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. using:

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't call method size on

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

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

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

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

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

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

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: 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 returned HTML

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: 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

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 remember

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 memory is a

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

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 Location 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

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

2002-05-14 Thread Tim Burden
Try Location /yadda-yadda SetHandler default-handler /Location - 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

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

2002-05-14 Thread Erchinger, Ethan
Try Location /yadda-yadda SetHandler default-handler /Location 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

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 Location /yadda-yadda SetHandler default-handler /Location 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

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 Location / SetHandler perl-script PerlHandler HTML::Mason /Location /Location /yadda-yadda SetHandler default-handler /Location Regards, Tim Tompkins -- Programmer

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: 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. We

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 and

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 doesn't work,

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 Location / SetHandler perl-script PerlHandler HTML::Mason /Location /Location /yadda-yadda

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 is

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

$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. form method=post ENCTYPE=multipart/form-data action=/join input type=hidden name=action value=submit

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

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 looks

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

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,

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: 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-devm=101805692511019w=2 http://marc.theaimsgroup.com/?l=apache-httpd-devm=101810478231242w=2 and

cvs commit: modperl STATUS

2002-05-14 Thread geoff
geoff 02/05/14 04:50:49 Modified:.STATUS Log: added Apache::Status enhancement request (forwarded from Stas) Revision ChangesPath 1.17 +9 -1 modperl/STATUS Index: STATUS === RCS

cvs commit: modperl STATUS

2002-05-14 Thread geoff
geoff 02/05/14 11:05:34 Modified:.STATUS Log: more bug reports via stas... Revision ChangesPath 1.18 +10 -1 modperl/STATUS Index: STATUS === RCS file: /home/cvs/modperl/STATUS,v

cvs commit: modperl/src/modules/perl perl_util.c

2002-05-14 Thread dougm
dougm 02/05/14 19:08:16 Modified:src/modules/perl perl_util.c Log: reverting fix taint issue with bleedperl change as it was not the right fix Revision ChangesPath 1.49 +0 -1 modperl/src/modules/perl/perl_util.c Index: perl_util.c