Hi all,
I'm having a frustrating time with mod_perl...
Configuration:
-- apache 1.3.22
-- mod_perl 1.26
Static configuration installation all goes fine, and when I run httpd
(w/o modification, off of a straight install) the child pids crash when
loading /. (Loading
Hi there,
On Mon, 10 Dec 2001, Titus Brown wrote:
When I do a gdb on the resulting core dump, I find that it's crashing in
perl_handler().
Any ideas?
See modperl/SUPPORT
73,
Ged.
DJ (David J Radunz) wrote:
I have written a perl module called Apache::ErrorControl which I am
using to control the output of error messages from the server, and allow my
users to have custom error pages etc...
You might want to re-think how you have this set up.
I don't know how
hi list,
I know this is OT but i don't know what list i should ask this on so i
give it a shot here. If you're very annoyed with this mail me private
with a list should use.
I'm trying to use eval () with a constants module and it works very
funny, can anyone explain this behavior to me:
i
I've been using Embperl happily for several years now, and the only
real drawback I've seen to it was (until recently) that it lacked a
mechanism for doing inheritance/cascading. EmbPerlObject seems to
remedy this deficiency.
I've been hearing lots about AxKit lately.
I'm curious about one
I tend to use PerForm for complex forms:
http://theoryx5.uwinnipeg.ca/CPAN/data/AxKit-XSP-PerForm/PerForm.html
Others write custom taglibs:
http://theoryx5.uwinnipeg.ca/CPAN/data/AxKit/Apache/AxKit/Language/XSP/Tagli
bHelper.html
The general idea is that the output is an abstract
Matt Sergeant wrote:
But then if you're happy with EmbPerl, why switch?
A couple of reasons, really:
1) well, I actually wouldn't switch per se; people think in
different ways, and it's often useful to support (and feel
comfortable with) different development paradigms
2)
-Original Message-
From: Richard L. Goerwitz III [mailto:[EMAIL PROTECTED]]
Is AxKit the best of the pipelining breed, though? (I personally
am finding XML to be a ghastly, ugly thing; it all started with
namespaces, which are implemented via attributes in a horribly
kludgy way -
Jon Molin wrote:
hi list,
I know this is OT but i don't know what list i should ask this on so i
give it a shot here. If you're very annoyed with this mail me private
with a list should use.
Jon, if you need help finding a place where to ask for Perl help, just
say so. Here you go:
I'm trying to use a startup script to preload a selection of common
modules, but am having massive problems with Fcntl.
If I use Fcntl (); either in the startup script directly or (worse) in
any other modules I try to preload, Apache dies silently and immediately
upon restart. Checking the
On Monday 10 December 2001 16:21, Andrew Green wrote:
I'm trying to use a startup script to preload a selection of common
modules, but am having massive problems with Fcntl.
If I use Fcntl (); either in the startup script directly or (worse) in
any other modules I try to preload, Apache dies
Hi,
I have two stacked content handlers in a pipeline. At first Apache::Registry
and as the second my own handler for parsing Apache::Registry's output of
ordinary Perl scripts. Works fine.
But I want to catch everything that passes in or out Apache::Registry - also
the data of submit-forms sent
e.g. $r-read($in,$r-header_in('Content-length'));
or $in=$r-content();
give's my handler the data, but unfotunately exclusive - so the data don't
reaches Apache::Registry and the cgi-script.
Any suggests?
Apache::RequestNotes.
- Perrin
In article [EMAIL PROTECTED],
Robin Berjon [EMAIL PROTECTED] wrote:
Have you tried to see if it works without the trailing () ?
I have, yes, and I'm afraid it makes no difference.
Thanks anyway,
Andrew.
--
::
article seven Andrew Green
automatic
But then if you're happy with EmbPerl, why switch?
A couple of reasons, really:
1) well, I actually wouldn't switch per se; people think in
different ways, and it's often useful to support (and feel
comfortable with) different development paradigms
Embperl 2.0 (starting
Hi Stas, thanks for your reply.
At 03:54 10/12/01, Stas Bekman wrote:
You want to start from this doc:
http://world.std.com/~swmcd/steven/perl/module_mechanics.html
Yes, I have already checked out that one. A great resource.
I think it would be good for mod_perl to have some documentation
Andrew Green wrote:
In article [EMAIL PROTECTED],
Robin Berjon [EMAIL PROTECTED] wrote:
Have you tried to see if it works without the trailing () ?
I have, yes, and I'm afraid it makes no difference.
Try to call:
require Fcntl;
instead.
I think the general advise is to always
I'm curious about one thing: How easy is it to do fill-out forms
with pipelining templating systems like AxKit? I'd think that in
such cases the stylesheet would have to do so much work that it
would become, in essence, like a CGI script.
Can you explain what work you're talking about
Per,
This seems to be a very generic Perl issue, like most of the questions
in this email. I don't see why anything should be special under
mod_perl, regarding the packaging and stuff. Apache::Test is probably
the only issue that has a lot to do with mod_perl :)
I'm sorry for
Greetings,
How i expected the ErrorDocument directive to behave was as follows:
WHEN there was an error 401 (ie the user had logged in 3 times and failed)
there would be an error page shown (in this case it would be /error/401).
But instead what seems to be happening as soon as a user goes
DJ (David J Radunz) wrote:
How i expected the ErrorDocument directive to behave was as follows:
WHEN there was an error 401 (ie the user had logged in 3 times and failed)
there would be an error page shown (in this case it would be /error/401).
The issue of how many tries the user gets
Your input is solicited. A few months ago, Tom Liston released a nice
little worm/scanner detection daemon. His web site also has some nice
cgi output of the log information from the daemon. On my site,
the sys logger runs wild with LaBrea running, but there is really not
all that much
- When I do a gdb on the resulting core dump, I find that it's crashing in
- perl_handler().
-
- Any ideas?
-
- See modperl/SUPPORT
OK,
apache 1.3.22
mod_perl 1.26
Output of 'perl -V' attached.
I configured Apache with:
% ./configure --prefix=~/software/try2/ap-install
then ran 'perl
before i uncomment the #ErrorDocument 401 /error/401 line i get:
[root@astroboy ErrorControl]# GET -s -d http://www.chingali.com/ClientLogin
Enter username for CHINGALIwebstudios: Client Login Access at
www.chingali.com:80: DJ
Password:
afterwards i get:
[root@astroboy ErrorControl]# GET -s -d
I seem to be unable to get my authentication/authorization handler to be
called correctly. I have tried numerous directives and it seems to always
get passed to the standard apache 'authentication' module. I receive this
error :
[Mon Dec 10 13:09:35 2001] [crit] [client 192.168.6.59]
HaHa! i found some doccumentation on exactly what i needed :
http://perl.apache.org/faq/#so%20how%20do%20i%20use%20mod_perl%20in%20conjun
ction%20with%20errordocument
which basically told me to add this bit of code at the top of my module:
$r-content_type('text/html; charset=ISO-8859-1');
Hi again,
On Mon, 10 Dec 2001, Titus Brown wrote:
EXTRA_CFLAGS1=`$(SRCDIR)/apaci`
EXTRA_LIBS=`perl -MExtUtils::Embed -e ldopts`
EXTRA_CFLAGS=$(EXTRA_CFLAGS1) `perl -MExtUtils::Embed -e ccopts`
H. Have you tried building without all this messing about with
the Makefile?
did make make
Hi there,
On Mon, 10 Dec 2001, Stathy Touloumis wrote:
error :
[Mon Dec 10 13:09:35 2001] [crit] [client 192.168.6.59] configuration error:
couldn't check user. No user file?: /index.html
Send the config?
73,
Ged.
Directory /home/stathy/apache/html
AuthName Login
AuthType Base::Session::Handler
require valid-user
PerlAuthenHandler Base::Session::Handler
/Directory
Send the config?
Hi,
I looked at Memory Usage at my perl-status page and was horrified: the
biggest modules are:
File::Find 1205208 bytes | 2597 OPs
Convert::ASN1::parser1058185 bytes | 3069 OPs
However, if I go inside File::Find, I can't figure out
I looked at Memory Usage at my perl-status page and was horrified: the
biggest modules are:
File::Find 1205208 bytes | 2597 OPs
Convert::ASN1::parser1058185 bytes | 3069 OPs
However, if I go inside File::Find, I can't figure out
- EXTRA_CFLAGS1=`$(SRCDIR)/apaci`
- EXTRA_LIBS=`perl -MExtUtils::Embed -e ldopts`
- EXTRA_CFLAGS=$(EXTRA_CFLAGS1) `perl -MExtUtils::Embed -e ccopts`
-
- H. Have you tried building without all this messing about with
- the Makefile?
Bear in mind these are in the instructions for
To insert a new comment on this old item:
What about sockets? I am in the middle of trying to use $c =
$r-connection and $c-remote_addr as part of the cookie name. (So far
I am having trouble with the fact that remote_addr returns packed info,
and I am still searching for how to unpack it - if
From: Jon Robison [EMAIL PROTECTED]
What about sockets? I am in the middle of trying to use $c =
$r-connection and $c-remote_addr as part of the cookie name. (So far
I am having trouble with the fact that remote_addr returns packed info,
and I am still searching for how to unpack it - if
Perrin Harkins wrote:
I looked at Memory Usage at my perl-status page and was horrified: the
biggest modules are:
File::Find 1205208 bytes | 2597 OPs
Convert::ASN1::parser1058185 bytes | 3069 OPs
However, if I go inside
I would still say this is dangerous. There is no guarantee that the same
client will use the same IP and/or socket every time. Think about the
thousands of AOL users behind hundreds of proxies. There is no consistency.
Even with 10 users behind one NAT firewall I bet you'll have problems.
From:
Stas Bekman [EMAIL PROTECTED] writes:
I think the general advise is to always call require() and not use()
in startup.pl, unless you have a reason for calling certain modules'
import() method.
Wouldn't that affect mod_perl's advantage of sharing the modules? I
mean, would everything be in
On Mon, Dec 10, 2001 at 06:27:07PM -0500, Vsevolod Ilyushchenko wrote:
Perrin Harkins wrote:
I looked at Memory Usage at my perl-status page and was horrified: the
biggest modules are:
File::Find 1205208 bytes | 2597 OPs
How i expected the ErrorDocument directive to behave was as
follows: WHEN there was an error 401 (ie the user had logged in 3
times and failed) there would be an error page shown (in this case
it would be /error/401). But instead what seems to be happening as
soon as a user goes to an
Hi again,
On Mon, 10 Dec 2001, Titus Brown wrote:
Bear in mind these are in the instructions for installation for mod_perl ;).
:)
I don't want it to install in the default place.
The only time I've had real grief with building was when I did that.
One of the problems is that it's difficult
On Mon, 10 Dec 2001, Stathy Touloumis wrote:
Directory /home/stathy/apache/html
AuthName Login
AuthType Base::Session::Handler
require valid-user
PerlAuthenHandler Base::Session::Handler
/Directory
Forgive me, it's late, and I'm afraid I've deleted the original
question.
Greetings,
Ive written a module to hanlde error messages, it works fine except when
its used to handle a top level authentication.. and then it doesnt display
the page.
for example if the protected url was http://www.site.com/ the user would be
redirected to http://www.site.com/error/401
Jorge Godoy wrote:
Stas Bekman [EMAIL PROTECTED] writes:
I think the general advise is to always call require() and not use()
in startup.pl, unless you have a reason for calling certain modules'
import() method.
Wouldn't that affect mod_perl's advantage of sharing the modules? I
mean,
I do preload the module. How do I find out what it really uses?
In addition to Paul's advice, make sure you understand the output of
your system's top command (or whatever you use to see process size).
Usually there are multiple numbers, and some indicate real memory used
while others indicate
Try the following:
ErrorDocument 401 Error Encountered During Login. Contact DJ.
ErrorDocument optionally takes a string defined by text instead of a
document URI. I've found this tend to work smoothly where specifying an
actual page wont.
-Brendan
-Original
Hello,
As I stated in another post to this forum, I would like to submit an RFC
for OpenTMS.
Exerpt from Readme file below:
NAME
OpenTMS - Open Tournament Management System
DESCRIPTION
OpenTMS is a web based mod_perl application to deal with the management
of tournaments,
stas01/12/09 23:44:53
Modified:t.cvsignore
Log:
- ignore the generated t/SMOKE
Revision ChangesPath
1.3 +1 -0 modperl-2.0/t/.cvsignore
Index: .cvsignore
===
RCS file:
stas01/12/10 00:28:22
Modified:lib/Apache compat.pm
Log:
- because of open()'s prototype problems we cannot forward @_ to open.
(tested with 5.6.1 and bleadperl)
Revision ChangesPath
1.30 +14 -1 modperl-2.0/lib/Apache/compat.pm
Index: compat.pm
dougm 01/12/10 19:29:44
Modified:src/modules/win32 mod_perl.def
apacimod_perl.exp
.Changes
Log:
added perl_perl_merge_dir_config and array_header2avrv symbols to
mod_perl.def for win32 and mod_perl.exp for aix
Submitted by: Randy
dougm 01/12/10 20:22:32
Modified:src/modules/perl modperl_perl.c
Log:
call END blocks before interpreter shutdown
Revision ChangesPath
1.9 +4 -0 modperl-2.0/src/modules/perl/modperl_perl.c
Index: modperl_perl.c
stas01/12/10 21:13:07
Modified:tSMOKE.PL
Log:
- use Apache::TestSmokePerl for t/SMOKE.PL in mod_perl
Revision ChangesPath
1.2 +2 -2 modperl-2.0/t/SMOKE.PL
Index: SMOKE.PL
===
stas01/12/10 22:27:47
Modified:lib/ModPerl Config.pm
Log:
- use the existing configuration in as_string
Revision ChangesPath
1.7 +1 -1 modperl-2.0/lib/ModPerl/Config.pm
Index: Config.pm
52 matches
Mail list logo