cvs commit: modperl-2.0/src/modules/perl modperl_callback.c

2003-01-28 Thread stas
stas2003/01/28 17:04:34 Modified:.Changes src/modules/perl modperl_callback.c Added: t/hooks stacked_handlers.t t/hooks/TestHooks stacked_handlers.pm Log: Stacked handlers chain execution is now aborted when a handler returns

cvs commit: modperl-2.0/t/hooks/TestHooks push_handlers.pm

2003-01-28 Thread stas
stas2003/01/28 17:25:46 Added: t/hooks push_handlers.t t/hooks/TestHooks push_handlers.pm Log: - add a test to exercise push_handlers in different ways - prepare for supporting anon handlers Revision ChangesPath 1.1

cvs commit: modperl-2.0/t/hooks/TestHooks push_handlers.pm

2003-01-28 Thread stas
stas2003/01/28 17:33:17 Modified:t/hooks push_handlers.t t/hooks/TestHooks push_handlers.pm Log: mix in the handlers configured from httpd.conf Revision ChangesPath 1.2 +2 -1 modperl-2.0/t/hooks/push_handlers.t Index: push_handlers.t

cvs commit: modperl-2.0/t/hooks/TestHooks push_handlers.pm stacked_handlers.pm

2003-01-28 Thread stas
stas2003/01/28 18:36:25 Modified:t/hooks/TestHooks push_handlers.pm stacked_handlers.pm Log: add the missing Apache::ServerUtil Revision ChangesPath 1.3 +1 -0 modperl-2.0/t/hooks/TestHooks/push_handlers.pm Index: push_handlers.pm

Re: do as temp solution for require problem ?

2003-01-28 Thread [EMAIL PROTECTED]
Hi, I am using: mod_perl/1.26 Now I tried to include subroutines from an external .pl file with require. This I got from: http://perl.apache.org/docs/1.0/guide/porting.html#The_First_Mystery For example if we move the code from the script into the subroutine run, place the subroutines

Re: ap_unescape_url can't escape %uXXXX

2003-01-28 Thread IKEBE Tomohiro
I have written a little patch for libapreq which unescape the %u style URI-escaped string. the unescape algorithm is based on CGI.pm At Fri, 29 Nov 2002 06:55:54 +0900, Tatsuhiko Miyagawa wrote: It seems that Apache's ap_unescape_url() can't handle %u style URI-escaped Unicode

Re[2]: ap_unescape_url can't escape %uXXXX

2003-01-28 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi IKEBE, On Tuesday, January 28, 2003 at 1:32:43 PM, you wrote: IT I have written a little patch for libapreq which unescape IT the %u style URI-escaped string. IT the unescape algorithm is based on CGI.pm Any idea if/when that'll be

Stacked Handlers Execution Chain

2003-01-28 Thread Helmut Zeilinger
Hi, i am using mod_perl 1.99_08. I have two mod_perl handlers: ... PerlResponseHandler Test::handler0 Test::handler1 ... How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED, FORBIDDEN, 404) the handler1 is still executed.

Re: do as temp solution for require problem ?

2003-01-28 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: This is working fine although a mysql database connection in a subroutine in an external file doesn't always work. Please explain. It shouldn't ne a problem to run code that makes a database connection in a separate module. - Perrin

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Geoffrey Young
Helmut Zeilinger wrote: Hi, i am using mod_perl 1.99_08. I have two mod_perl handlers: ... PerlResponseHandler Test::handler0 Test::handler1 ... How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED, FORBIDDEN, 404) the

Re: do as temp solution for require problem ?

2003-01-28 Thread Randal L. Schwartz
mail@adventureforum == mail@adventureforum net [EMAIL PROTECTED] writes: mail@adventureforum I am using: mod_perl/1.26 mail@adventureforum Now I tried to include subroutines from an external .pl file with mail@adventureforum require. This smells a bit like you're using Apache::Registry (you

Newbie Q on Apache::Include

2003-01-28 Thread perl
Hi, Can someone direct me to a good tutorial for Apache::Include? Rgds

Re: do as temp solution for require problem ?

2003-01-28 Thread [EMAIL PROTECTED]
Hi, Yes, I am using Apache::Registry; how did you know that? ;-) In fact I am trying to change the CGI-Perl pages of http://www.deweertsport.be to mod_perl. As I was used to work with include files in PHP, I sort continued this way of making pages in Perl-CGI. If you look at the previous

Re: Newbie Q on Apache::Include

2003-01-28 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: Can someone direct me to a good tutorial for Apache::Include? What are you trying to do? All it does is add one extra directive to mod_include, allowing you to call a Perl script in-line. If that script is run under Apache::Registry, you don't even need to do that;

Installation help

2003-01-28 Thread Blankenship, Scott R
I'm on SunOS 5.6 (Solaris 2.6) I've installed perl 5.8.0 in own test area (not in /usr/local/...) Here's a link to the log of my installation efforts: http://home.earthlink.net/~sblanky/log.html Basically, I extract mod_perl 1.27, and apache 1.3.1, go through the mod_perl isntallation, it adds

Re: do as temp solution for require problem ?

2003-01-28 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: If you look at the previous mentioned site, you can see there is only one file, but it contains a lot of includes. - a random function for the banners on top - a file for the navigation on the left which includes a file for the date and a file for the counter (mysql

Re: Newbie Q on Apache::Include

2003-01-28 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: My personal web site has both static and dynamic files. The static files have a kind a look template maintained by using XSSI. For the dynamic files I wanted to somehow be able to do the same thing using the same files so that I don't need to maintain 2 sets of files.

RE: do as temp solution for require problem ?

2003-01-28 Thread Justin Luster
When a Perl script runs under Mod_Perl the current working directory is no longer the location of the Perl script (I think it is where Apache.exe is). So when you require an additional file it does not look in the same directory as your original script for the file. One alternative that has been

Re: Installation help

2003-01-28 Thread Ged Haywood
Hi there, On Tue, 28 Jan 2003, Blankenship, Scott R wrote: Basically, I extract mod_perl 1.27, and apache 1.3.1 [snip] What am I doing wrong? Are you sure you want to use Apache 1.3.1? I'm using 1.3.27 for new builds... 73, Ged.

Re: do as temp solution for require problem ?

2003-01-28 Thread Randal L. Schwartz
Justin == Justin Luster [EMAIL PROTECTED] writes: Justin When a Perl script runs under Mod_Perl the current working directory is Justin no longer the location of the Perl script (I think it is where Justin Apache.exe is). So when you require an additional file it does not look Justin in the

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Stas Bekman
Geoffrey Young wrote: Helmut Zeilinger wrote: Hi, i am using mod_perl 1.99_08. I have two mod_perl handlers: ... PerlResponseHandler Test::handler0 Test::handler1 ... How can i brake the execution chain between handler0 and handler1? Whatever i try as handler0 return value (OK, DECLINED,

RE: Installation help

2003-01-28 Thread Blankenship, Scott R
thanks. I downloaded 1.3.27... Still can't get it to install mod_perl into apache... -Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:39 PM To: Blankenship, Scott R Cc: '[EMAIL PROTECTED]' Subject: Re: Installation help Hi there, On

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Stas Bekman
Try again with the current cvs. You can look at the test t/hooks/TestHooks/stacked_handlers.pm which aborts the execution chain when Apache::DONE is returned. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Geoffrey Young
First of all let's clear up the 1.0 side: Quoting the eagle book: The exception to this rule [all handlers will run] is if one of the handlers in the series returns an error code (anything other than OK, DECLINED, or DONE) Though the code does *not* check for DONE: mod_perl.c:1375

RE: Installation help

2003-01-28 Thread Blankenship, Scott R
I should be more specific: blankesr@oh01ux02 Tue 28 5:34pm:~/www/apache/binhttpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c

[ANNOUNCE] libapreq-1.1 is out

2003-01-28 Thread Joe Schaefer
libapreq-1.1 is now available on CPAN, and also through the Apache website at http://www.apache.org/dist/httpd/libapreq/libapreq-1.1.tar.gz -- Joe Schaefer

Re: Stacked Handlers Execution Chain

2003-01-28 Thread Stas Bekman
Geoffrey Young wrote: First of all let's clear up the 1.0 side: Quoting the eagle book: The exception to this rule [all handlers will run] is if one of the handlers in the series returns an error code (anything other than OK, DECLINED, or DONE) Though the code does *not* check for

Re: Installation help

2003-01-28 Thread Stas Bekman
Blankenship, Scott R wrote: I'm on SunOS 5.6 (Solaris 2.6) I've installed perl 5.8.0 in own test area (not in /usr/local/...) Here's a link to the log of my installation efforts: http://home.earthlink.net/~sblanky/log.html Basically, I extract mod_perl 1.27, and apache 1.3.1, go through the

Re: do as temp solution for require problem ?

2003-01-28 Thread Stas Bekman
Justin Luster wrote: When a Perl script runs under Mod_Perl the current working directory is no longer the location of the Perl script (I think it is where Apache.exe is). You are talking about 2.0 here. And it should change to normal by the time its released. This issue is irrelevant to the

mod_perl and current directory (was Re: Newbie Q on Apache::Include)

2003-01-28 Thread perl
You can do this. Technically I think you can POST to a file, but you don't need to. You can do this lots of ways, including post-processing the output of a CGI script with a module like CGI::SSI. What I Tks that way worked except for the #config sizefmt of mod_include would suggest is

Re: mod_perl and current directory (was Re: Newbie Q on Apache::Include)

2003-01-28 Thread Stas Bekman
[...] Is it true what was said in one of the other threads -with mod_perl (Apache 1.3.27) the current working directory is different from the dir where the script lies? [...] As I've followed up (because I knew that that particular post will create confusion), it *is* the script's dir for

Re: glitched install of mod_perl (1.99.08)

2003-01-28 Thread Stas Bekman
Stephen Clouse wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jan 27, 2003 at 06:25:26PM +1100, Stas Bekman wrote: Hmm, you have perl 5.8.0. How is it possible that you don't have CGI.pm, which is a part of the core? It's probably a perl installed from a vendor-supplied

Re: mod_perl and current directory (was Re: Newbie Q on Apache::Include)

2003-01-28 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: Tks that way worked except for the #config sizefmt of mod_include That should work fine. What's broken with it? From the documentation of the Apache::Include I couldn't make out whether it handled other features like set which I am using. It does not implement

Re: mod_perl and current directory (was Re: Newbie Q on Apache::Include)

2003-01-28 Thread perl
At 06:54 PM 1/28/2003, Perrin Harkins wrote: [EMAIL PROTECTED] wrote: Tks that way worked except for the #config sizefmt of mod_include That should work fine. What's broken with it? (Frankly I'm so eagar to not just get my feet wet in mod_perl (just started on it today), but drown in it I

libgtop gone?

2003-01-28 Thread Perrin Harkins
I pointed someone at some mod_perl documentation that suggested installing GTop to measure shared memory, but he was unable to find libgtop for download at the URL in that module. I investigated and I don't see it anywhere! Is libgtop gone? Did it get replaced with something else? Any

Re: mod_perl and current directory (was Re: Newbie Q on Apache::Include)

2003-01-28 Thread Perrin Harkins
[EMAIL PROTECTED] wrote: !--#config sizefmt=Mb -- works with mod_include Got a [an error occurred while processing this directive] (well actually the errmsg that I had set) with CGI::SSI. As I said I didn't really follow-up to see if this is a prob. Oh, sorry, I missed the part about

Re: libgtop gone?

2003-01-28 Thread Stas Bekman
Perrin Harkins wrote: I pointed someone at some mod_perl documentation that suggested installing GTop to measure shared memory, but he was unable to find libgtop for download at the URL in that module. I investigated and I don't see it anywhere! Is libgtop gone? Did it get replaced with

Re: libgtop gone?

2003-01-28 Thread Perrin Harkins
Stas Bekman wrote: It's integrated into the gnome project and doesn't really exist as a standalone thing. At least I couldn't find it. When you install the gnome desktop, you get libgtop as well. So if you are on linux, simply check your distro for this package. e.g. use:

Re: libgtop gone?

2003-01-28 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: It's integrated into the gnome project and doesn't really exist as a standalone thing. At least I couldn't find it. When you install the gnome desktop, you get libgtop as well. So if you are on linux, simply check your distro for this package. e.g.

Re: libgtop gone?

2003-01-28 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jan 29, 2003 at 12:44:37AM -0500, Perrin Harkins wrote: This guy was on HPUX, and he just wanted source to this one library. It used to be available separately. I guess it's not a simple thing to do at this point if you don't want gnome