Hi,
I am new to this list, but I have tried looking through the docs at CPAN and
googling for people with similar problems to no avail.
We have upgraded our server to apache2 + mod_perl2. I used to have a routine
that took a file upload from a multipart form and handed it as a stream to
Imager an
Pete Smith wrote:
Hi,
I am new to this list, but I have tried looking through the docs at CPAN and
googling for people with similar problems to no avail.
We have upgraded our server to apache2 + mod_perl2. I used to have a routine
that took a file upload from a multipart form and handed it as a st
> no, no, you have confused something. You need a new version of
> Apache::Request
> which is still in beta. Please take a look at:
> http://httpd.apache.org/apreq/
> Also please notice that it has its own mailing list if you have any
> questions.
Thanks for your help. I've installed it, and Apach
I'm trying to install libapreq2-2.02-dev on FreeBSD 4.9 with Perl 5.6.1
and Apache 2.048 mod_perl2-1.99r12 all installed from ports.
Things that needs to be changed:
Build with gmake - not the FreeBSD make!
src/Makefile - Add -L/usr/local/lib to the following line so expat lib
is found:
LIBS =
Original Message
Subject:NTLM Authentcation
Date: Thu, 15 Jan 2004 20:14:51 +
From: Darryl L Miles <[EMAIL PROTECTED]>
Organization: E-Smart Integrations Ltd
To: [EMAIL PROTECTED]
Hi,
Sorry to trouble you but you're name has cropped up in many modperl
f
Hello,
here is the requested information.
Thanks for the support, :)
Steve Larson
[EMAIL PROTECTED]
-8<-- Start Bug Report
8<--
1. Problem Description:
I can explain the reason I was using the apr-config
file, due to the several which exist:
[EMAIL PROT
"Pete Smith" <[EMAIL PROTECTED]> writes:
[...]
> my $image_upload = $r->upload('image');
> my $file_handle = $image_upload->fh();
>
> read ($file_handle, my $full_image_data, (stat($file_handle))[7]);
>
> my $imager = Imager->new();
>
> $imager->open(data => $full_image_data, type => 'jpeg');
Martin Nilsson <[EMAIL PROTECTED]> writes:
> I'm trying to install libapreq2-2.02-dev on FreeBSD 4.9 with Perl
> 5.6.1 and Apache 2.048 mod_perl2-1.99r12 all installed from ports.
Wonderful! Thanks alot!
[...]
> Files:
> ///usr/local/lib/perl5/5.6.1/man/man3/Apache::Cookie.3
> ///usr/local/lib
i just figured something like this out on perlmonks.org:
http://www.perlmonks.org/index.pl?node_id=320770
On Fri, 2004-01-16 at 11:02, Joe Schaefer wrote:
> "Pete Smith" <[EMAIL PROTECTED]> writes:
>
> [...]
>
> > my $image_upload = $r->upload('image');
> > my $file_handle = $image_upload->fh()
> In your mp1 code, you are simply slurping the upload into
> $full_image_data; with apreq2 you can do that with a bucket
> brigade via
>
> my $bb = $req->upload('image')->bb;
> my $full_image_data = "";
>
> while (my $b = $bb->first) {
> $b->read(my $buffer);
> $full_image_data
(I have sent this mail from another address and it has not be received, so i re-send
again)
Once i have installed the last windows version of modperl2, i try to transcript some
apache code of my httpd.conf into perl sections.
I have this block in my httpd.conf (i post two times)
--
Geoffrey Young <[EMAIL PROTECTED]> writes:
[...]
> I'm not as familiar with brigades as I should be, but does
> it save you the iteration process or is it just a substitute for
> reading to a buffer?
It'd save you the iteration process (it's an APR::Brigade method,
not APR::Bucket), but would n
Joe Schaefer wrote:
> Geoffrey Young <[EMAIL PROTECTED]> writes:
>
> [...]
>
>
>>I'm not as familiar with brigades as I should be, but does
>>it save you the iteration process or is it just a substitute for
>>reading to a buffer?
>
>
> It'd save you the iteration process (it's an APR::Briga
Geoffrey Young <[EMAIL PROTECTED]> writes:
> Joe Schaefer wrote:
> > my $upload_data = $req->upload('file')->bb->flatten;
>
> oooh, nice. I can definitely see that being a useful idiom.
Not sure if it'd be better for flatten to take $upload_data as
an argument and return a status code instea
Hi ppl,
I've started programming with Perl some months ago and I want to switch
to mod_perl for my website (my older website is an asp website).
I readed the tutorials on perl.apache.org but I am still very confused
and don't know how to start my new website with mod_perl.
Actually :
1. I have o
On Mon, 2004-01-12 at 17:55, Stas Bekman wrote:
> Rafael Caceres wrote:
> > I'm setting up a HTTP/HTPPS reverse proxy server with apache on my DMZ.
> > The proxy will access an internal server (insidelan.server.com) to
> > provide content to outside users.
> > I've attempted using mod_proxy:
> >
>
Hemond, Steve <[EMAIL PROTECTED]> wrote
> Actually :
> 1. I have only one website running on my Apache webserver (in /htdocs/)
Maybe if you show us the relevant portions of your httpd.conf file we could
point you in the right direction since this is were most of that is set up.
> 2. I would like
Here are snippets of my httpd.conf file :
-
...
LoadModule perl_module modules/mod_perl.so
...
DocumentRoot "/usr/local/apache2/htdocs"
...
Options Indexes +Includes +ExecCGI
AllowOverride None
Order allow,deny
Allow from all
...
AddHandler
"Hemond, Steve" <[EMAIL PROTECTED]> wrote
> Here are snippets of my httpd.conf file :
> -
> ...
> LoadModule perl_module modules/mod_perl.so
> ...
> DocumentRoot "/usr/local/apache2/htdocs"
> ...
>
> Options Indexes +Includes +ExecCGI
> AllowOverride
I looked for a flexible bandwidth limiting solution that would let me
apply limits to a location, vhost, the whole server, and on either a
per-client or global basis.
I couldn't find one, but I may have missed something obvious. I know that
neither mod_throttle or mod_bandwidth are flexible enoug
Joe Schaefer wrote:
Geoffrey Young <[EMAIL PROTECTED]> writes:
[...]
I'm not as familiar with brigades as I should be, but does
it save you the iteration process or is it just a substitute for
reading to a buffer?
It'd save you the iteration process (it's an APR::Brigade method,
not APR::Buck
steve larson wrote:
I can explain the reason I was using the apr-config
file, due to the several which exist:
[...]
*** Makefile.PL options:
MP_APR_CONFIG =>
/usr/local/source/apache2/srclib/apr/apr-config
MP_APXS =>
/usr/local/apache2/httpd/prefork/bin/apxs
MP_AP_PREFIX=> /us
Martin Nilsson wrote:
I'm trying to install libapreq2-2.02-dev on FreeBSD 4.9 with Perl 5.6.1
and Apache 2.048 mod_perl2-1.99r12 all installed from ports.
Things that needs to be changed:
Build with gmake - not the FreeBSD make!
src/Makefile - Add -L/usr/local/lib to the following line so expat l
gerard uolaquetalestem wrote:
(I have sent this mail from another address and it has not be received, so i re-send again)
Once i have installed the last windows version of modperl2, i try to transcript some
apache code of my httpd.conf into perl sections.
I have this block in my httpd.conf (i post
petersm wrote:
[...]
Try adding this line
'AddHandler perl-script .cgi .pl'
inside of your tags. After you do that, what do you get
when you put a test .cgi or .pl file into the /usr/local/apache2/htdocs/ dir
and try and run it.
How is it going to work without PerlHandler?
Steve, I supposed you'v
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
> It doesn't sound like a good idea. Users ain't need to mess with
> bucket brigades, unless they really want to. If the upload is always
> going through the temp file, why making things complex for the users?
Exactly because it is NOT always going
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
It doesn't sound like a good idea. Users ain't need to mess with
bucket brigades, unless they really want to. If the upload is always
going through the temp file, why making things complex for the users?
Exactly because it is NO
Joe Schaefer wrote:
[...]
I'm not against adding the perl glue for APR::Brigade::flatten, quite
on the opposite I'm all for it. All I was saying is that users don't
need to know about the existance of APR::Brigade at all. Not only
because it's an unnecessary information to 99.9% of users out there,
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
> You need the filehandle only if you use the temp file. In which case
> bbs are irrelevant. If you use slurp then there is are no
> filehandles. I think these are orthogonal.
Agreed- my earlier +1 was for both adding a slurp() method and
marking th
Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:
[...]
You need the filehandle only if you use the temp file. In which case
bbs are irrelevant. If you use slurp then there is are no
filehandles. I think these are orthogonal.
Agreed- my earlier +1 was for both adding a slurp() method
30 matches
Mail list logo