Apache::Hook

2002-12-05 Thread Yuriy Syrota
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

RE: [mp2] LogHandler configuration problems

2002-12-05 Thread Beau E. Cox
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]

Re: ANNOUNCE: Apache::AuthenNTLM 0.23

2002-12-05 Thread Frank . Zimper
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 -

Re: Apache::Hook

2002-12-05 Thread Stas Bekman
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

Re: [mp2] LogHandler configuration problems

2002-12-05 Thread Stas Bekman
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

Re: Online Tonight

2002-12-05 Thread Stas Bekman
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

[mp2] doing PerlSetVar from a startup handler

2002-12-05 Thread Beau E. Cox
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

RE: [mp2] doing PerlSetVar from a startup handler

2002-12-05 Thread Beau E. Cox
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

Re: Different handlers in different NameVirtualHosts?

2002-12-05 Thread Damyan Ivanov
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

apache2 + mod_perl2 + dbd::oracle

2002-12-05 Thread Fabian Kreitner
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

Re: [mp2] Documentation/LogHandler question

2002-12-05 Thread Geoffrey Young
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

win32 testing only?

2002-12-05 Thread Jon Reinsch
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

mod_perl + mod_rewrite

2002-12-05 Thread P. Zadikian
Hello, Is there some way to set mod_rewrite rules in a Perl/Perl section in the apache configuration? Thanks, Z.

Re: win32 testing only?

2002-12-05 Thread Kyle Oppenheim
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

Re: [mp2] Documentation/LogHandler question

2002-12-05 Thread David Wheeler
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:

[mp2] Warnings not showing in Apache log?

2002-12-05 Thread Andrzej Jan Taramina
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

[mp2] Stability under Windows?

2002-12-05 Thread Andrzej Jan Taramina
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

segfault after HTTP_MOVED_* and set_handlers()

2002-12-05 Thread Stefano
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

segfault after HTTP_MOVED_* and set_handlers()

2002-12-05 Thread Stefano
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

All tests fail with Apache/2.0.43 (Unix) mod_perl/1.99_07-dev

2002-12-05 Thread Richard Curtis
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

Re: [mp1] Still can not get working DSO configuration on Tru64

2002-12-05 Thread Marcin Kasperski
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

Re: apache2 + mod_perl2 + dbd::oracle

2002-12-05 Thread Marcin Kasperski
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

Re: [mp1] Still can not get working DSO configuration on Tru64

2002-12-05 Thread Marcin Kasperski
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

Re: [mp1] Still can not get working DSO configuration on Tru64

2002-12-05 Thread Marcin Kasperski
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

Re: All tests fail with Apache/2.0.43 (Unix) mod_perl/1.99_07-dev

2002-12-05 Thread yo _
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:

[mp2]Cookies?

2002-12-05 Thread Beau E. Cox
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,

Re: [mp2]Cookies?

2002-12-05 Thread Randy Kobes
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

Re: [mp1] Still can not get working DSO configuration on Tru64

2002-12-05 Thread Marcin Kasperski
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

RE: [mp2]Cookies?

2002-12-05 Thread Beau E. Cox
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

Re: apache2 + mod_perl2 + dbd::oracle

2002-12-05 Thread Stas Bekman
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

Re: Online Tonight

2002-12-05 Thread Stas Bekman
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

RE: All tests fail with Apache/2.0.43 (Unix) mod_perl/1.99_07-dev

2002-12-05 Thread Beau E. Cox
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

Re: Online Tonight

2002-12-05 Thread David Wheeler
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]

Re: [mp2]Cookies?

2002-12-05 Thread Stas Bekman
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

RE: [mp2]Cookies?

2002-12-05 Thread Beau E. Cox
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.

[mp2] Stability under Windows - Resolved!

2002-12-05 Thread Andrzej Jan Taramina
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

Mod Perl in Linux Mandrake

2002-12-05 Thread Carlos Kassab
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

Re: Mod Perl in Linux Mandrake

2002-12-05 Thread Stas Bekman
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

[mp2] default values for PerlInterp directives?

2002-12-05 Thread Andrzej Jan Taramina
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

Re: [mp2] default values for PerlInterp directives?

2002-12-05 Thread Stas Bekman
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