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
===
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
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
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
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
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
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
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]
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:
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
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
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
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
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
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
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
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
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?
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.
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
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
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.
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
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
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
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]
-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
Is there a beta version of libapreq available for Apache 2?
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
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
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;
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
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
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.
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
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
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
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
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
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.
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
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
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/
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
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
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
[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
47 matches
Mail list logo