Hi all,
I
am new to perl programming. I am working in a project where I need to upload
some files in a web interface. I used HTML file upload object with POST
method. My question how do I receve the uploded file on the server side.
Is there is any module o call in PERL to do this job.
Vivek Khera wrote:
"DH" == Dave Hodgkinson [EMAIL PROTECTED] writes:
DH I'm currently arguing about this very thing with my BOFH - I think we
DH should have, effectively, an SSI apache and a mod_perl apache, he's
I tend to call mod_perl scripts from my SSI's, so it makes sense for
me
On Wed, 3 May 2000, Srinidhi Rao S wrote:
Hi all,
I am new to perl programming. I am working in a project where I
need to upload some files in a web interface. I used HTML file upload
object with POST method. My question how do I receve the uploded file
on the server side. Is there
I would like to make a list of ScriptAliases like this
ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/"
ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/"
and did this:
Perl
my $cgi_users = qw(xx yy);
for ($cgi_users) {
push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin";
}
/Perl
but it did not work.
What
I would like to make a list of ScriptAliases like this
ScriptAlias "/cgi-xx" "/users/xx/cgi-bin/"
ScriptAlias "/cgi-yy" "/users/yy/cgi-bin/"
and did this:
Perl
my $cgi_users = qw(xx yy);
for ($cgi_users) {
push @ScriptAlias, "/cgi-$_", "/users/$_/cgi-bin";
}
/Perl
but it did
Hello Matt,
÷åòâåðã, 27 àïðåëÿ 2000 ã., you wrote:
doing - and the TCP listen queue will hold a few more
connections if you are slightly short of backends.
MS Is there any benefit of mod_proxy over a real proxy front end like "Oops"?
I don't think so, at least for "accelerator" application
Hi. I'm having two problems with Perl sections --- one resulting in
a server coredump, and the other just odd. My test configuration is
Apache/1.3.12 and mod_perl_1.23 built from distributed sources with:
perl Makefile.PL DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 PERL_TRACE=1
Hi ppl, my home webserver still eating all the memory, it swap very much,
the disk light is On all the time and the system almost freeze until I stop
the webserver... here are some parameters of my configuration
Timeout 150
keepalive on
MaxKeepAliveRequest 70
keepAliveTimeout 15
I'm not sure if this is even a problem but it's always
been on my mind. I use Apache::DBI and I have a general
module that handles db connections for my scripts. Here's
the relevant portion:
my $DBH ||= DBI-connect("...")
It basically accepts a hash ref to the dbconfig and opens
a connection.
On Wed, 3 May 2000, Jim Serio wrote:
I'm not sure if this is even a problem but it's always
been on my mind. I use Apache::DBI and I have a general
module that handles db connections for my scripts. Here's
the relevant portion:
my $DBH ||= DBI-connect("...")
It basically accepts a hash
Are you sure it's not:
Opening connections with different parameters
http://perl.apache.org/guide/databases.html#Opening_connections_with_differe
Oops. I forgot I had two seperate db accesses on this
particular page and running with $Apache::DBI::DEBUG = 1
clued me in. So am I correct in
What´s better?
Make httpd from mod_perl or make prep_httpd and then make httpd from apache?
I hope you understand my question.
Nazarenowww.obsequie.com
-Original Message-
From: Jim Serio [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 10:02 AM
To: [EMAIL PROTECTED]
Subject: Apache::DBI
I'm not sure if this is even a problem but it's always
been on my mind. I use Apache::DBI and I have a general
module that handles
I've noticed that my httpd's will start thrashing whenever I get an syntax
error in a mod_perl program.I'm very careful to do a perl -c program
before I try running it from the web or else I will need to stop/start the
web server.
Joe Pearson
Database Management Services, Inc.
208-384-1311
Apache::print() dereferences its arguments. For example, this code:
my $foo = "bar";
$r-print(\$foo);
prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone
explain the purpose of this behavior, or is it a misfeature? In my case,
this is not the desired behavior.
-jwb
I do the same thing, but my memory is out in a little while...
the error_log begin to send me out of memory!!!
any idea?
Nazarenowww.obsequie.com
On Wed, 3 May 2000, Jeffrey W. Baker wrote:
Apache::print() dereferences its arguments. For example, this code:
my $foo = "bar";
$r-print(\$foo);
prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone
explain the purpose of this behavior, or is it a misfeature? In my
"Jeffrey W. Baker" [EMAIL PROTECTED] writes:
Apache::print() dereferences its arguments. For example, this code:
my $foo = "bar";
$r-print(\$foo);
prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone
explain the purpose of this behavior, or is it a misfeature? In my
"Jeffrey" == Jeffrey W Baker [EMAIL PROTECTED] writes:
Jeffrey Apache::print() dereferences its arguments. For example, this code:
Jeffrey my $foo = "bar";
Jeffrey $r-print(\$foo);
Jeffrey prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone
Jeffrey explain the purpose of this
interesing behavior - print behaves the same way...
however, when you concat the reference to another scalar things work
right...
$r-print($foo.\$foo);
yields:
fooSCALAR(0xXWHOOPSX)
--Geoff
-Original Message-
From: Jeffrey W. Baker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May
I recently posted a question regarding installing mod_perl-1.23 on
Apache_1.3.12, I have not received any answer yet. I'm wondering if I'm the
only one who had this problem. I searched through the web but cannot find
any answers. I thought the test was failed because the system was not
On Wed, 3 May 2000, Geoffrey Young wrote:
interesing behavior - print behaves the same way...
http://perl.apache.org/guide/porting.html#Apache_print_and_CORE_print_
Under mod_perl CORE::print() will redirect its data to Apache::print()
since the STDOUT filehandle is tied to the Apache
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 2:07 PM
To: Geoffrey Young
Cc: mod_perl list
Subject: RE: Why does $r-print() dereference its arguments?
On Wed, 3 May 2000, Geoffrey Young wrote:
interesing behavior - print
Don't I have to run the make test first?
Here is the procedure I used to build the stuff:
1. perl Makefile.PL APACHE_SRC=../apache_1.3.12/src DO_HTTPD=1 USE_APACHE=1
EVERYTHING=1
2. make
3. make test (failed here)
I didn't try to start it manually. I will give it a try!.
-Original
Just tried, didn't work.
James
-Original Message-
From: FEITO Nazareno [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 11:10 AM
To: 'James Xie'
Cc: '[EMAIL PROTECTED]'
Subject: I did have the same trouble...
first... before run make test you have to be sure that httpd isn´t
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 03, 2000 2:23 PM
To: Geoffrey Young
Cc: mod_perl list
Subject: RE: Why does $r-print() dereference its arguments?
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
On 3 May 2000, Chip Turner wrote:
"Jeffrey W. Baker" [EMAIL PROTECTED] writes:
Apache::print() dereferences its arguments. For example, this code:
my $foo = "bar";
$r-print(\$foo);
prints "bar" instead of the expected SCALAR(0xDEADBEEF). Can anyone
explain the purpose of
I recall someone posting a note about a PPM for DBD::mysql.
Can someone please post that location again?
Muchos gracias.
--
__
Mr. Erich L. Markert [EMAIL PROTECTED]
Computer Learning Center TEL
Stas Bekman wrote:
the guide is getting so big these days, it's hard to keep up with all the
new developments. Or maybe that entered a few versions ago :) It's along
way from the mini-guide that got me started...
___cliff rayman___ wrote:
any thoughts on creating a search
Hello everyone,
I have quite a few virtual hosts on my Apache server. I'm trying to
implement their configuration in PERL sections instead of the current
method bunch of VirtualHost directives.
I use the "combined" transfer log, previously defined like this:
TransferLog
Am 3 May 2000, um 15:14, hat Srinidhi Rao S folgendes geschrieben:
Hi all,
I am new to perl programming. I am working in a project where I need to
upload some files in a web interface. I used HTML file upload object with
POST method. My question how do I receve the uploded
I have a large modperl site with modperl (CGI) scripts and command-line perl
scripts.
My command line scripts load modules (.pm files) that use Apache::exit().
This is giving me the following errors:
**
Bareword "Apache::exit" not allowed while "strict subs" in use at
Hi,
I build the apache1.3.12 using mod_perl 1.23 on Solaris 2.6 machine,
everything looks fine and installed successfully (at least the installation
program told me so...)
But when I start httpd using apachectl start, httpd did not start within
error_log there is a message "Apache.pm failed to
You should post the code in question. Your message isn't very clear but if
I was to guess, you're trying to run a regular ol' command line Perl script
under Apache::Registry which has more than a few caveats.
--Jeff
At 04:00 PM 5/3/00, Franco Finstad wrote:
I have a large modperl site with
Did it pass 'make test'? And, not meaning to insult, did you run 'make
install' in the mod_perl directory?
--Jeff
At 07:01 PM 5/3/00, Wang, Pin-Chieh wrote:
Hi,
I build the apache1.3.12 using mod_perl 1.23 on Solaris 2.6 machine,
everything looks fine and installed successfully (at least the
At 11:56 AM 5/3/00 -0700, Jeffrey W. Baker wrote:
On 3 May 2000, Chip Turner wrote:
"Jeffrey W. Baker" [EMAIL PROTECTED] writes:
Apache::print() dereferences its arguments. For example, this code:
my $foo = "bar";
$r-print(\$foo);
prints "bar" instead of the expected
On Tue, 25 Apr 2000 [EMAIL PROTECTED] wrote:
Let me know when you want the garbage collector. I'll re-write it in
apache style, and add some debugging stuff. I figure there should be
two pieces. One that analyzes the packages that are running, the
other that actually kills off variables.
hi,
I'm looking for some good ideas on developing web sites w/ mod_perl. One
think we were looking at was to write template HTML pages, and run them
through a perl prg to replace home made tags w/ data.
Another was to write an apache mod that will contain/load the HTML on the
first hit and
On Wed, 26 Apr 2000, raptor wrote:
What about a Apache2::XXX namespace for the new modules ...??!
just asking.
not quite, but there's a MP_INST_APACHE2=1 Makefile.PL attribute which
will install everything relative to an Apache2/ subdirectory. this way
1.xx mod_perl and 2.xx can co-exist in
On Wed, 26 Apr 2000, Alex Krohn wrote:
Hi!
I'm trying to get Apache::VMonitor to load on a new mod_perl 1.23/Apache
1.3.12/perl 5.005_03 installation. mod_perl is up and running fine,
however I can't get Apache::VMonitor working. If I add
[Wed Apr 26 16:13:45 2000] [error] Can't locate
On Thu, 27 Apr 2000, Stas Bekman wrote:
On Tue, 25 Apr 2000, Doug MacEachern wrote:
On Fri, 21 Apr 2000, Greg Cope wrote:
Does this mean that we {will|may} be able to use the interpreter pool to
set up X Perl interpreters (say 20 to service dynamic handlers) with Z
apache (say
On Thu, 27 Apr 2000, Jean-Sebastien Morisset wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I first tried to compile mod_perl-1.22 using APXS, but whenever I would
load the module, the Apache child would die.
Here's the command line I used:
perl Makefile.PL NO_HTTPD=1
On Thu, 27 Apr 2000, Jerrad Pierce wrote:
[Thu Apr 27 06:14:07 2000] [error] [asp] [2726] cannot load Apache::Symbol
for UndefRoutine: Can't locate Devel/Symdump.pm in @INC (@INC contains:
why does Apache::ASP use Apache::Symbol::undef? that hack should be
obsolete, as it was only need to
On Fri, 28 Apr 2000, Dominic Blythe wrote:
please reply to [EMAIL PROTECTED] as i'm not on the list...
on Corel Linux (which is Debian slink)...
I'm compiling mod_perl into apache 1.3.xx (19 i think) and all the mod_perl
make, make install goes ok. APACI ./configure is fine too, but when
On Fri, 28 Apr 2000, James Xie wrote:
Helllo,
I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1,
everything was working fine. I run into problems when I tried to install
mod_perl-1.23. Everything was compiled ok, but I got error messages (see
below) when I try to run the
On Mon, 1 May 2000, Matt Sergeant wrote:
It would be nice, in my opinion, to have some way of doing:
PerlAddVar Fred "Value 1"
PerlAddVar Fred "Value 2"
And then in your script:
my @values = $r-dir_config('Fred');
which gets ("Value 1","Value 2") in @values.
Any thoughts on
On Mon, 1 May 2000, Stas Bekman wrote:
That [the name] would be confusing. How about:
not if you think of it in terms of an apache table:
PerlSetVar = ap_table_set
PerlAddVar = ap_table_add
47 matches
Mail list logo