Re: Running a shell command inside a cgi/perl script

2001-11-30 Thread Balazs Rauznitz
On Fri, Nov 30, 2001 at 03:08:16PM -0500, Kairam, Raj wrote: > In my perl script I have a line like this. > system( "'/usr/bin/lp -dhp4si /tmp/plotreq.txt' > /tmp/plotid.txt"); > > hp4si is the destination printer. > /tmp/plotreq.txt is small text file to be sent to the printer. > /tmp/plotid.tx

Re: FixupHandler called twice

2002-01-08 Thread Balazs Rauznitz
On Wed, Jan 09, 2002 at 01:42:58AM +0100, Zsolt Czinkos wrote: > Hi > > My question again (a bit refined): > > When I request an URI without a filename (e.g: http://localhost:8080/), > my perl fixup handler is called three times. > Why? How can I avoid this? Can I? > > http://localhost:8080/in

DBI/MySQL causing SIGPIPE

2002-01-24 Thread Balazs Rauznitz
My setup is apache/modperl+Apache::DBI with MySQL driver. On server startup in every httpd child a few queries that are executed very often are prepared. When the Apache::Registry scripts run values are bound to the cursors and they are executed. The server runs ok for 6-10 hours and then I'm

Apache::Subprocess availability

2002-02-21 Thread Balazs Rauznitz
After compiling and installing mod_perl 1.26 I do not see Apache::Subprocess anywhere. Is it a separate module ? If so how do you get it; http://perl.apache.org/dist/contrib/ did not have it either. Thanks for the insight, Balazs

Re: Cookies and IE in mod_perl

2002-03-24 Thread Balazs Rauznitz
On Sun, Mar 24, 2002 at 01:44:51PM -0500, Jesse and Rebecca Stay wrote: > I've determined that it isn't the redirect causing the cookies not to be set. > If I take out the redirect, and just try to set a cookie w/o a redirect, it > still doesn't set the cookies in IE. Does M$ have any docs on

Re: Can't set multiple cookies?

2002-06-07 Thread Balazs Rauznitz
On Fri, Jun 07, 2002 at 12:32:56PM -0500, Dave Rolsky wrote: > On Fri, 7 Jun 2002, Ken Miller wrote: > > > Ok, so continuing down the path of a single sign-on system, I've completed a > > rough framework, and it works fine. However, I thought it might be nice to > > segregate the various bits of

[OT] Re: ***JOB at idealab!***

2000-06-23 Thread Balazs Rauznitz
On Thu, 22 Jun 2000, josh schwartz wrote: [snip] > In addition, idealab! provides advice on strategy, branding and > corporate structure. idealab! public companies include GoTo.com, eToys, ^^ Here we go again ;)) -Bala

Re: Proxy Rewrite

2000-10-30 Thread Balazs Rauznitz
On Mon, 30 Oct 2000, Kermit Tensmeyer wrote: > Problem: When using the Light & Heavy Server methods > of processing web delivery, there are several methods of > proxying reques to multiple backend servers (squid, > mod_rewrite, mod_proxy) can be used. And these > seem to work well, but on

Re: HTTP_REFERRER and Mod_perl

2001-01-15 Thread Balazs Rauznitz
You spell too well. Try HTTP_REFERER. -Balazs On Mon, 15 Jan 2001, Stef Telford wrote: > hello, > okay, this may be a silly configuration problem, but I would > really like to know if its jst me with this problem. if it is, then i > dont mind > being hit around the hit and pointed to th

Re: killing of greater than MaxSpareServers

2001-01-17 Thread Balazs Rauznitz
On Wed, 17 Jan 2001, ___cliff rayman___ wrote: > i and others have written on the list before, that pushing apache > children into swap causes a rapid downward spiral in performance. > I don't think that MaxClients is the right way to limit the # of children. i think > MaxSpareCoreMemory would

Re: killing of greater than MaxSpareServers

2001-01-22 Thread Balazs Rauznitz
= split / +/, ; close FREEMEM; } sub read_childinfo { delete $CHILDINFO->{children}; chdir "/proc"; my @pids = <*>; for my $pid ( @pids ){ next unless $pid =~ /^\d+$/; my (@pidstat); open PIDSTAT, "$pid/stat"; @pidstat = split / +/, ; close

Re: ProxyPass and DirectoryIndex

2001-11-09 Thread Balazs Rauznitz
On Fri, 9 Nov 2001, Philip Mak wrote: > On port 80, I'm running a non-mod_perl httpd. > On port 8001, I'm running a mod_perl httpd. > > Port 80 is ProxyPassing to port 8001 like this: > RewriteRule ^/(.+)\.asp$ http://127.0.0.1:8001/$1.asp [p] > > The httpds have different DocumentRoots however