[EMAIL PROTECTED] wrote:
Hi,
Can folks please tell me what's the best way to pass large-ish amounts of
data between invocations of a CGI script.
If you have HUGE amounts of data which is way more than 3K,
then See CGI.pm and multipart/form-data.
For a big form, just make sure you use
The uploaded file
Apache-VMonitor-0.04.tar.gz
has entered CPAN as
file: $CPAN/authors/id/S/ST/STAS/Apache-VMonitor-0.04.tar.gz
size: 16216 bytes
md5: b72d8b7a1ba30da7601d26bfca657760
Please allow a few hours before trying to get it if using mirrors (6
hours?)
BTW, Solaris fans,
read the man pages for CGI.pm. There's some good advice about receiving lots
of data which should hold you in good stead.
From: Gidon Wise [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Getting/storing big text
Date: Tue, 14 Dec 1999 04:13:37 -0500
[EMAIL PROTECTED] wrote:
Hi,
Hello all,
2 Questions about Embperl (If it's not the right place to do so, please tell
me; I didn't find anything more specifically related to Embperl...)
First, it seems Embperl doesn't know about input type=image ... fields in
forms; Browsers that find them generate "x" and "y"
Hello all,
2 Questions about Embperl (If it's not the right place to do so,
please tell
me; I didn't find anything more specifically related to Embperl...)
the place is ok.
First, it seems Embperl doesn't know about input type=image ...
fields in
forms; Browsers that find them
Actually, the sequence used as delimiter for CGI fields is "\t".
I think this is not the best choice, cause having a tabulation
into a field content is always possible (cut paste, file upload...).
Why not allowing the user to choose the more appropriate
delimiter, through a ENV var ?
#
At 10:14 AM 12/11/99 -0800, Cliff Rayman wrote:
Stas Bekman wrote:
On Sat, 11 Dec 1999, Bill Marrs wrote:
Hi,
I've been using mod_perl successfully albeit minimally for a couple
months
now.
I'm trying to tune performance and memory usage by consolidating some
common
Actually, the sequence used as delimiter for CGI fields is "\t".
I think this is not the best choice, cause having a tabulation
into a field content is always possible (cut paste, file upload...).
Why not allowing the user to choose the more appropriate
delimiter, through a ENV var ?
#
Hi,
I use to servers with nearly the same configuration:
host 1:
Embedded Perl version 5.00503 for Apache/1.3.9 (Unix) Debian/GNU
AuthPostgreSQL/0.7.1 mod_perl/1.21 process 255,
running since Mon Dec 13 10:57:03 1999
completely using debian packages
host 2:
Embedded Perl
On Mon, 13 Dec 1999, Volker Hess wrote:
Hi,
I use to servers with nearly the same configuration:
host 1:
Embedded Perl version 5.00503 for Apache/1.3.9 (Unix) Debian/GNU
AuthPostgreSQL/0.7.1 mod_perl/1.21 process 255,
running since Mon Dec 13 10:57:03 1999
completely
Thanx Stas,
Doesn't it print the reason for the failure? Is your code looking like:
man DBI:
$dbh = DBI-connect($data_source, $username, $password)
|| die $DBI::errstr;
I mean, do you use $DBI::errstr?
It can be a permission problem, your script is
are you sure that there are no other webservers
currently running and on port 80?
do the 'set args' gdb command with at least the -X parameter
before executing run.
when you start apache and it blows up, is apache using any
other command line arguments such as -DSSL?
if so, make sure you use
Here is the code for Execute
[- Execute ({ inputfile = '/mypath/mylibfile.lib', import = 1 }) -]
[- TTEST($bb); -]
p$bb is [+$bb+]/p
and here is the code inside the lib file
[$ sub TTEST $]
[- $bb = shift; -]
[- $aa = 3; -]
p$aa is [+$aa+]
[- $bb = $aa; -]
[$ endsub
I'm sure there are no other servers. I'm actually stopping my live server
to try this. I stop it, change the config file and start it - and it
doesn't come up and no server is running. So, I put it back and start it
and its OK again.
I tried "set args -X" in gdb, and the result was that
Hello, All
I currently have a caching module for dynamic pages that is loaded up upon
server startup. However, when each child process uses this module they
each create a copy of the modules caching hash.
I would like to have 1 copy of the caching hash in the parent process that
each child
I am using PerlRequire successfully on both:
Server: Apache/1.3.3 (Unix) mod_perl/1.16 mod_ssl/2.1.2 SSLeay/0.9.0b
AND
Server: Apache/1.3.9 (Unix) mod_perl/1.21 mod_ssl/2.4.8 OpenSSL/0.9.4
both on linux Linux Redhat 5.2 - kernal - 2.0.36
perl, version 5.005_02 built for i686-linux
Are perl and
On Mon, 13 Dec 1999, Alex Menendez wrote:
Hello, All
I currently have a caching module for dynamic pages that is loaded up upon
server startup. However, when each child process uses this module they
each create a copy of the modules caching hash.
I would like to have 1 copy of the
I was wondering what people have found to be the best setting for the
'KeepAliveTimeout'
for a backend modperl server that is proxypassed from a front end.
My hunch is:
On the front end, keep the normal setting (15 or so)
On the back end, set KeepAliveTimeout to 0 because above all, I do not
Perhaps I should have read the configuration first:
KeepAlive Off
This seems like the best setting?
This makes sense to me. Does it make sense to others?
[EMAIL PROTECTED]
http://www.datacrawler.com
It works, but I never thought i can use this way to pass parameter. Indeed
i never read this in "Programming Perl" book. Perhaps it is at some where
it the book
You can find all the infomations in the Perl man pages. Read
man perlsub
for example and you will find this information. Also
For now the output functions of Embperl can't handle binary data. What
you
can do is, set optEarlyHttpHeader (must be set in your httpd.conf), so
the
headers are send, before the page is generated. Now you are able to use
mod_perl's output function. You can simply use print (not [+ ... +]) to
Jech Bernard wrote:
For now the output functions of Embperl can't handle binary data. What
you
can do is, set optEarlyHttpHeader (must be set in your httpd.conf), so
the
headers are send, before the page is generated. Now you are able to use
mod_perl's output function. You can simply
It looks like the output function stops at the first null character
(C-style strings problem??).
Yes, I use C-string with terminating null. I knew this problem already and
it's on the todo list to change this.
ePerl does not have a problem with outputing binaries either. Look
at the
On Mon, 13 Dec 1999, Gerald Richter wrote:
The problem came up the first time about 3 weeks ago (Embperl is already 3
years old :-). I will of course change this in a further release so this
could also be done with Embperl, but that's not at the highest priority.
I think the problem is much
"Joseph R. Junkin" wrote:
Perhaps I should have read the configuration first:
KeepAlive Off
This seems like the best setting?
Yes, this is what I do too. The front end proxy
does not do keep alive requests anyway, but just to
be safe, you ought to disable them.
-- Joshua
I'm using Red HAT rpms plus mod_perl built on top of that. Your theory
about different compiler versions may be on the mark.
Using the rpms was a real convenience, but maybe I'm paying for it a bit
now.
Grab one from http://perl.apache.org/distributions.html (you owe this one
to David
- Original Message -
From: Gerald Richter [EMAIL PROTECTED]
To: Rolf Ohnmacht [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, December 13, 1999 5:41 AM
Subject: RE: EmbPerl use HTML::Embperl failed
"nmake test" did (and does) not work correct !!!
First nmake test must run
Now mod_perl and EmbPerl work fine on my NT+Win95 - I'm
daily impressed how fast it works!
But there are many open questions:
1.) 'PerlModule' ( eg. srm.conf ) or 'use HTML::Embperl' ( startup.pl) both
don't work! But if I leave it - no problem! Is this a special
"Win32-behaviour"?
I read some
'use HTML::Embperl' ( startup.pl) both don't work!
Is this a special "Win32-behaviour"?
I might be wrong, but I thought Embperl should never be loaded in startup.pl,
even in UNIX.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the
I use it from linux without a problem.
I think the problem had to do with dynamic libraries.
It is probably in the faq.
cliff rayman
genwax.com
"Eric L. Brine" wrote:
'use HTML::Embperl' ( startup.pl) both don't work!
Is this a special "Win32-behaviour"?
I might be wrong, but I thought
While debugging this error, I have found that if I preload all modules
after "use strict" and carp in a startup file, I see additional errors when
the modules compile. Sure I did see the errors, but why must I preload each
module in such a manner when it's not necessary except to check for
On Mon, 13 Dec 1999, Rolf Ohnmacht wrote:
Now mod_perl and EmbPerl work fine on my NT+Win95 - I'm
daily impressed how fast it works!
But there are many open questions:
1.) 'PerlModule' ( eg. srm.conf ) or 'use HTML::Embperl' ( startup.pl) both
don't work! But if I leave it - no problem!
1.) 'PerlModule' ( eg. srm.conf ) or 'use HTML::Embperl'
startup.pl) both
don't work! But if I leave it - no problem! Is this a special
"Win32-behaviour"?
I read some mails from the archives that I'm not the only one who has had
that
problem. But why do I need it when everything runs
are you still stuck on this? did you link mod_perl static or dso? if
dso, try static. you can also try configuring Perl with -Dusemymalloc=n,
but that comes with a large performance hit.
I've never had a problem with solaris and any combo of mod_perl/Perl
On Mon, 1 Nov 1999, Dan Rench wrote:
On Mon, 1 Nov 1999, Tubbs, Derric L wrote:
Well, I finally got it to work with Apache::Request. I had to do "$args =
Apache::Request-new($r);" and "$file = $args-upload;" in the handler sub
and then pass $args and $file to any other subs that needed it. Maybe this
is normal but if so I was
On Mon, 1 Nov 1999, James G Smith wrote:
I have some code working, but I'm curious as to why it has to work in the
way it does. The code:
package My::TAMU;
sub handler ($$) {
my $class = shift;
my $r = shift;
if($r-current_callback eq "PerlHandler" || # this one makes sense
On Mon, 1 Nov 1999, Robin Berjon wrote:
At 11:44 01/11/1999 -0800, Doug MacEachern wrote:
On Mon, 1 Nov 1999, Wyman Eric Miles wrote:
The next question is, when the cookie expires 2 hours later, the initial
SecurID user/password has long since expired. How do I cause the module
to force
thanks, I'll add this for 1.22.
On Tue, 2 Nov 1999, Yasushi Nakajima wrote:
Doug the handler() in Apache::PerlRun was not originally indended to be
Doug subclassed. however, if somebody submits a patch to make is
Doug subclass-able that doesn't break the way Apache::PerlRun currently works,
you need the cvs snapshot of mod_perl to use 5.005_62+, or wait for 1.22
On Tue, 2 Nov 1999, Arkadiy Goykhberg wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hello, I'm trying to compile mod_perl-1.21 as DSO module for apache
version 1.3.9 on Solaris 2.6
try Apache-request-get_server_name instead of hostname()
it's cheaper too, since Sys::Hostname::hostname forks, at least once
per-process. not so bad if you call it in the parent though (in a
PerlRequire script), then all children have the cached results
On Wed, 3 Nov 1999, Nick Urbanik wrote:
On 3 Nov 1999, Greg Stark wrote:
I'm trying to update to 1.3.9+1.21 but I'm having various problems:
1) The makefile seems to try to run ../apaci even though perl is two levels
deep, so it can't find ../apaci, it would have to be ../../apaci
=== src/modules/perl
gcc -I.
On Wed, 3 Nov 1999, Jeffrey Baker wrote:
There was a short discussion a while ago about getting mod_perl working
with Apache 2.0. Since Apache 2.0 can actually be built and run on a
few platforms now, I think it is worth taking a lot at this for real.
I started to fiddle with 5.005_63 and
did you ever get this sorted out? looks like an rpm version of Perl
maybe? have you tried configuring/build Perl from source?
On Thu, 4 Nov 1999, Eva Neuberger wrote:
Hallo,
I'm trying to install mod_perl_1.21 with apache 1.36 perl 5.005_03
and Linux Kernel 2.2.10
I follow the
On Mon, 8 Nov 1999, Brad Bonkoski wrote:
This message was sent from Geocrawler.com by "Brad Bonkoski" [EMAIL PROTECTED]
Be sure to reply to that address.
Hello, I am trying to build mod_perl and PHP together with apache and this is a
sample of what I am getting:
===
try adding:
PerlModule Apache
to your httpd.conf
On Tue, 9 Nov 1999, Shay Mandel wrote:
Hi all,
It is my first time I am building the apache with the mod_perl enabled.
I have installed it as static module. Then I compiled the apache
(1.3.9). Everything passed ok (I skipped the make test
more details please, Makefile.PL options, etc.
On Thu, 11 Nov 1999, Dominic A. V. Amann wrote:
I am trying to build apache 1.3.9 (or 1.3.anything)
with mod_perl. It builds fine without, on libc-2.0.7 platform,
using gcc 2.7.2.3
I have tried many options in the APACI make process, all
see Apache::RedirectLogFix
On Thu, 11 Nov 1999, Bill Moseley wrote:
In an Apache::Registry script I'm print()ing
Status: 304 Not Modified
when the client sends an If-Modified-Since: header.
The 304 error is returned to the client properly, but the log file shows a
200 status. Can
can you get a stacktrace with gdb? see the SUPPORT doc for hints.
On Tue, 16 Nov 1999, Tony Demark wrote:
I have compiled the following:
Apache 1.3.9
mod_perl 1.21 (PERL_AUTHEN PERL_LOG PERL_STACKED_HANDLERS)
on:
Ultra 10
Solaris 7
with:
gcc
On Thu, 18 Nov 1999, Ekaterina Ivannikova wrote:
Hi All!
I should have mentioned that there is a Safe.pm 2.06
in perl5 directory tree. But after browsing modperl
archive I was under the impression that a special
Apache::Safe was needed due to some subtle problems.
Is it not so ? It seems
On Thu, 18 Nov 1999, John S. Evans wrote:
I've been attempting to write a perl module that handles POSTs of type
multipart/form-data, and have been having a rough time.
I'm using Apache::Request to process the request. I have dumped the
content-type of the incoming request, and verified
On Fri, 19 Nov 1999, John Siracusa wrote:
Apache::Cookie seems to have two different interfaces...or maybe there
are two different distributions of Apache::Cookie? Whatever it is, the
interface seems different on two machines here at work. One has 5.004
and one has 5.005, but that
why don't you just use a PerlAuthenHandler? see chapter 6 online at
modperl.com
On Tue, 23 Nov 1999, Trevor Phillips wrote:
I've written an Authentication Handler using the Access phase, where someone
must validate themselves before accessing a resource. The way I've done it, if
the client
My CPU-based limiter is working quite nicely. It lets oodles of
static pages be served, but if someone starts doing CPU intensive
stuff, they get booted for hogging my server machine. The nice thing
is that I return a standard "503" error including a "retry-after", so
if it is a legitimate
Here's a snip from an email that I just receved from one of your
co-workers, Alex Shah [EMAIL PROTECTED] in response to this same
email:
---begin quote
Why the comparison with mod_perl? This was part of the agreement we
made with Sun in order to bundle our product with their web
the TypeHandler phase will override your changes, I think. try setting
$r-handler with a PerlTypeHandler, apache stops after the first one
returns OK, so mod_mime won't stomp your $r-handler settings in that
case.
On Thu, 25 Nov 1999, Trevor Phillips wrote:
I'm trying to write an access
On Fri, 26 Nov 1999, Ken Williams wrote:
Hi,
I've got an ISP running Apache/1.3.4 mod_perl/1.18, and I'm trying to get them
to fix some of the broken functionality therein by upgrading to the latest
versions. I really need the latest CVS snapshot so that Perl sections work
correctly,
On Mon, 29 Nov 1999, Michael Dearman wrote:
...
When looking at http_config.h at the handler_rec structure, the elements
don't seem to match the way they're used in the example in the book.
Going to the book site, the src's for the examples are NOT available.
*shrug*
all of the book source
On Thu, 2 Dec 1999, Brian S. Craigie wrote:
Hi Doug,
Thanks and sorry if I looked impatient :-)
nah, sorry if I looked like I thought you looked impatient ;-)
I'm glad that this was spotted. I thought I was doing something wrong. I'm
assuming you are referring to the cvs snapshot of
58 matches
Mail list logo