cvs commit: modperl-2.0/lib/ModPerl BuildOptions.pm

2003-02-20 Thread randyk
randyk 2003/02/19 21:19:14 Modified:lib/ModPerl BuildOptions.pm Log: Reviewed by: stas Revision ChangesPath 1.17 +7 -0 modperl-2.0/lib/ModPerl/BuildOptions.pm Index: BuildOptions.pm ===

RE: HELP - Problem installing modperl

2003-02-20 Thread Pablo Jejcic
I rebuild PERL and when I use perl -V I can see -KPIC but when I try to make mod_perl I receive the same error Any other thoughts??? Thanks in advance and Thank you very much for your time.- Kind Regards. _ Pablo Jejcic Smartweb Senior system Administrator School of

[mp2] porting tip - must return OK from content-handlers

2003-02-20 Thread Nick Tonkin
I had some handlers that did not explicitly return OK -- just printed the coontent and quit. In apache1/mp1 this 'worked' fine. After migrating to apache2/mp2 these handlers delivered the content to the browser but then printed a 500 error message to the browser but _not_ to the error log. Just

[mp2] porting tip - DefaultType text/html

2003-02-20 Thread Nick Tonkin
As the docs say $r-send_http_header is deprecated because it is unneeded in mp2 ... but $r-content_type must be set. DefaultType is set by default to text/plain in httpd.conf, so browsers that strictly apply content_type (eg Opera 7) were showing the content as HTML source. I had several

Apache::TicketAccess

2003-02-20 Thread Scott Alexander
Hi, I'm trying to use the example from the Eagle book on page 309 - 314 using the TicketAccess, TicketMaster, TicketTool handlers. In TicketMaster in sub go_to_uri it sets the a cookie with the $ticket. I can print $ticket to error log to see what it contains. But for some reason the cookie

RE: [OT?] Win32 permissions puzzler

2003-02-20 Thread Alessandro Forghieri
Greetings. I am afraid this is rapidly becoming less than relevant, however.. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] [...] You have to declare variables as globals before using them. Agreed Even the imported ones. That's a pure perl issue. Please proceed

Help installing mod_perl 1.27 and apache 1.3.27. newbiequestion.

2003-02-20 Thread Charlie Smith
I get errors on installing mod_perl/Apache 1.3.27, under the root account when running perl Makefile.PL. I'm running perl 5.8 on solaris. gcc 2.95. ### perl Makefile.PLConfigure mod_perl with ../apache_1.3.27/src ? [y]Shall I build httpd in ../apache_1.3.27/src for you? [y]sh: make: not

Re: Help installing mod_perl 1.27 and apache 1.3.27. newbie question.

2003-02-20 Thread Cory 'G' Watson
On Thursday, February 20, 2003, at 08:13 AM, Charlie Smith wrote: I get errors on installing mod_perl/Apache 1.3.27, under the root account when running perl Makefile.PL. I'm running perl 5.8 on solaris. gcc 2.95.     # # # perl Makefile.PL Configure mod_perl with ../apache_1.3.27/src ? [y]

RE: Help installing mod_perl 1.27 and apache 1.3.27. newbie question.

2003-02-20 Thread Martin Scantland
Charlie, It just seems like you need to add make in your path (sh: make: not found). Cheers, Martin Martin Scantland IP Services, Internet Engineering, Nortel Networks Phone: 613.765.4052, ESN 395.4052 -Original Message-From: Charlie Smith [mailto:[EMAIL PROTECTED]]Sent:

RE: Help installing mod_perl 1.27 and apache 1.3.27.newbiequest ion.

2003-02-20 Thread Charlie Smith
makeis in my path as seen here: PATH=/usr/bin:/usr/sbin:/opt/local/bin:/home/oracle/bin:/opt/oracle/9.0.1/bin:/usr/lbin:/usr/ccs/bin:/usr/ucb:. So, the make routine is in the /usr/ccs/bin directory. The error messages before and after the 'sh: make: not found'message are at line 581

[mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Nick Tonkin
Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28, GEN1

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Ged Haywood
On Thu, 20 Feb 2003, Nick Tonkin wrote: Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24

RE: Help installing mod_perl 1.27 and apache 1.3.27.newbiequest ion.

2003-02-20 Thread Charlie Smith
I did have to add the path to 'make'. Thankyou. I noticed that I had to start up a 'ksh' session and then add the path to 'make'. However, still have problems as seen in the 'sanity check' below. # perl Makefile.PLConfigure mod_perl with ../apache_1.3.27/src ? [y]Shall I build httpd in

Re: Apache::TicketAccess

2003-02-20 Thread Perrin Harkins
Scott Alexander wrote: I'm trying to use the example from the Eagle book on page 309 - 314 using the TicketAccess, TicketMaster, TicketTool handlers. In TicketMaster in sub go_to_uri it sets the a cookie with the $ticket. I can print $ticket to error log to see what it contains. But for some

Re: Apache::TicketAccess

2003-02-20 Thread Scott Alexander
On Thu, 20 Feb 2003, Scott Alexander wrote: If I set my browser to david:8080/login.pl then everything works okay, Cookie gets set, and my session is current until I logout. So the setup is something to do with mod_proxy on the proxy server. Is it the cookie doesn't get sent back thru the

Re: Apache::TicketAccess

2003-02-20 Thread Nick Tonkin
On Thu, 20 Feb 2003, Scott Alexander wrote: On Thu, 20 Feb 2003, Scott Alexander wrote: If I set my browser to david:8080/login.pl then everything works okay, Cookie gets set, and my session is current until I logout. So the setup is something to do with mod_proxy on the proxy server. Is

[mp1] Help with Apache::MP3

2003-02-20 Thread Wilcox, Curtis
Actually I run into the problem before I get to the Apache::MP3 part but running Apache::MP3 is the ultimate goal. The distro I'm trying is Red Hat 8.0 which includes apache 2.x.x, mod_perl 1.99 and perl 5.8.0 but Apache::MP3 requires the 1.0 mod_perl API. I tried to use the Apache::compat module

sanity check problem: Help installing mod_perl 1.27 and apache1.3.27

2003-02-20 Thread Charlie Smith
Am having problems as seen in the 'sanity check' below. Am attempting to install mod_perl 1.27 and Apache 1.3.27. I'm also running perl 5.8 on solaris. gcc 2.95. # perl Makefile.PLConfigure mod_perl with ../apache_1.3.27/src ? [y]Shall I build httpd in ../apache_1.3.27/src for you?

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Stas Bekman
Ged Haywood wrote: On Thu, 20 Feb 2003, Nick Tonkin wrote: Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28.

Help with Apache 1.3.27 + mod_perl 1.27 installation

2003-02-20 Thread Arshavir Grigorian
Hi, I was trying to build Apache 1.3.27 + mod_perl 1.27 from the mod_perl tree. Dir structure as follows: /usr/local/apache2-19 /use/local/apache2-19/build /use/local/apache2-19/build/apache_1.3.27 /use/local/apache2-19/build/mod_perl-1.27 So, following the suggestion from

Re: sanity check problem: Help installing mod_perl 1.27 and apache1.3.27

2003-02-20 Thread Ged Haywood
Hi there, On Thu, 20 Feb 2003, Charlie Smith wrote: Am having problems as seen in the 'sanity check' below. [snip] -lsocket -lnsl -lpthread -Wl -L/usr/local/lib -L/opt/local/lib /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/DynaLoader/DynaLoader.a

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Nick Tonkin
On Fri, 21 Feb 2003, Stas Bekman wrote: Ged Haywood wrote: On Thu, 20 Feb 2003, Nick Tonkin wrote: Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28.

Re: Help with Apache 1.3.27 + mod_perl 1.27 installation

2003-02-20 Thread Ged Haywood
Hi there, On Thu, 20 Feb 2003, Arshavir Grigorian wrote: I was trying to build Apache 1.3.27 + mod_perl 1.27 [snip] So, following the suggestion from http://perl.apache.org/docs/1.0/guide/install.html#APACI_ARGS that one can pass *any* arguments to the Apache ./configure through the

Re: [mp1] Help with Apache::MP3

2003-02-20 Thread Ged Haywood
On Thu, 20 Feb 2003, Wilcox, Curtis wrote: [snip,snip] tried installing apache-1.3.27 and mod_perl-1.27, following the instructions in INSTALL.simple, included in the mod_perl source. Unfortunately when I add the following to httpd.conf, the apachectl configtest segfaults: Location /Songs

FYI: Apache Modeling Portal

2003-02-20 Thread Stas Bekman
If you are interested in the Apache internals, the Apache Modeling Portal seems to be a great resourse http://apache.hpi.uni-potsdam.de/ (someone has posted the link to httpd-dev). I suppose that the most interesting part is the introduction to the Apache HTTP Server, covering both an overview

Re: Help with Apache 1.3.27 + mod_perl 1.27 installation

2003-02-20 Thread Arshavir Grigorian
Much cleaner. Thanks! I don't even get those nasty warning about barewords, etc. I still think the example in the guide should be updated. Arsh Ged Haywood wrote: Hi there, On Thu, 20 Feb 2003, Arshavir Grigorian wrote: I was trying to build Apache 1.3.27 + mod_perl 1.27 [snip]

RE: [mp1] Help with Apache::MP3

2003-02-20 Thread Wilcox, Curtis
-Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 4:30 PM To: Wilcox, Curtis Cc: [EMAIL PROTECTED] Subject: Re: [mp1] Help with Apache::MP3 On Thu, 20 Feb 2003, Wilcox, Curtis wrote: [snip,snip] tried installing apache-1.3.27

libapreq

2003-02-20 Thread David Wilde
Is there a beta version of libapreq available for Apache 2?

Re: HELP - Problem installing modperl

2003-02-20 Thread Stas Bekman
Pablo Jejcic wrote: I rebuild PERL and when I use perl -V I can see -KPIC but when I try to make mod_perl I receive the same error Any other thoughts??? How is it possible that the same compiler accepts an option for building one program, but not the other? Can you please post your 'perl

Re: [mp2] porting tip - DefaultType text/html

2003-02-20 Thread Stas Bekman
Nick Tonkin wrote: As the docs say $r-send_http_header is deprecated because it is unneeded in mp2 ... but $r-content_type must be set. Just a minor nit: $r-send_http_header is *not* deprecated, it's *gone*. Since yesterday for it's gone for real and is only available only in the back

Re: [OT?] Win32 permissions puzzler

2003-02-20 Thread Stas Bekman
Alessandro Forghieri wrote: This is a bit of a surprise the following, in fact, runs just fine: --Foo.pm-- package Foo; use strict; use warnings; require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = ( qw( $foo ) ); our @EXPORT = qw(); our $VERSION = '0.01'; our $foo=1; 1;

Re: libapreq

2003-02-20 Thread Stas Bekman
David Wilde wrote: Is there a beta version of libapreq available for Apache 2? No, but subscribe to [EMAIL PROTECTED] to stay up to date with the new developments. __ Stas BekmanJAm_pH -- Just Another mod_perl

Re: Help with Apache 1.3.27 + mod_perl 1.27 installation

2003-02-20 Thread Stas Bekman
Arshavir Grigorian wrote: Hi, I was trying to build Apache 1.3.27 + mod_perl 1.27 from the mod_perl tree. Dir structure as follows: /usr/local/apache2-19 /use/local/apache2-19/build /use/local/apache2-19/build/apache_1.3.27 /use/local/apache2-19/build/mod_perl-1.27 So, following the suggestion

Re: libapreq

2003-02-20 Thread David Wilde
Will do, thank you. On Thursday 20 February 2003 23:36, Stas Bekman wrote: David Wilde wrote: Is there a beta version of libapreq available for Apache 2? No, but subscribe to [EMAIL PROTECTED] to stay up to date with the new developments.

[mp1] Alternative for CHECK

2003-02-20 Thread David Wheeler
Hi All, I'm writing a module that will run in Apache and has important code that needs to run after all modules have loaded but before Apache forks and starts serving requests. Since mod_perl 1.x ignores CHECK and INIT blocks, and BEGIN blocks run too early for what I'm doing, I was wondering

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: Hi All, I'm writing a module that will run in Apache and has important code that needs to run after all modules have loaded but before Apache forks and starts serving requests. Since mod_perl 1.x ignores CHECK and INIT blocks, and BEGIN blocks run too early for what I'm

mp2: anyone got mp2 and apache 2.0.44 working on any version of OpenBSD?

2003-02-20 Thread Carl Brewer
Scanning both dev.modperl and here, I've found a couple of mails concerning OpenBSD and mod_perl 2 (1.99_08) with Apache 2.0.44, I've tried a few quick hacks and have been unable to get it working either, with the same error as seen on : [EMAIL

mp2: any recommendations for template systems yet?

2003-02-20 Thread Carl Brewer
Do any of you have any recommendations for template systems with mp2? Not of the religious kind (!) but more on the lines of what's working with mp2 at the moment? I'm about to port a PHP app to mod_perl and will be covering IPv6 traffic with it, so (and I want to as well :) ) will have to use

Re: [mp1] Alternative for CHECK

2003-02-20 Thread David Wheeler
On Thursday, February 20, 2003, at 07:04 PM, Stas Bekman wrote: PerlChildInitHandler? e.g. used by Apache::DBI to pre-connect to the db. Yeah, but I was looking for something pre-fork. Anything come to mind? Thanks, David -- David Wheeler AIM: dwTheory

Re: mp2: any recommendations for template systems yet?

2003-02-20 Thread Perrin Harkins
On Thu, 2003-02-20 at 22:27, Carl Brewer wrote: Do any of you have any recommendations for template systems with mp2? Not of the religious kind (!) but more on the lines of what's working with mp2 at the moment? Everything that doesn't make mod_perl API calls should work without changes.

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: On Thursday, February 20, 2003, at 07:04 PM, Stas Bekman wrote: PerlChildInitHandler? e.g. used by Apache::DBI to pre-connect to the db. Yeah, but I was looking for something pre-fork. Anything come to mind? startup.pl? in 2.0 you have: PerlPostConfigHandler

Re: mp2: any recommendations for template systems yet?

2003-02-20 Thread Gerald Richter
Without wishing to start anything religious ... any suggestions for a template system that handles sessions? Apache::ASP, Embperl, and Mason all have session support integrated now. I can't vouch for their stability on mp2 yet though. Embperl works fine with Apache 2 in prefork mode

Re: [mp1] Alternative for CHECK

2003-02-20 Thread David Wheeler
On Thursday, February 20, 2003, at 09:41 PM, Stas Bekman wrote: startup.pl? Won't work too well in a module, I think. I have a workaround for my problem for now, but it ain't pretty. in 2.0 you have: PerlPostConfigHandler http://perl.apache.org/docs/2.0/user/handlers/

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: On Thursday, February 20, 2003, at 09:41 PM, Stas Bekman wrote: startup.pl? Won't work too well in a module, I think. I have a workaround for my problem for now, but it ain't pretty. Why not? Use a separate module to drive the others? package My::PostConfig; BEGIN

cvs commit: modperl Makefile.PL

2003-02-20 Thread randyk
randyk 2003/02/20 08:34:35 Modified:.Makefile.PL Log: Reviewed by: stas Enable PERL_SECTIONS for Win32 Revision ChangesPath 1.207 +2 -1 modperl/Makefile.PL Index: Makefile.PL

cvs commit: modperl Makefile.PL

2003-02-20 Thread randyk
randyk 2003/02/20 08:42:46 Modified:.Makefile.PL Log: Reviewed by: stas Use Perl's touch(), in case a system touch() isn't available. Revision ChangesPath 1.208 +5 -1 modperl/Makefile.PL Index: Makefile.PL

Re: cvs commit: modperl Makefile.PL

2003-02-20 Thread Stas Bekman
[EMAIL PROTECTED] wrote: randyk 2003/02/20 08:42:46 Modified:.Makefile.PL Log: Reviewed by: stas Use Perl's touch(), in case a system touch() isn't available. Revision ChangesPath 1.208 +5 -1 modperl/Makefile.PL Index: Makefile.PL