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
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
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
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
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
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
-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
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.
[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
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
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
Hi,
Can someone direct me to a good tutorial for Apache::Include?
Rgds
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
[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;
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
[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
[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.
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
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.
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
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,
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
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
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
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
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
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
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
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
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
[...]
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
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
[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
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
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
[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
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
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:
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.
-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
40 matches
Mail list logo