Pierre Laplante wrote:
I do not use mod_perl with CGI emulation.
Actually PerlSetupEnv is on by default. Put PerlSetupEnv Off in your
httpd.conf.
Here is my mod_perl code:
You are not running the same Perl code in both situations. Under
mod_perl, you are using Apache::File and various
Hi Josh,
How about the dual setup, a plain Apache + a mod_perl
Apache, which some mod_perl sites are based on? Another
interesting candidate is fastCGI.
Peter
We get very similar numbers in our benchmarking. Please see
the benchmarks I have published on this at:
Hi folks. I'm new to the list, and relatively new to mod_perl, but a
big project thrown my way put me right in the middle, and I think I've
fared well so far, with one exception... file uploads. I've based my
code off the apache::request documentation and the file upload code
snippet posted
(replying to self in true newbie style)
On Thu, Sep 12, 2002 at 12:08:11PM -0700, Alan wrote:
# This is a copy of the form code from the snippets page
sub form {
use Apache::Request;
my $r = Apache-request();
my $apr = Apache::Request-new($r, DISABLE_UPLOADS = 1);
The
[snip]
# This is a copy of the form code from the snippets page
sub form {
use Apache::Request;
my $r = Apache-request();
my $apr = Apache::Request-new($r, DISABLE_UPLOADS = 1);
I think DISABLE_UPLOADS should be 0, not 1. I can't find any other
obvious errors in what you
On Thu, Sep 12, 2002 at 03:24:50PM -0400, Geoffrey Young wrote:
[snip]
# This is a copy of the form code from the snippets page
sub form {
use Apache::Request;
my $r = Apache-request();
my $apr = Apache::Request-new($r, DISABLE_UPLOADS = 1);
I think DISABLE_UPLOADS should
Alan,
Much easier to read would be:
sub handler {
my $r = Apache::Request-new(shift);
my $file_name = $r-param('see_below');
my $file = $r-upload('see_below');
if ($file) {
# here you go...
# filehandle is in $file-fh;
}
}
On the HTML side, input type=file
Note: If you ever use them in file posts, don't forget to clean the file
names, especially when it comes from Windows machine...
I've found this to be reasonably portable for getting just the
filename (sans path) - YMMV
my ($name) = $upload-filename =~ m!([^/\\]*$)!;
--Geoff
Hey,
Apache::ASP v2.39 is released to CPAN. This is a minor
bug fix release below are the changes. For more on
Apache::ASP, please see http://www.apache-asp.org
Regards,
Josh
Josh Chamas, Founder
Hi folks,
I'm a new user to mod_perl. I'm using Apache::Registry to run some scripts
that have been written using the CGI::Application framework. Previously,
under mod_cgi, I've been using the CGI::Carp set_message method of
capturing a die and returning a customized error message to the
Hi there,
On Wed, 11 Sep 2002, Francisco Corella wrote:
The Modules book by Lincoln Stein and Doug MacEachern (pp.464-465)
says that Apache::exit() can be used to halt script execution
without terminating the process and without logging an error.
Ask yourself why you want to call an exit()
Hi,
is there a way to subscribe to mod_perl digest only?
The page http://perl.apache.org/maillist/modperl.html
lists strangely the same address as for normal subscr.
Thanks
Alex
-Original Message-
From: ext [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12,
Sorry!! I actually wanted to send this mail
to [EMAIL PROTECTED] not modperl@
is there a way to subscribe to mod_perl digest only?
The page http://perl.apache.org/maillist/modperl.html
lists strangely the same address as for normal subscr.
On Thu, 12 Sep 2002 [EMAIL PROTECTED] wrote:
Hi,
is there a way to subscribe to mod_perl digest only?
The page http://perl.apache.org/maillist/modperl.html
lists strangely the same address as for normal subscr.
That's a typo then; it should be
[EMAIL PROTECTED] to subscribe to the digest.
Hi Gerald,
I have been having exactly the same problems. My set up is:
IE 5.5, SP2 (I also have tried with IE6 -same problem)
NT 4.0 SP6
Webserver: Apache 1.3.26 running on solaris 8.
At first I was using Apache::AuthenNTLM 0.14 and I couldn't get any POSTs to
go through, after I upgraded to
At 04:19 13.09.2002, Ask Bjoern Hansen wrote:
On Thu, 12 Sep 2002 [EMAIL PROTECTED] wrote:
Hi,
is there a way to subscribe to mod_perl digest only?
The page http://perl.apache.org/maillist/modperl.html
lists strangely the same address as for normal subscr.
That's a typo then; it
16 matches
Mail list logo