Hi,
I have probelms with modperl installation; have read through the manuals and
also mailing lists but was not able to solve the probelm. Any help will be
highly appreciated :)
I installed modperl and apache, and configured it in httpd.conf like
LoadModule perl_module modules/mod_perl.so
[EMAIL PROTECTED] wrote:
'SCRIPT_NAME' = '/perl/test.pl',
'SERVER_NAME' = 'localhost',
'SERVER_ADMIN' = '[EMAIL PROTECTED]',
'HTTP_ACCEPT_ENCODING' = 'gzip,deflate',
'HTTP_CONNECTION' = 'keep-alive',
'REQUEST_METHOD' = 'GET',
'HTTP_ACCEPT' =
I tried to execute perl scripts from the /perl dir and it works. But when I
print the environment; the GATEWAY_INTERFACE prints CGI/1.1. I beleive something
is wrong somewhere; I tried different things as mentioned in mod_perl 2 server
configuration document from Apache but was not able to solve
Hi, I've been using Apache::Session w/ mod_perl which seems to work nicely.
But I have a question -- this seems to be mostly for data. What about say
a network connection (i.e. I'd like to have one connection per user session
to a back-end server. The db persistent connections sort of do this I
I have an intresting problem, I have a test server running windows 2k,
Activestate perl and apache 2.
I have loaded the perl module mod_perl.so as well as told it to use
C:/Perl/bin/perlxx.dll.
In the httpd.conf I have commented out the script alias and add ExecCGI to the
options, then added
Forgive my poor perl and understanding of how this works!
I'm trying to grab images from a form, using libapreq2,
and I'm seeing this error :
[Sun Nov 07 10:52:34 2004] [error] Can't locate object method upload
via package Apache::RequestRec at /home/benfab/lib/BF.pm line 135.\n
I've a library I'm
Carl Brewer wrote:
sub get_uploaded_image {
my ($name, $max_size, $r) = @_;
use Apache::Upload;
my $req = Apache::Request-new($r);
my $upload = $req-upload($name);
my $upload = $r-upload($name);
print STDERR $upload-filename();
}
They're pretty crude, but hash_post does what I
Tom Schindl wrote:
Carl Brewer wrote:
sub get_uploaded_image {
my ($name, $max_size, $r) = @_;
use Apache::Upload;
my $req = Apache::Request-new($r);
my $upload = $req-upload($name);
I've got that in my subroutine and it works, but I'm concerned
that I'm dipping into the buckets too much?
On Thu, 4 Nov 2004, Luke wrote:
I have an intresting problem, I have a test server running windows 2k,
Activestate perl and apache 2.
I have loaded the perl module mod_perl.so as well as told it to use
C:/Perl/bin/perlxx.dll.
In the httpd.conf I have commented out the script alias
and add