Perrin Harkins wrote:
On Mon, 2005-02-14 at 13:32 -0500, Jonathan Vanasco wrote:
some of the general user presentation would probably develop well under
php -- but I dont want to consider that at the expense of the mod_perl
processes.
I think it's pretty much guaranteed that it will be
On Feb 14, 2005, at 1:54 PM, Larry Leszczynski wrote:
Depending on how bulky the regen process is, one option might be to
register a PerlCleanupHandler and let the httpd child do the regen
after
the user response is sent.
I looked into this, but I didn't like the idea of httpd getting tied
up.
On Feb 14, 2005, at 10:40 AM, Martin Moss wrote:
I have a few thoughts on this... In my experience
writing a daemon process is easy (well ish) but then
configuring your system to manage them (have they
died, have they crashed etc..) is more trouble than
its worth.
Maybe -- although thttpd has a
Under mod_perl 1, I used the following simple debugging
framework:
1. apache calls DebugClient
2. DebugClient connects to DebugServer (Unix socket)
3. DebugServer calls the request handler with a fake
Apache object (Apache::FakeRequest) and returns the
response to the DebugClient
If an error
Sorry for the double posts -- won't happen again...
(grumble... you'd think that OSX's mail.app would be smart enough by
now so that when you reply to a message, the default account selected
is the account the message was sent to...)
- ben
Hi,
Im trying to implement an output filter that modifies images using
PerlMagick in a proxy environment.
Since magick reads an image from a file-handle/stdin I guess I need to
write the response data to a temp-file, Im not sure if its better to
use the stream api's $f-read(my $buffer, BUFF_LEN)
Hello everyone,
I'm doing a fresh install of my OS X 10.3 and am to the point where
I'm trying to
get DBD::mysl installed. I found a website that gives good
instructions for OS X, but
I'm getting a few errors on make test (mysql.t 46-48) that stops it
from getting to make
install.
Am
Nevermind,
It seems as though it's installed regardless...
On Feb 15, 2005, at 11:51 AM, Boysenberry Payne wrote:
Hello everyone,
I'm doing a fresh install of my OS X 10.3 and am to the point where
I'm trying to
get DBD::mysl installed. I found a website that gives good
instructions
Can anyone give me some tips for securing web form interaction?
I'm looking specifically for 2 things:
preemptive defense of potential SQL injection attacks
'human only' readable gifs on forms to preemtively defent against
bots without using some crazed throttling scheme
On Feb 15, 2005, at 1:02 PM, Jonathan Vanasco wrote:
Can anyone give me some tips for securing web form interaction?
I'm looking specifically for 2 things:
preemptive defense of potential SQL injection attacks
See CGI::Untaint on CPAN for routine untainting.
Sean
Can anyone give me some tips for securing web form interaction?
I'm looking specifically for 2 things:
preemptive defense of potential SQL injection attacks
$dbh-quote() everything you can.
that too, assuming that your DBD supports them.
-Original Message-
From: Ian Joyce [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 15, 2005 2:09 PM
To: Adam Prime x443
Cc: Mod-Perl ((E-mail))
Subject: Re: securing web form interaction
On Tue, 15 Feb 2005 14:07:22 -0500, Adam Prime
On Feb 15 Thomas Lochmatter wrote:
Under mod_perl 1, I used the following simple debugging
framework:
1. apache calls DebugClient
2. DebugClient connects to DebugServer (Unix socket)
3. DebugServer calls the request handler with a fake
Apache object (Apache::FakeRequest) and returns the
I'm transitioning to developing using Apache::Test and like it. It's a
different style of developing.
Have you looked at the apache test docs?
http://perl.apache.org/docs/general/testing/testing.html
see also
http://www.perl.com/pub/a/2003/05/22/testing.html
for a kinder, gentler
Don't forget to create a sound file also that will contain the pass phrase,
because otherwise the blind visitors won't be able to use your site.
Hi,
I usually use placeholders in DBI. Is this enough for avoiding SQL
injections?
I have made a simple test and I have seen that it seems to be enough, but...
I am not sure.
Thanks.
Teddy
- Original Message -
From: Ian Joyce [EMAIL PROTECTED]
To: Adam Prime x443 [EMAIL PROTECTED]
Cc:
On Feb 15, 2005, at 1:20 PM, Octavian Rasnita wrote:
Don't forget to create a sound file also that will contain the pass
phrase,
because otherwise the blind visitors won't be able to use your site.
Wow -- this is a great idea -- do have any links to sites which
implement this? I'd like to see
On Mon, 2005-02-14 at 18:45 -0500, Stas Bekman wrote:
that approach is not very practical if change your code base constantly.
Since you will have to retune things every time you change your code.
I know, it's terrible, but it's all I've come up with so far. Maybe we
need to rethink how the
First, in my little test, I alternate between five different hosts, and
don't do the cleanup handler to put the docroot back, and everything looks
fine.
you will eventually, once you get enough requests to cycle through all of
the httpd children.
Second, I couldn't get this
Hi,
I recall that in general it isnot a goodidea to opena file in the parent modperl process and then share itamong the child modperl processes. One should open thefile separately in each of the child processes. But whatif the file is used just for read-only access? Is it stillnecessary to open
On Tue, 15 Feb 2005, Richard Chen wrote:
Im a big fan of reading read-only data files, config files, etc at server
start up in startup.pl and sharing between children. There could easily
be problems with my approach and i welcome the criticism =)
The only time I have been burned with
Suddenly, Perrin Harkins uttered:
On Mon, 2005-02-14 at 18:45 -0500, Stas Bekman wrote:
that approach is not very practical if change your code base constantly.
Since you will have to retune things every time you change your code.
I know, it's terrible, but it's all I've come up with so far.
Me too, but I'm not holding my breath. We can find out how much total
memory is free though, at least on Linux.
That particular information is far from being useful, since there is the
cache. On my (linux) machine I have 0MB of free memory and 400-500MB of
cached buffers. So on linux one needs
Dean Maslic wrote:
Hi,
Im trying to implement an output filter that modifies images using
PerlMagick in a proxy environment.
Since magick reads an image from a file-handle/stdin I guess I need to
write the response data to a temp-file, Im not sure if its better to
use the stream api's $f-read(my
On Tue, 15 Feb 2005, Stas Bekman wrote:
Date: Tue, 15 Feb 2005 17:52:19 -0500
From: Stas Bekman [EMAIL PROTECTED]
To: Jie Gao [EMAIL PROTECTED]
Cc: modperl@perl.apache.org
Subject: Re: [mp2]opaque string-content tables
Jie Gao wrote:
On Tue, 15 Feb 2005, Jie Gao wrote:
Date:
Jie Gao wrote:
What does it mean by opaque?
On the C level that means: you can put in strings and whatever you put in
your get out.
On the Perl level that means that we convert any scalars into strings and
store that. Any special information that was in the perl scalar is not
stored. So for
On Tue, 15 Feb 2005, Stas Bekman wrote:
Date: Tue, 15 Feb 2005 18:12:26 -0500
From: Stas Bekman [EMAIL PROTECTED]
To: Jie Gao [EMAIL PROTECTED]
Cc: modperl@perl.apache.org
Subject: Re: [mp2]opaque string-content tables
Jie Gao wrote:
What does it mean by opaque?
On the C level
Jie Gao wrote:
[please try to trim the irrelevant chunks from your replies :) thanks ]
When you will want a performance boost, you will want to switch to
libapreq2 (Apache::Request).
Where is it?
http://httpd.apache.org/apreq/
--
__
Stas,
Thank you for all this usefull informations.
Regards,
Vitor
vsmori wrote:
Thanks Stas, that was usefull.
From my undestanding, the right solution in MP2 would be
using
Apache::SubProcess::spawn_proc_prog function instead of
forking the
apache request child process and call
William McKee wrote:
I finally took the plunge and installed mp2 onto my FreeBSD virtual
server. Here are a few updates to the install.pod which would have made
the installation process a bit easier for me.
I'm not sure about the modification I made at line ~617. I installed a
static mod_perl so
William McKee wrote:
-8-- Start Bug Report 8--
1. Problem Description:
While installing mod_perl2 on a FreeBSD 5.3 jail environment, I received
the following test errors:
Failed Test Stat Wstat Total Fail Failed List of Failed
Hi Folks I usually use placeholders in DBI. Is this
enough for avoiding SQL injections? Keywords:
Inject, SQL,
On Tue, 15 Feb 2005, Stas Bekman wrote:
Date: Tue, 15 Feb 2005 18:26:07 -0500
From: Stas Bekman [EMAIL PROTECTED]
To: Jie Gao [EMAIL PROTECTED]
Cc: modperl@perl.apache.org
Subject: Re: [mp2]opaque string-content tables
Jie Gao wrote:
[please try to trim the irrelevant chunks from your
Jie Gao wrote:
When you will want a performance boost, you will want to switch to
libapreq2 (Apache::Request).
Where is it?
http://httpd.apache.org/apreq/
Thanks. I've got it over but am having trouble doing make test:
waiting 60 seconds for server to start: .Syntax error on line 29 of
On Tue, 15 Feb 2005, Stas Bekman wrote:
Date: Tue, 15 Feb 2005 18:26:07 -0500
From: Stas Bekman [EMAIL PROTECTED]
To: Jie Gao [EMAIL PROTECTED]
Cc: modperl@perl.apache.org
Subject: Re: [mp2]opaque string-content tables
Jie Gao wrote:
[please try to trim the irrelevant chunks from your
35 matches
Mail list logo