Try the following:
ErrorDocument 401 "Error Encountered During Login. Contact DJ.
ErrorDocument optionally takes a string defined by " instead of a
document URI. I've found this tend to work smoothly where specifying an
actual page wont.
-Brendan
-Original Message---
> > 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 indicat
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 modu
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 fo
On Mon, 10 Dec 2001, Stathy Touloumis wrote:
>
> AuthName "Login"
> AuthType Base::Session::Handler
> require valid-user
>
> PerlAuthenHandler Base::Session::Handler
>
Forgive me, it's late, and I'm afraid I've deleted the original
question. But there isn't much here to go on
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 difficul
> 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
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
> > >
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 i
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:
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,
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
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 - i
-> > 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
> 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
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 wh
AuthName "Login"
AuthType Base::Session::Handler
require valid-user
PerlAuthenHandler Base::Session::Handler
> Send the config?
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, espec
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.
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 &
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');
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] configurati
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 -
-> > 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 ra
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 informa
"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 ge
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 to
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
> 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 h
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
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
>
> > 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 (sta
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 int
> 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
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
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
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 synta
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:
> -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
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) EmbPe
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 representatio
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 thin
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 ha
"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 ex
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.
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 /index.htm
46 matches
Mail list logo