Hello, folks.
Could anybody explain me how can I specify apache hooks in the module?
In the other words, I want to do exactly what described here:
http://perl.apache.org/~dougm/modperl_2.0.html#new%20hook%20scheme
Although it's unclear for me what I should use() to use Apache::Hook.
-- yuriy
Hi Stas -
...look at the error log...
For the first test, which my logger reported:
::1 [Wed Dec 4 19:58:13 2002] / 404 266
::1 [Wed Dec 4 19:58:24 2002] /index.html 403 280
::1 [Wed Dec 4 19:58:45 2002] /perl/rocks.html 200 29
The error log reported:
[Wed Dec 04 19:58:13 2002] [error]
I am already using two BDCs and no PDC. The first BDC in the list is said
to be the fastest one we have.
In httpd.conf I configured 9 NT-Domains, most of which are resource
domains. The account domain most of the users, including me, are in is the
first domain listed.
Frank
-
Yuriy Syrota wrote:
Hello, folks.
Could anybody explain me how can I specify apache hooks in the module?
In the other words, I want to do exactly what described here:
http://perl.apache.org/~dougm/modperl_2.0.html#new%20hook%20scheme
Although it's unclear for me what I should use() to use
Beau E. Cox wrote:
Hi Stas -
...look at the error log...
For the first test, which my logger reported:
::1 [Wed Dec 4 19:58:13 2002] / 404 266
::1 [Wed Dec 4 19:58:24 2002] /index.html 403 280
::1 [Wed Dec 4 19:58:45 2002] /perl/rocks.html 200 29
The error log reported:
[Wed Dec 04
David Wheeler wrote:
All,
I will be the featured guest for an hour on the nationally syndicated
talk radio show Online Tonight this evening at 8 pm PST (11 pm EST).
Host David Lawrence and I be discussing Bricolage, its history, and
content management in general. This is my first time on the
Hi -
I'm trying to get mason running under mod_perl 2,
but this is a mod_perl question. I need to have the
following set:
PerlSetVar MasonArgsMethod CGI
When I configure mason in httpd.conf w/o a startup handler,
everything is fine.
With a handler, even with the PerlSetVar before the
Stas -
I finally found what was happening; the startup script
(which I miscalled a 'handler') invoked by a 'PerlRequire'
directive in httpd.conf creates, among other things, a
HTML::Mason::ApacheHandler object. One of the arguments
to it's new constructor is 'args_method', which, when
set to
On Wed, Dec 04, 2002 at 11:37:20AM +0200 /me wrote:
I am having trouble setting different Perl*Handler's for two different
VirtualHosts. The virtual hosts use one IP and are name-based.
[... details skipped ...]
It works. It was me that's wrong. PerlFixupHandlers work just as
expected with
Hello all,
I have problems connecting to an oracle db using mod_perl but cant figure
out where the problem is. The script works fine from the bash but not
through perl::registry. The script only sets the environment variables and
then tries a connect.
Any suggestions please? If you need
Hsiao, Chang-Ping wrote:
p.s. Geoff, we need a short acronym for your book so it's
easy to refer
to it, (a new eagle), I've called it RW (RedWhite), if you have a
better idea, please suggest.
Right, an animal is much easier to remember. Wish it had one on its
cover like books from
At
http://perl.apache.org/docs/1.0/guide/getwet.html#Installing_mod_perl_for_Window
it says:
we recommend that mod_perl on Windows be used only for testing
purposes, not in production
Does this apply to mod_perl 1.0 only, or to 2.0 as well? If both, is it
likely to change anytime soon?
(I
Hello,
Is there some way to set mod_rewrite rules in a Perl/Perl section in the
apache configuration?
Thanks,
Z.
The warning applies to mod_perl 1.x. The reason is that mod_perl 1.0 is
single-threaded. In a UNIX environment, Apache (1.x) forks many child
processes to handle requests which each have their own embedded Perl
interpreter. In Win32, Apache has many threads to handle requests which all
share a
On Wednesday, December 4, 2002, at 06:14 PM, Stas Bekman wrote:
Think of 2.0 as 1.0 on mushrooms.
I need to give some thought as to how I can include quote gems like
this in my sig. For now, though, I'll leave it to Schwern.
David
--
David Wheeler AIM:
When running under mp2, I don't seem to get any warnings to the Apache log
regardless of what I do.
I haveread that mod_perl 1.0 ate these warnings, and that you could use the
Apache::LogSTDERR module to work around this. However, I haven't had
any success trying to build Apache::LogSTDERR
I'm getting a lot of strange errors when trying to run my scripts under mp2.
Things like:
[Thu Dec 05 15:10:33 2002] [error] 1188: ModPerl::Registry: Goto undefined
subroutine Carp::longmess_heavy at D:/Program Files/Perl/lib/Carp.pm line
98.
and this is common:
[Thu Dec 05
Hello,
This is a question about the correct use of set_handlers request
method.
I have some handlers stacked by the first one content handler;
one of them processing the request needs to redirect and then close
the HTTP response with a HTTP_MOVED_PERMANENTLY;
so I thought that the following
Hello,
This is a question about the correct use of set_handlers request
method.
I have some handlers stacked by the first one content handler;
one of them processing the request needs to redirect and then close
the HTTP response with a HTTP_MOVED_PERMANENTLY;
so I thought that the following
Hi.
I have just installed and compiled perl 5.6.1, compiled Apache
2.0.43 (with ssl support), and tried to get mod_perl 1.99_07-dev to
work.
mod_perl compiles, but when I run make test all tests fail.
Below is the first bit of output from the t/logs/error_log
I have looked on the
Stas Bekman [EMAIL PROTECTED] writes:
Marcin Kasperski wrote:
[...]
It seems to me, they had problem with the '-Wl,-rpath' issue which I
found to be minor and easily patched (by the way: maybe someone would
want to correct it in distribution?).
I wasn't following that thread, but if
Fabian Kreitner [EMAIL PROTECTED] writes:
Hello all,
I have problems connecting to an oracle db using mod_perl but cant
figure out where the problem is. The script works fine from the bash
but not through perl::registry. The script only sets the environment
variables and then tries a
The problem is that the
-Wl,-rpath,/tools/perl/lib/5.6.1/alpha-dec_osf/CORE
option (which, by the way, is returned by
perl -V:ccdlflags
when perl is compiled with -Duseshrplib) is not an option for 'ld' but
for 'cc'. In fact it means 'dear cc, be so kind and pass to ld
the
The results are exactly the same: link succeeded,
PL_perl_destruct_level is unresolved while running apache.
I found the workaround to avoid this effect: slightly patching apache
build procedure so that the httpd binary is linked with perl
libperl.so helped. The error disappears... now I get
maybe its failing becuase it needs the module TestHooks::Trans. Try
installing that perl module (you most likely don't have it since you have a
clean perl 5.6.1 installation) and then run the tests again. I'm only half
sure about this.
-rian
From: Richard Curtis [EMAIL PROTECTED]
To:
Hi -
I can't get cookies to work on AP/MP 2. Even in
compat mode. I'm not sure if this is a mod_perl,
apache, or a my stupidity question, but I'm posting it here
anyway.
I've searched the archives, CPAN, etc. and can't seem
to find the issue addressed. If I'm asking an already
answered question,
On Thu, 5 Dec 2002, Beau E. Cox wrote:
Hi -
I can't get cookies to work on AP/MP 2. Even in
compat mode. I'm not sure if this is a mod_perl,
apache, or a my stupidity question, but I'm posting it here
anyway.
Are you trying a module, or a home-grown solution?
--
best regards,
randy
Marcin Kasperski [EMAIL PROTECTED] writes:
The results are exactly the same: link succeeded,
PL_perl_destruct_level is unresolved while running apache.
I found the workaround to avoid this effect: slightly patching apache
build procedure so that the httpd binary is linked with perl
Hi Randy -
Sorry, I should have been more explicit. I am
trying to use Apache::Cookie. My Apache2 startup
script looks something like:
...
use Apache2 ();
use lib qw(/srv/www/perl);
use Apache::compat ();
use ModPerl::Util (); #for CORE::GLOBAL::exit
Marcin Kasperski wrote:
Fabian Kreitner [EMAIL PROTECTED] writes:
Hello all,
I have problems connecting to an oracle db using mod_perl but cant
figure out where the problem is. The script works fine from the bash
but not through perl::registry. The script only sets the environment
variables
David Wheeler wrote:
On Thursday, December 5, 2002, at 12:46 AM, Stas Bekman wrote:
Care to share with us how was the show? And how much mod_perl talk was
in it?
I certainly mentioned how important Perl, mod_perl, Apache, Mason, and
PostgreSQL are to the success of the project. The show
Hi -
I went through test failures (but not all) recently.
With Stas's help, here's what I did:
Downloaded the CVS source - Stas made a chage that
ficed my problems. See the 2.0 docs for how-to.
If you did this under root, chown -R user:group mod_perl-2.0
where user:group is a normal user
On Thursday, December 5, 2002, at 05:48 PM, Stas Bekman wrote:
When you get the mp3, please send us a link, so we can link to it from
perl.apache.org! Thanks.
Will do.
David
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED]
Beau E. Cox wrote:
Hi Randy -
Sorry, I should have been more explicit. I am
trying to use Apache::Cookie.
AFAIK, Apache::Cookie won't work under mp2, because Apache::Request
wasn't ported yet. Trying using CGI::Cookie for now, as it has the same
API and implemented in pure perl.
Notice that
Hi Stas -
OK! Will do.
Aloha = Beau.
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 4:07 PM
To: Beau E. Cox
Cc: Randy Kobes; Modperl
Subject: Re: [mp2]Cookies?
Beau E. Cox wrote:
Hi Randy -
Sorry, I should have been more explicit.
I had bemoaned:
I'm getting a lot of strange errors when trying to run my scripts under mp2.
Are there any known problems with mp2 that might cause this kind of behaviour?
I'm running Apache 2.0.43 with mod_perl 1.99_08 (the latest 2.0 version I
believe) with ActivePerl 5.6.1 on a Win2K
Hi:
I installed Apache in Linux Mandrake, Mod perl seems to be installed
according the rpm.
Now i installed the ASP module but i get the message that the Module
Apache:: ASP does not exist.
Somebody would knows how to solve this?
Thank you in advance for your help
Carlos Kassab
Carlos Kassab wrote:
Hi:
I installed Apache in Linux Mandrake, Mod perl seems to be installed
according the rpm.
Now i installed the ASP module but i get the message that the Module
Apache:: ASP does not exist.
Somebody would knows how to solve this?
Thank you in advance for your help
Do
Does anyone know what the default values are (that is, if you don't specify
them) for the PerlInterpX directives? I can't find this info anywhere in the
docs...
PerlInterpStart
PerlInterpMax
PerlInterpMinSpare
PerlInterpMaxSpare
PerlInterpMaxRequests
PerlInterpScope
Thanks!
Andrzej
Andrzej Jan Taramina wrote:
Does anyone know what the default values are (that is, if you don't specify
them) for the PerlInterpX directives? I can't find this info anywhere in the
docs...
PerlInterpStart
PerlInterpMax
PerlInterpMinSpare
PerlInterpMaxSpare
PerlInterpMaxRequests
40 matches
Mail list logo