On Thu, May 29, 2003 at 04:12:51PM +1000, Stas Bekman wrote:
Brown, Jeffrey wrote:
Problem solved!
You all are a fantastic resource to newbies!
Jeff
-Original Message-
From: Ed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 9:28 PM
To: Brown, Jeffrey; [EMAIL
perhaps something such as copying the whole 800,000 rows to
memory (as a hash?) on apache startup?
That would be the fastest by far, but it will use a boatload of RAM.
It's pretty easy to try, so test it and see if you can spare the RAM it
requires.
Always one of my favorite solutions to
I have migrated my site from IIS and Active State to Apache 1.3
and mod_perl
on a Windows machine. I use the site to send emails to registered users
using Mail::sendmail through our SMTP server (another machine).
With Apache I can only send emails once after I start the Apache server,
On Thu, 2003-05-29 at 11:59, Marc M. Adkins wrote:
perhaps something such as copying the whole 800,000 rows to
memory (as a hash?) on apache startup?
That would be the fastest by far, but it will use a boatload of RAM.
It's pretty easy to try, so test it and see if you can spare the
On Thu, 2003-05-29 at 11:59, Marc M. Adkins wrote:
perhaps something such as copying the whole 800,000 rows to
memory (as a hash?) on apache startup?
That would be the fastest by far, but it will use a boatload of RAM.
It's pretty easy to try, so test it and see if you can spare
On Thu, 2003-05-29 at 12:59, Marc M. Adkins wrote:
That's news to me (not being facetious). I was under the
impression that
cloning Perl 5.8 ithreads cloned everything, that there was no
sharing of
read-only data.
We're not talking about ithreads here, just processes. The data is
I need to get the form field name from a form upload.
I've been using the upload object and looping through
my uploads:
foreach my $upload ($r-upload) {
# do stuff
}
The first form has 10 fields (labeled
upload1-upload10). For a quick hack I simply used a
counter and all was good:
my
On Thu, 2003-05-29 at 13:10, Marc M. Adkins wrote:
My original comment was regarding threads, not processes. I run on Windows
and see only two Apache processes, yet I have a number of Perl interpreters
running in their own ithreads. My understanding of Perl ithreads is that
while the syntax
Title: Apache::MP3
Has anyone gotten Apache::MP3 to run on Mod_perl 2?
On Thu, 29 May 2003, FARRINGTON, RYAN wrote:
-- I don;t know if the first message was sent but here it is
again -- just as a test I used the ALL in ONE package to get
this installed and it works like a champ except for
Apache::compat errors with something about line 68. =( I don't
have the
I've seen other posts mentioning this, but no solutions. I am trying to
compile libapreq-1., on AIX 5.1, with perl-5.8.0 compiled with gcc 3.3.
GCC 3.3 was the only thing that I could get to compile perl on AIX
without failing any tests. When I try to compile libapreq-1.1, I get:
rm -f
[Sorry if an identical message comes through later. I don't think the
list manager liked my address the first time I sent it through.]
Hi all,
I'm having a problem with mod_perl 1.2.7 that's baffling me completely,
and I've been searching and reading for days, but I still can't figure
it out.
Quoting David Ressman [EMAIL PROTECTED]:
something's caching previously entered form data and displaying it back
to me as the default values in those same forms. As an example, this
form has a text field that asks for IP addresses, and the text input
will occasionally be filled out with the
Thus spake Cees Hek ([EMAIL PROTECTED]):
input type=text name=ipaddress value=192.168.1.1
If that value=192.168.1.1 is set in any of your form fields, then
your script is the cuprit. If your form fields don't have the
value=192.168.1.1 set, or it is set to value=, then your browser is
the
Quoting David Ressman [EMAIL PROTECTED]:
It is possible that you are creating your form fields with CGI.pm,
which will use the currently POSTed parameters to prefill the form, or
This sounds like the most likely culprit, even though I haven't
explicitly turned anything on. It's possible
On Thu, 2003-05-29 at 16:40, David Ressman wrote:
That's just the problem. The value= parameter *is* filled out (and
it is being done at the server end as evidenced by the network sniffer.)
Unfortunately, my script is not doing it. Here's what I have in the
script:
print IP Address:
i have a collection of perl modules (running under the mod_perl umbrella)
and would like to distribute the application to several different sources
(clients with open internet web servers). but i dont want to send it out
without at least making it somewhat difficult for some hacker to just simply
Thus spake Perrin Harkins ([EMAIL PROTECTED]):
CGI.pm uses sticky widgets by default. These are supposed to be cleared
between requests though, by a cleanup handler that CGI.pm uses. Are you
using mod_perl 2, by any chance? I think I see a bug in CGI.pm's
Nope. mod_perl 1.27
But... you
hi
( 03.05.29 14:25 -0700 ) Kirk Rogers:
but i dont want to send it out without at least making it somewhat
difficult for some hacker to just simply steal it and load it
somewhere else without my consent.
why not? have you ever read the GNU manifesto?
http://www.gnu.org/gnu/manifesto.html
why the scarcasm?
-Original Message-
From: John Saylor [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 2:34 PM
To: [EMAIL PROTECTED]
Cc: modperl
Subject: Re: how to secure perl modules?
hi
( 03.05.29 14:25 -0700 ) Kirk Rogers:
but i dont want to send it out without at least
On Thu, 2003-05-29 at 17:26, [EMAIL PROTECTED] wrote:
A simple $cgi-delete('ipaddress') to delete the value when I create
the field has done the trick. Thanks very much to the both of you.
I'm glad to hear that worked, but it's still worrisome that you were
seeing data leak between different
you seem to be talking about two different things here.
firstly, do you want to protect your source code being viewed by other
people?
secondly, do you want to ensure that your code is only being run on
computers that you have authorised?
these are related problems, but each requires a
On Thu, 2003-05-29 at 17:41, Kirk Rogers wrote:
why the scarcasm?
You asked a very loaded question that is guaranteed to get you a lot
angry responses on most Perl mailing lists. Hiding your source code is
a FAQ
Hi there,
On Thu, 29 May 2003, Kirk Rogers wrote:
i have a collection of perl modules ... i dont want to send it out
without at least making it somewhat difficult for some hacker to just simply
steal it and load it somewhere else without my consent.
This is getting to be an old chestnut, I
Hi there,
On Thu, 29 May 2003, Steven M. Carter wrote:
There's a thread here:
http://www.geocrawler.com/archives/3/182/2000/2/0/3376687/
in which Doug MacEachern says:
I don`t expect libapreq (or any of the Apache:: xs modules outside of
the mod_perl dist) to work under aix. it needs to
I am writing an apache authentication/authorization module which gets
called in the
Location directive
outside the virtual host in the conf file. However, if a certain condition
is not satisfied it redirects to secured server wherin our inhouse
authentication module gets called and if the user
[bouncing back to the list with additional info]
Chris Faust wrote:
Ouch, in other words its going to be a tough on to track down :)..
Thanks Stas, I at least have some direction now.
what you could do is to go to the httpd source and change it to log the error.
Look in
FARRINGTON, RYAN wrote:
Has anyone gotten Apache::MP3 to run on Mod_perl 2?
Hold on a bit, I'll post a ported version soonish.
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide
[taking this thread to the apreq-dev list, those interested please go there]
Steven M. Carter wrote:
I've seen other posts mentioning this, but no solutions. I am trying to
compile libapreq-1., on AIX 5.1, with perl-5.8.0 compiled with gcc 3.3.
GCC 3.3 was the only thing that I could get to
Ged Haywood wrote:
Hi there,
On Thu, 29 May 2003, Igor Rojdestvenski wrote:
designed a mod_perl handler moduel [snip]
works fine first time, but when I refresh it, it works differently. [snip]
My theory is that something is wrong with local/global variables [snip]
Check out the mod_perl Guide
OK... I have a system I've developed for a client that is now on
a central server. They would like me to make changes so it can be installed
on the laptops of users to use off site if necessary.
Here's my question: has anyone setup a clever way, possibly using CRC/MD5 analysis,
to check to
Ok here is the error I get when using the all-in-one install
for mod_perl 2.0
Can't locate object method server_root_relative
via package Apache at e:/Per
l/site/lib/Apache/compat.pm line 69.
Compilation failed in require at startup.pl line 13.
BEGIN failed--compilation aborted at
Ryan Farrington wrote:
Ok here is the error I get when using the all-in-one install for
mod_perl 2.0
Can't locate object method server_root_relative via package Apache
at e:/Per
l/site/lib/Apache/compat.pm line 69.
Compilation failed in require at startup.pl line 13.
BEGIN
Here is what the Command_Line_Lookups tells me:
to use method 'server_root_relative' add:
use Apache::ServerUtil ();
here is what my .pl file looks like before I make any modifications:
:: CODE ::
use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
Perrin Harkins wrote:
simran wrote:
I need to be able to say:
* Lookup the _distance_ for the planet _mercury_ on the date _1900-01-01_
On the face of it, a relational database is best for that kind of query.
However, if you won't get any fancier than that, you can get by with
MLDBM or
Title: MOD_PERL 2.0?
just as a test I used the ALL in ONE package to get this installed and it works like a champ except for Apache::compat errors with something about line 68. =( I don't have the error infront of me but it is something like method not defined.
Hi all,
I'm having a problem with mod_perl 1.2.7 that's baffling me completely,
and I've been searching and reading for days, but I still can't figure
it out. My apologies if this comes up frequently. I did try rather
lengthy searches through the mailing list archives.
Right now, I'm using
i have a collection of perl modules (running under the mod_perl umbrella)
and would like to distribute the application to several different sources
(clients with open internet web servers). but i dont want to send it out
without at least making it somewhat difficult for some hacker to just simply
I might have made a mistake by sending this post to docs-dev forum.
Sending
it again to modperl forum.
---
I am writing an apache authentication/authorization module which gets
called in the
Location directive
outside the virtual
David Ressman wrote:
something's caching previously entered form data and
displaying it back to me as the default values in those same forms
This is most likely a variable scoping problem as described here:
http://perl.apache.org/docs/1.0/guide/frequent.html
As a rule of thumb, variables
Ryan Farrington wrote:
Here is what the Command_Line_Lookups tells me:
to use method 'server_root_relative' add:
use Apache::ServerUtil ();
[...]
that is it... still compiles with an error =(
right, the API change. Here is the correct URL:
On Thu, 29 May 2003, Ryan Farrington wrote:
Ok here is the error I get when using the all-in-one install for
mod_perl 2.0
Can't locate object method server_root_relative via package Apache
at e:/Perl/site/lib/Apache/compat.pm line 69.
Compilation failed in require at startup.pl line 13.
Is it possible to configure an htaccess file to
call a script using apache registry and use it in the
PerlAccessHandler.
I have written one pretty large perl script in
mod-perl using the apache registry to serve out picture gallery pages. I
would like to do some validation of my own on a
I'm going to follow your instructions, thank you.
One question, though, since it seems you're adding args to a file that gets
passed to mod_perl's build process (which in turn builds httpd): how do
you add/activate other modules to apache in this manner. PHP is a DSO
(for me) so that's
John Michael wrote:
Is it possible to configure an htaccess file to call a script using
apache registry and use it in the PerlAccessHandler.
I have written one pretty large perl script in mod-perl using the apache
registry to serve out picture gallery pages. I would like to do some
validation
Hi there,
On Fri, 30 May 2003, Forrest Aldrich wrote:
how do you add/activate other modules to apache in this manner.
Here's one I prepared earlier. Use caution, this is an old one and I
haven't tested it lately. The documentation is in the Eagle Book, I
don't know if it's in the CookBook,
Hi!
On Thu, May 29, 2003 at 12:19:49PM -0500, David Ressman wrote:
So far, so good. Everything works pretty well... Except that
something's caching previously entered form data and displaying it back
to me as the default values in those same forms. As an example, this
form has a text
Hi!
On Thu, May 29, 2003 at 10:27:54AM -0700, iCap wrote:
i have a collection of perl modules (running under the mod_perl umbrella)
and would like to distribute the application to several different sources
(clients with open internet web servers). but i dont want to send it out
without at
Hi All,
Just to throw a spanner in the works, a little while ago I came across the
following Article on the Net.
http://www.perl.com/pub/a/2002/10/15/radiator.html
From what I can tell The author of the 'radiator' product claims to have
successfully shipped 'encrypted' code.
I've been pondering
Regarding the use of source filters, they only seemed to cause me trouble
under mod_perl. A while ago I tried using Switch.pm, another source filter
from Damian that provides a switch... case sort of syntax, together with
HTML::Mason and mod_perl. It led to some really strange errors that didn't
50 matches
Mail list logo