Image::Magick and mod_perl

1999-01-17 Thread Todd Finney
We're putting together a site that involves processing images uploaded by our users. I'm using Image::Magick to resize the images to a standard size, and to create thumbnails.We will have an upload page, which hits a CGI under mod_perl that handles the form data and processes the image. I a

Apache::ASP and server-side includes

1999-01-17 Thread Andrew Mayo
Is it possible to configure Apache so that .asp files also support server-side includes?. I can configure Apache to successfully make .shtml files support server-side includes but the asp files have a .asp extension and if I change the handler for that, I'll end up disabling Apache::ASP. How do I

Re: ANNOUNCE: HTML::Embperl 1.2.0

1999-01-17 Thread Ajit Deshpande
On Wed, Nov 17, 1999 at 08:23:07AM +0100, Gerald Richter wrote: > The URL > ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.2.0.tar.gz > has entered CPAN as [...] Are Gerald's and Jeffrey's Apache::Session back in sync now? Ajit

CONTINIUS ERROR

1999-01-17 Thread Christian Callejon
Hello, i dont undestand this error please HELP ME..!! TKS Errors Output > Falla al preparar SELECT * from registrado , /usr/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1142 Debug Output > STARTING ASP HANDLER (v0.17) for file /usr/apache/htdocs/christian/inicio.html > GlobalASA package

multipart/form-data

1999-01-17 Thread John S. Evans
I need to implement an HTTP API that will be used to transfer random pieces of information (some small, some large) to our server. I was thinking of using multipart/form-data to accomplish this, since I was assuming that there'd be tools on the server-side to help me deal with the incoming onslau

chunked POST

1999-01-17 Thread Tom Amiro
I hope this is a good forum for this question, if not let me know a better one. I'm running some automated tests against Apache, and have gotten fails with chunked POSTs. I've found information on ApacheWeek saying support  of HTTP 1.1, included the ability to:     Receive chunked POST an

Apache::ASP config question

1999-01-17 Thread Brad Babb
Hi, I'm about to put a site into production using Apache::ASP, and need to have a development side to the site to continue working. I won't to be able to have 2 difference Application, one for the production side, and one for the development side. What do I need to do to make this work. I tried

multipart POST problems

1999-01-17 Thread John S. Evans
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 that it's "multipart/form-data". I can use param(

multipart POST problems

1999-01-17 Thread John S. Evans
This is a resend - for some reason I'm having problems sending to the list from my main email account. Doh! -jse 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

ANNOUNCE: CGI::WeT 0.71

1999-01-17 Thread James G Smith
The uploaded file CGI-WeT-0.71.tar.gz has entered CPAN as file: $CPAN/authors/id/J/JS/JSMITH/CGI-WeT-0.71.tar.gz size: 40841 bytes md5: 78528519a7a96511b96064d9a4d750ce CGI::WeT is a package to help build a website with the ability to offer different views for the same content. CGI

Re: Stonehenge::Throttle, round 2 - CPU used by an IP

1999-01-17 Thread Ask Bjoern Hansen
On Tue, 16 Nov 1999, Matt Sergeant wrote: > For the unique IP in _most_ firewall cases, take the last comma separated > value of the X-Forwarded-For header: $r->headers_in->get('x-forwarded-for'); except for all the clients at 192.168.1.100 (etc). So you would have to get into "real ip / forwar

Re: ANNOUNCE: HTML::Embperl 1.2.0

1999-01-17 Thread G.Richter
> On Wed, Nov 17, 1999 at 08:23:07AM +0100, Gerald Richter wrote: > > The URL > > ftp://ftp.dev.ecos.de/pub/perl/embperl/HTML-Embperl-1.2.0.tar.gz > > has entered CPAN as > [...] > > Are Gerald's and Jeffrey's Apache::Session back in sync now? > I have moved the interface between Apache::Sess

RE: perl variable in configs for few virtual servers

1999-01-17 Thread Eric Cholet
Andrei, I do not see this behavior if I use PerlSetVar directly inside a section instead of via a ResourceConfig. I do see it if I move the directive to the main server, so I suppose it's a scope issue with ResourceConfig. > It's Apache 1.3.9, mod_perl 1.21 on Linux. > > The only change I hav

RE: multipart POST problems

1999-01-17 Thread Tubbs, Derric L
My understanding is that upload() is only for only and that param() handles all of the other form elements. That's how I've implemented it here and all works as expected. BTW, I don't do any checking to see how the form was submitted. I use Apache::Request for all of my form submission methods

RE: multipart/form-data

1999-01-17 Thread Tubbs, Derric L
Like I said in my other post, I use Apache::Request for all of the various form submission methods and everything works fine and it allows me to handle every type of submission with the same calls. It's less to remember when coding. I had problems at first getting uploads to work but that turned

Apache and too many children

1999-01-17 Thread Anthony Gardner
All, Apache is spawning too many children. At present I've set MinSpareServers 5 and MaxSpareServers 7 for testing but I now have 13 of them running!! Is/Has anyone had problems of this nature? If so, was it Apache or the OS?? Current OS HP-UX 10 with all current patches applied. Thanks in Ad

RE: Apache and too many children

1999-01-17 Thread Eric Cholet
> All, > > Apache is spawning too many children. At present I've set MinSpareServers 5 > and MaxSpareServers 7 for testing but I now have 13 of them running!! > > Is/Has anyone had problems of this nature? If so, was it Apache or the OS?? > > Current OS HP-UX 10 with all current patches applie

Re: Apache::ASP and server-side includes

1999-01-17 Thread Mike Dameron
Lookup $Response->Include() in the docs. It is used for exactly this purpose. -Mike Andrew Mayo wrote: > Is it possible to configure Apache so that .asp files also support > server-side includes?. I can configure Apache to successfully make .shtml > files support server-side includes but the a

Re: perl variable in configs for few virtual servers

1999-01-17 Thread Andrei A. Voropaev
Ok. I think I've figured that out Reading documentation on Apache ResourceConfig directive. It states -- Syntax: ResourceConfig filename Default: ResourceConfig conf/srm.conf Context: server config, virtual host Status: core The server will read this file for more directives after r

Re: Image::Magick and mod_perl

1999-01-17 Thread Randy Harmon
On Mon, Nov 15, 1999 at 01:14:43PM -0500, Todd Finney wrote: > We're putting together a site that involves processing images uploaded by > our users. I'm using Image::Magick to resize the images to a standard > size, and to create thumbnails.We will have an upload page, which hits > a CGI u

Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
Hi, I haven't had time to really hunt this bug to its source, but here is the report anyway. Take as an example the URI /program?foo=bar&foo=baz&foo=quux In program, which uses libapreq, I have code which looks like this: my @foo_in = $r->param('foo'); @foo_in should not be defined if there a

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
I should have mentioned in this bug report that the problem only occurs when you call $r->param in a list context. Everything is fine in a scalar context. For that reason I suspect this little bit of code: sub param { my $self = shift; my($name, $value) = @_; my $tab = $self->parms;

Re: embperl-intermittant sig11 seg faults

1999-01-17 Thread Cliff Rayman
PROBLEM SOLVED. the values for $req_rec in the page and in the subs started out the same and then shifted after a period of time. I now pass in the $req_rec from the page to the subroutines and no more segfaulting. Thanks for the help. Is this a problem that you are going to correct with your

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Cliff Rayman
`perldoc -f defined` yields a couple of sentences: You may also use C to check whether a subroutine exists, by saying C without parentheses. On the other hand, use of C upon aggregates (hashes and arrays) is not guaranteed to produce intuitive results, and should probably be avoided. why not us

A few pointers, please.

1999-01-17 Thread Dave_Pfaltzgraff
From: Dave Pfaltzgraff@PATAPSCO on 11/19/99 01:45 PM I'm fairly new at this and need a few pointers to possible resources. I've used Apache::AuthenDBI and thus require the user to enter a user name and password as expected. It all works. However, my customer has asked for either a timeout, a

do "" command in Embperl

1999-01-17 Thread Martin A. Langhoff
hi all, after many efforts [and 2 days sweating/swearing] installing Embperl, it's working now, and I have a doubt ... I can't include a series if site-wide configuration options that I was used to load with a ` do"site.conf"; ` command. Is there a clean way to go around this o

Re: Image::Magick and mod_perl

1999-01-17 Thread Geoff Crawshaw
One solution is to use the 2 server setup described at http://perl.apache.org/guide/scenario.html#One_Plain_and_One_mod_perl_enabl and have the lightweight proxy server handle the upload as a regular CGI process, after the file has uploaded redirect to a mod_perl process for further processing. Yo

RE: embperl-intermittant sig11 seg faults

1999-01-17 Thread Gerald Richter
> PROBLEM SOLVED. > Fine :-) > the values for $req_rec in the page and in the subs started out the > same and then shifted after a period of time. > That was my suspicion... > I now pass in the $req_rec from the page to the subroutines and no > more segfaulting. > > Thanks for the help. > > Is

RE: do "" command in Embperl

1999-01-17 Thread Gerald Richter
> I can't include a series if site-wide configuration options that I > was used to load with a ` do"site.conf"; ` command. > A normal perl do should be no problem. You have to take care about file permission (keep in mind that Apache runs as another user). Look at the $@ and $!, are there an

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
Cliff Rayman wrote: > > `perldoc -f defined` yields a couple of sentences: > > You may also use C to check whether a subroutine exists, by > saying C without parentheses. On the other hand, use > of C upon aggregates (hashes and arrays) is not guaranteed to > produce intuitive results, and shou

Re: Image::Magick and mod_perl

1999-01-17 Thread Autarch
On Mon, 15 Nov 1999, Todd Finney wrote: > process for the duration of the transaction? If each transaction lasts a > couple of seconds, it this a Bad Thing? Is there a more efficient way to > handle this? Unless you truly need to resize the image on the fly as part of the transaction with the

Re: embperl-intermittant sig11 seg faults

1999-01-17 Thread Cliff Rayman
if you need more info on how to reproduce it - let me know. Gerald Richter wrote: > > PROBLEM SOLVED. > > > Fine :-) > > > the values for $req_rec in the page and in the subs started out the > > same and then shifted after a period of time. > > > > That was my suspicion... > > > I now pass in th

Problems with mod_perl 1.2.1 and apache 1.3.9 - newbie - Please help!

1999-01-17 Thread Scott Chapman
I'm new to compiling my own software and attempting to get mod_perl and apache to work together. I have Redhat 6.0. I thought this was supposed to use gcc, not cc and I am getting no make action when it's done. I would _greatly_ appreciate any help on resolving this. I'm teaching myself E

Re: A few pointers, please.

1999-01-17 Thread James G Smith
[EMAIL PROTECTED] wrote: >I'm fairly new at this and need a few pointers to possible resources. > >I've used Apache::AuthenDBI and thus require the user to enter a user name and >password as expected. It all works. However, my customer has asked for either a >timeout, a [Logout] button, or both s

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Matt Sergeant
On Fri, 19 Nov 1999, Jeffrey Baker wrote: > 1) Visit /yoururl > 2) Visit /yoururl?foo=bar&foo=baz > 3) Visit /yoururl as many times as you have Apache child processes httpd -X -- Details: FastNet Software Ltd - XML, Perl, Databases. Tagline: High Performance Web Solutions Web Sites: http://co

Re: Apache::ASP and server-side includes

1999-01-17 Thread Joshua Chamas
Andrew Mayo wrote: > > Is it possible to configure Apache so that .asp files also support > server-side includes?. I can configure Apache to successfully make .shtml > files support server-side includes but the asp files have a .asp extension > and if I change the handler for that, I'll end up di

Apache::Cookie confusion

1999-01-17 Thread John Siracusa
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 shouldn't change the Apache::Cookie interface should it?

Re: Apache::ASP config question

1999-01-17 Thread Joshua Chamas
Brad Babb wrote: > > Hi, > I'm about to put a site into production using Apache::ASP, and need to have > a development side to the site to continue working. > I won't to be able to have 2 difference Application, one for the production > side, and one for the development side. What do I need to d

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Ken Williams
[EMAIL PROTECTED] (Jeffrey Baker) wrote: >Cliff Rayman wrote: >> >> `perldoc -f defined` yields a couple of sentences: >> >> You may also use C to check whether a subroutine exists, by >> saying C without parentheses. On the other hand, use >> of C upon aggregates (hashes and arrays) is not gua

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Jeffrey Baker
Ken Williams wrote: > Are you sure? I'm still not sure you understand about defined(@list). It > actually tests whether Perl has allocated memory for the structure, not whether > the structure has ever been used or anything like that. And even the present > behavior may change without notice.

Web Site Service Improvements

1999-01-17 Thread The Doctor
Question: Has anyone devlopped a Web Mail interface using perl? With mod_perl is there an available 'plug-in'?

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread Randal L. Schwartz
> "Jeffrey" == Jeffrey Baker <[EMAIL PROTECTED]> writes: Jeffrey> Yeah. I guess the reason I do the latter is b/c I want the code to Jeffrey> reflect what I am actually trying to test. I don't really want to test Jeffrey> the trueness of @foo, I want to test for it's existence. But in perl

RE: Apache and too many children

1999-01-17 Thread Clinton Gormley
You need to set MaxClients to the maximum number of children you want. Clint > -Original Message- > From: Anthony Gardner [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 19, 1999 2:46 PM > To: [EMAIL PROTECTED] > Subject: Apache and too many children > > > All, > > Apache is spaw

Problems with mod_perl 1.2.1 and apache 1.3.9 - newbie - Please help!

1999-01-17 Thread Scott Chapman
I'm new to compiling my own software and attempting to get mod_perl and apache to work together. I have Redhat 6.0. I thought this was supposed to use gcc, not cc and I am getting no make action when it's done. I would _greatly_ appreciate any help on resolving this. I'm teaching myself Embper

Re: Can you pass on information? (was Re: chunked POST)

1999-01-17 Thread Tom Amiro
"Richard L. Goerwitz" wrote: Tom Amiro wrote: > > I assume Apache does support the HTTP 1.1 spec and that > chunked POST can be used to return dynamic CGI output, so > I don't understand why such tests are failing. But maybe this > test isn't testing what I think it is. > > Anyone know what's goi

Re: A few pointers, please.

1999-01-17 Thread Mark Cogan
At 01:45 PM 11/19/99 -0500, [EMAIL PROTECTED] wrote: >From: Dave Pfaltzgraff@PATAPSCO on 11/19/99 01:45 PM > >I'm fairly new at this and need a few pointers to possible resources. > >I've used Apache::AuthenDBI and thus require the user to enter a user name and >password as expected. It all works.

Apache::ASP

1999-01-17 Thread Aroc725
I've written a short ASP page, 'HelloWorld.asp': Hello World Hello World! The time is <% Now %> But when I try to test the page, I get the output below. Isn't Now a function supported by ASP? Errors Output Response::Now not defined at /usr/local/encap/perl-5.005.3/lib/site_perl/5.005/A

Re: Bug in libapreq makes form elements stick to an apache child

1999-01-17 Thread brian moseley
On Fri, 19 Nov 1999, Matt Sergeant wrote: > httpd -X good production solution.