On Wed, 13 Jun 2001, Perrin Harkins wrote:
wow. template toolkil took a big hit, there. (no mod_perl on
this list? hmm!)
This benchmark can be very non-representive. If you don't know how to
optimize each and every thing under test, you end up with unfair
benchmark and come to
What is the best way to attach a module to be run when a user first enters
the site?
use LocationMatch and set it to only match / as in ^/$ ?
Thanks,
Jamie Krasnoo
[EMAIL PROTECTED]
Hi Robin,
On Wed, 13 Jun 2001, Robin Berjon wrote:
I'm running into trouble with browsers submitting data using various charsets
and not telling me which charset they're using. This results in all sorts of
breakages and unusable text. I can't be the only one dealing with this
problem (if
On Thursday 14 June 2001 13:18, Ged Haywood wrote:
On Wed, 13 Jun 2001, Robin Berjon wrote:
I'm running into trouble with browsers submitting data using various
charsets and not telling me which charset they're using. This results in
all sorts of breakages and unusable text. I can't be the
thanks, this has been applied for 1.26-tobe.
On Wed, 14 Mar 2001, Ilya Konstantinov wrote:
Hi,
While developing with mod_perl and Apache::ASP here at Aduva SID
department, we've came across an annoying problem.
Apache::ASP adds it's 'Global' directory to @INC. We naturally
used it to
On Wed, 7 Mar 2001, Graham Barr wrote:
Does anyone have any idea what could be causing
Use of uninitialized value at PerlHandler subroutine `VC::Delivery::Cycle::handler'
line 1.
to appear in the errorlog ?
I even added
local $SIG{__WARN__} = sub { warn here };
as the first
On Wed, 7 Feb 2001 [EMAIL PROTECTED] wrote:
Hi,
I just ran into a problem with $r-register_cleanup() only sometime beeing
called.
This is mod_perl 1.24_01, perl 5.6.0, apache 1.3.14 compiled with gcc 5.6.0 on
AIX 4.3.3.
Here's a sample code (snippet):
sub handler { #
Ah, this was a while ago,
I did actually trace the problem down. The handler was returning undef
which was causing these warnings. It was just not taht obvious from the
warning given.
Graham.
On Thu, Jun 14, 2001 at 09:48:42AM -0700, Doug MacEachern wrote:
On Wed, 7 Mar 2001, Graham Barr
On Thu, 8 Feb 2001, Aaron Schlesinger wrote:
Hi there. I am having a HELL of a time trying to get
mod_perl compiled into apache 1_3.17.
I built it using APXS and I really have tried
everything I can think of.
It makes, and builds without a problem. When I try to
do a configtest (after
On Thu, 1 Mar 2001, Chris Lewis wrote:
Does anybody know how to alter the destination of a CONNECT transaction
(in this case secure proxy request) in mod_perl?
$r-uri(newplace:newport) in a Trans handler doesn't seem to do it.
mod_proxy uses the parsed_uri, try this:
use Apache::URI ();
On 28 Mar 2001, Matthew Kennedy wrote:
Hello,
From the mod_perl guide:
syntax error at /dev/null line 1, near line arguments:
Execution of /dev/null aborted due to compilation errors.
parse: Undefined error: 0
There is a chance that your /dev/null device is broken. Try:
%
Sorry if this is already somewhere in the faq or just plain stupid, but I
couldn't find any satisfying answer or workaround to this. When I do
something like:
--
use IPC::Open2;
...
if($state-{pid} = open2(my $rx,my $tx,'/usr/bin/ispell','-S', '-a')) {
$state-{header} = scalar $rx;
Hello,
I am on IIS and fighting ActiveStates .plex. It appears so buggy and flaky
that I am losing development time.
I want to try some code that is flaky on the IIS/perl .plex on the Apache
mod-perl.
I know I can download the apache web server in binary form and install it
pretty quickly.
Doug asked that I add some plain 'ol mod_cgi tests
to compare mod_perl to, so here you go!
hello]# ./bench.pl -time 10 CGI
Test Name Test File Hits/sec Total Hits Total Time
sec/Hits Bytes/Hit
-- -- --
Hi there,
On Thu, 14 Jun 2001, Jamie Krasnoo wrote:
What is the best way to attach a module to be run when a user first
enters the site?
Can you be a bit more specific?
73,
Ged.
I'd like to append the ident string for my XML-RPC server class to the
outgoing Server: header, within my mod_perl handler. It seems that setting
this with $r-header_out (or getting the tied hash from $r-headers_out and
setting the key) doesn't appear in the resulting headers. Is there a
Hello,
Rookie here.
Well I installed the Apache Web Server on my local NT box here and it runs.
I have gone through the FAQ's but cannot find out how to turn on .pl files
that are in the cgi-bin directory much less making other cgi-bin
directories.
Could some kind sole please assist me with
When apache is serving a ssl connection, I assume that everything
sent back and forth between the server and the client is encrypted.
I want an mod_perl script to encrypt/decrypt credit card numbers
obtained over the ssl connection for storage in a db on the server.
Is there any access to the
Hi there,
On Thu, 14 Jun 2001, Purcell, Scott wrote:
Well I installed the Apache Web Server on my local NT box here and it runs.
Did you install mod_perl too?
73,
Ged.
Hello,
JKWhat is the best way to attach a module to be run when a user first
JKenters the site?
GEDCan you be a bit more specific?
I think the question is better phrased by the subject, how can I
use mod_perl to handle all requests?
This is less intuitive than the much more easily
On Thu, 14 Jun 2001, Randy J. Ray wrote:
I'd like to append the ident string for my XML-RPC server class to the
outgoing Server: header, within my mod_perl handler. It seems that setting
this with $r-header_out (or getting the tied hash from $r-headers_out and
setting the key) doesn't appear
From: Doug MacEachern [EMAIL PROTECTED]
I've found that if I post to this PerlAccessHandler, I get no response:
this problem is fixed in 1.25, from Changes:
fix $r-read() so it will not block if all data has already been read
and so that Apache will not hang during ap_discard_request_body()
Apache uses OpenSSL to implement the transport encryption for HTTP
connections. You can find out more at http://www.openssl.org
This isn't necessarily how you would want to encrypt things on disk, however.
Encrypting a regular file or db file is not really a typical public key
encryption task
When apache is serving a ssl connection, I assume that everything
sent back and forth between the server and the client is encrypted.
I want an mod_perl script to encrypt/decrypt credit card numbers
obtained over the ssl connection for storage in a db on the server.
Is there any access to
Not storing the credit card numbers at all would be the best option :-)
If you must, we've usually used crypt for one-way encryption, or
Crypt::BlowFish for stuff we need to be able to decrypt (look after your
key!).
On Thursday, June 14, 2001, at 09:54 pm, Tim Gardner wrote:
When apache
On 30 Mar 2001, Nikolaus Rath wrote:
Hello!
The following code doesn't work. I think that child_init_handler is
never called. But there are no errors in the error log.
sub child_init_handler($$)
{
my($this,$r) = @_;
$r-log_error(Session Manager initialized);
return OK;
}
On Wed, 25 Apr 2001, Philip Mak wrote:
On Thu, 26 Apr 2001, Stas Bekman wrote:
There is also the strange case of mod_perl leaking memory on graceful
restarts when compiled as DSO. But I don't feel like getting into
this one quite yet.
Hmm. My httpd was using 20 MB. I did
On Tue, 24 Apr 2001, Jamie Krasnoo wrote:
I recently got this error:
Insecure dependency in eval while running with -T switch.
Callback called exit.
Now, yes that tells me that something is wrong. What it doesn't tell me is
where the problem is except for the fact that its somewhere in
This would make an interesting discussion because I've had the same question
come up in my mind. How do you encrypt things on your server without giving
out the passphrase? Is it even possible to keep the key in the same
location as the program using it and still maintain security?
Kevin
It's pretty easy to get mod_perl running on Apache for windows because one
of the list members regularly makes a full binary distro available of
apache/mod_perl/perl all bundled together.
I think there is a link from the perl.apache.org homepage but I am not
sure. I've set it up before
On Wed, 9 May 2001, Greg Wilson wrote:
Hi. We're getting a segfault when httpd shuts down
when using mod_perl on Red Hat 6.2, and I'd like to
know whether anyone else has seen this as well. If I
run httpd -X -f /home/gvwilson/httpd.conf under gdb,
the stack trace is:
can you rebuild
On Sun, 15 Apr 2001, Sean LeBlanc wrote:
I'm trying to have mod_perl build apache during its own build,
but I'm getting an error that I can't dig any answers up on. I have
the libperl.so.5.6.0 in /usr/lib, but I'm uncertain how to get
compiler to recognize that it is there. I ran ldconfig,
On Mon, 16 Apr 2001, Matthew Darwin wrote:
I'm buiding an HTTP gateway in mod_perl and trying to send back to the
client exactly what I get from the remote server. The remote server
doesn't set a Content-Type on the document being returned, so I don't want
to set one either.
However,
if you can reproduce at will, use gdb:
% gdb httpd
(gdb) source mod_perl-x.xx/.gdbinit
(gdb) b Perl_croak
(gdb) run -X
run request that causes error ...
(gdb) where
stack printed here ...
(gdb) curinfo
perl filename:linenumber printed here ...
On 7 May 2001, Yusuf Goolamabbas wrote:
Apache 1.3.19/Mod-perl 1.25 under Linux 2.2.19
Hi, I am trying to better understand Apache/mod-perl behaviour under
this scenario. I have some CGI's which connect to various servers
listening on different ports and collect the output and push them to
On Thu, 14 Jun 2001, Doug MacEachern wrote:
repeat
1.21_01 had two dso fixes, one to close all .so's opened by DynaLoader and
one to call perl_shutdown(), both of which were large leaks. with
1.25_01-dev and Perl 5.6.1 i see a 4k growth on the first kill -USR1 and
no change after that.
On Thu, 14 Jun 2001, Paul G. Weiss wrote:
Sad to say, I'm not as fortunate as you. I'm leaking ~4.4Mb which each
HUP (I haven't tried USR1). I'm also using Perl 5.6.1 and 1.25_01-dev
(the CVS snapshot modperl_20010614113010.tar.gz). I'm doing a PerlRequire
if that is significant.
One
On Tue, 27 Mar 2001, Andrew Ho wrote:
Hello,
So, when doing a CGI and needing to execute a subprocess with input based
on user input, I always do a open()-fork()-exec() like so:
...
When using a mod_perl script, I use Apache::SubProcess and the above
stuff still works. However, let's say
On Thu, 14 Jun 2001, Rob Bloodgood wrote:
Seriously, tho, do you think you could come up with a short list of
definitions for those macros? I was pretty excited to see them, once,
except that I couldn't make them work. sigh Even a comment w/ a usage:
AvFILL(address)
most of them (the C
On Sat, 5 May 2001, Rodney Broom wrote:
Hi all,
I'm trying to add a little bit more security to a running app. In this app, I'd
like to be able to confirm what physical file was used in the 'AuthUserFile
/path/to/pass.db' statement. This file choice needs to be dynamic, so I can't
simply
On Thu, 17 May 2001, Geoffrey Young wrote:
well, you're not using Apache::Registry (which uses the
$Apache::Registry::NameWithVirtualHost global)
but Apache::RegistryNG (for which there's no corresponding
$Apache::RegistryNG::NameWithVirtualHost :)
he used Apache::RegistryNG in the
On 1 Jun 2001, [EMAIL PROTECTED] wrote:
OK, I think I have solved this problem, but I would like to run my solution by
you folks, and see if it makes any sense. What we found, on a more thorough
code review, was that a number of the handlers were doing a redirect by calling
send_cgi_header,
i will add this to the ToDo to look at before 1.26. in the meantime, if
you don't need to access these variables before the fixup stage and don't
need %ENV to be inherited by a forked program, try changing PerlSetEnv to
SetEnv.
On Sat, 2 Jun 2001, Roman Maeder wrote:
back in 1998 and 99 there
On Tue, 10 Apr 2001, Jonathan Swartz wrote:
% ./configure --activate-module=src/modules/perl/libperl.a
...
%Config is not exported by the Apache::ExtUtils module at -e line 0
this is a bug. newer mod_perl's override %Config::Config using
Apache::ExtUtils, which when you build inside the
On Fri, 8 Jun 2001, Rodney Broom wrote:
OK, here's what the solution was. According to Doug in a posting that I
found in an archive search, mod_perl's STDIN is really just a Perl glob, and
not a file handle. So instead of reading from it (and thereby emptying the
file handle named STDIN so
On Sun, 10 Jun 2001, Ian (the webguy) wrote:
...
I'm not sure what's causing this. When I telnet to port 8529 and try to get
/test.html, I get
snip
!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN
HTMLHEAD
TITLE403 Forbidden/TITLE
this is a bug in the test suite, permissions problem if you
On Fri, 15 Jun 2001, Paul G. Weiss wrote:
alignbytes=8, usemymalloc=y, prototype=define
^
ok, here's why i kept asking for perl -V. i don't see Perl's malloc.c
ever release its memory pool. when usemymalloc=y, free() only puts memory
back into Perl's pool
I know that this is an ongoing problem, but I seem to remember that
someone somewhere had a patch that reduced the size of the memory leak on
restarts to a manageable size. Has this patch been applied to the CVS
version? If not, can some kind soul tell me where to find it? I've
looked around
Sad to say, I'm not as fortunate as you. I'm leaking ~4.4Mb which each
HUP (I haven't tried USR1). I'm also using Perl 5.6.1 and 1.25_01-dev
(the CVS snapshot modperl_20010614113010.tar.gz). I'm doing a PerlRequire
if that is significant.
One more thing - I'm building mod_perl using apxs. I
Still leaking I'm afraid, by roughly the same amount.
I'm posting the files you asked for. Perhaps it has something to do with
the fact that both the Perl and Apache are installed in non-standard
places, or that I'm also using mod_ssl.
Here goes:
perl -V:
Summary of my perl5 (revision 5.0
On Thu, 14 Jun 2001, Paul G. Weiss wrote:
I know that this is an ongoing problem, but I seem to remember that
someone somewhere had a patch that reduced the size of the memory leak on
restarts to a manageable size. Has this patch been applied to the CVS
version? If not, can some kind soul
dougm 01/06/14 09:15:01
Modified:.ToDo
Log:
catigorification
Revision ChangesPath
1.283 +54 -46modperl/ToDo
Index: ToDo
===
RCS file: /home/cvs/modperl/ToDo,v
retrieving
dougm 01/06/14 09:38:27
Modified:.Changes ToDo
lib/Apache StatINC.pm
Log:
make sure file to be reloaded can be found in @INC
Revision ChangesPath
1.599 +4 -0 modperl/Changes
Index: Changes
dougm 01/06/14 23:10:16
Modified:.ToDo
Log:
yawn
Revision ChangesPath
1.285 +13 -1 modperl/ToDo
Index: ToDo
===
RCS file: /home/cvs/modperl/ToDo,v
retrieving revision 1.284
54 matches
Mail list logo