time.
My question is this: should PerlInitHandler have given me an error
message?
Steve
--
Steve Piner
Web Applications Developer
Marketview Limited
http://www.marketview.co.nz
completed.
Steve
--
Steve Piner
Web Applications Developer
Marketview Limited
http://www.marketview.co.nz
Sounds like you did a static compile, read the docs regarding the DSO
mechanism. Also, Apache 1.3.20 and mod_perl 1.26 are available.
Steve.
- Original Message -
From: El Capitan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 4:03 PM
Subject: mod_info.c
variables.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
before the abort
(SIGPIPE) is recognised. This should go double for embperl, which
executes all perl code before outputting any headers and data.
So I'd like to ask the group, am I right in this analysis, or am I
missing anything here?
Thanks,
Steve
not using a single arrayref for
the configuration.
Steve
-Original Message-
From: Steve Piner
To: [EMAIL PROTECTED]
Sent: 7/27/01 12:26 AM
Subject: Problem with arrayrefs in PSections
I've come across an oddity in configuring Apache through Perl sections.
If I have a local as follows
/24']],
},
);
Is this a bug, a stupid-user problem, or something else?
I'm using Apache/1.3.20, mod_perl/1.25 and 1.26, and Perl v5.6.1
Steve
--
Steve Piner
Web Applications Developer
Marketview Limited
http://www.marketview.co.nz
to capture that information?
Thanks,
STEVE
reduce the code to do this to:
my $data = $dbh-fetchrow_hashref($query);
%fdat = (%fdat, %$data);
Embperl then parses the form and populates it with the matching
name=value pairs in %fdat, including select options. Beautiful!
Steve
happen with mod_perl not reporting syntax
errors and other problems in Perl sections that I'm now unable to
reproduce :|
SRH
--
+ Steve Haslam |W: +44-20-7447-1839+
+ /excite/intl/uk/softeng|M: +44-7775-645618 +
.Spare
if the page is to be downloaded, the browser will use the name
foo.csv.
There's another parameter which gets passed to /reports/whatever.csv to
indicate that it should generate a csv, and send a suitable
Content-Type, but getting the 'name' right solves half the problem.
Steve
--
Steve Piner
Web
Steve == Steve Piner [EMAIL PROTECTED] writes:
So going to http://www.mysite.com/reports/foo.csv?param1=val1
would be the same as going to
http://www.mysite.com/bin/report.pl?param1=val1 except if the page
is to be downloaded, the browser will use the name foo.csv.
This also works :
http
you most of the way there.
The columns are here:
http://www.stonehenge.com/merlyn/WebTechniques/
and it's column 30.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
On Mon, 7 May 2001, Benoit Caron wrote:
The way I've setup whole thing is like that : a script name restart is
called with some parameters telling him to reload one or all the
developpers environment, or the testing copy. This script would have some
environments variables called SITE_USER
Title: RE: Exception modules
unsubscribe please- thanks
-Original Message-
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 4:29 PM
To: Jeffrey W. Baker
Cc: [EMAIL PROTECTED]
Subject: Re: Exception modules
On Mon, 30 Apr 2001, Jeffrey W. Baker wrote:
I'm experimenting with using Perl modules (.pm files) underneath
Mason components.
As far as I can see, the only way to guarantee that changes made in
the .pm are seen by the Mason code is to restart Apache whever the
.pm file changes. This is true whether the "use" statement is in
At 5:30 PM -0800 3/30/01, Randy J. Ray wrote:
I understand the forking model of Apache, and what that means in terms of
data initialized in the start-up phase being ready-to-go in each child
process. But what I need to do is manage it so that a particular value is
shared between all children,
, I think this ought to be either
corrected or removed entirely. I'll volunteer to make the changes, if
someone can clarify exactly what the intended result is.
Stas? What do you say? Am I missing something here?
Steve Reppucci
On 28 Mar 2001, Matthew Kennedy wrote:
Hello,
From the mod_perl
Weren't
there Amazon warriors? The Vikings? The Romans? etc.?)
Some folks spend way too much time looking for something to be offended
by, again IMHO.
That's my 2 (or 3) cents...
Steve
On Wed, 21 Mar 2001, Bakki Kudva wrote:
I am not trolling here nor am I particularly trying to be 'politi
e::Registry did this for me when it does its
stuff with my script), so I'm stuck with the warning (or else "use
vars").
Is there some reason why the warning gets emitted with "our" inside
print_power_of_2()? Was I just lucky that this particular example
worked and I should really heed the warning, or is the warning actually
bogus?
Is there any way I can use "our" rather than "use vars" and not get
these warnings?
- Steve Hay
At 12:26 PM -0500 3/12/01, Khachaturov, Vassilii wrote:
When I upgraded from
Solaris Apache/1.3.14 (Unix) mod_perl/1.24_01
to
Solaris Apache/1.3.17 (Unix) mod_perl/1.25
the following code in my debugging httpd.conf broke:
Perl
sub WWW_DIR () { $ENV{'HOME'} . '/www' ; } # this sub will persist
Bill Moseley wrote:
At 02:02 PM 02/26/01 +, Steve Hay wrote:
I have a script which I wish to run under either mod_perl or CGI which does
little more than display content and I would like it to stop when the user
presses Stop, but I can't get it working.
You need to do different things
es no difference if I take out the first "$SIG{PIPE} = \handler;" line
(and rely on mod_perl to handle the SIGPIPE for me as Stas described above)
and/or put the "PerlFixupHandler Apache::SIG" directive in my httpd.conf.
Can anybody help/explain?
I'm running Apache/1.3.17 and mod_perl/1.25 on Windows NT 4.
Cheers,
Steve Hay
ynamically, the build tool prints a
warning that "PerlSSI disabled in DSO build", or something like that.
HTH,
Steve
On Sun, 25 Feb 2001, Surat Singh Bhati wrote:
Hi,
I am using lots of exec cgi SSI in my site, all the
CGI called using exec are written in perl.
!--#exec cgi=&quo
Perl
Programming', by Joseph Hall has a nice description of this.
HTH,
Steve
On Fri, 23 Feb 2001, Alec Smith wrote:
This isn't specifically a mod_perl question, but something I'm having
trouble doing within mod_perl code. I'm far from a Perl expert, but I
try...
I've got a hash called
in!
Ime
=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-=
Steve Reppucci [EMAIL PROTECTED] |
Logical Choice Software http://logsoft.com/ |
r
directory: Apache::SubProcess exec of /usr/bin/ls failed
I'm using Apache version 1.3.17, mod_perl version 1.25 and
Apache::SubProcess version 0.02. Any help would be greatly appreciated!
Cheers,
Aaron
=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-
I believe you want to use 'err_header_out' rather than 'header_out' if
you're returning a status other than OK.
HTH,
Steve
On Thu, 8 Feb 2001, Harrison wrote:
Dear All.
I can set a cooke fine using:
$r-content_type('text/html');
$r-header_out('Set-Cookie' =$cookie);
$r
filters aren't
working. The filters hooks all live in yylex, which get called
indirectly by perl_parse."
Is there anyone familiar with both Filter and mod_perl who could shed
any more light on what's going on here?
Thanks,
Steve Hay
Hello2Goodbye.pm
filtertest.pl
Tim Bunce wrote:
Can anyone recommend extra gcc options to squeeze the last ounce of
performance out of code (perl and apache in this case) on Intel?
I don't mind tying the code down to one cpu type or loosing the ability
to debug etc. We're already doing -O6 and are looking for more.
xt version because I can quickly scan it to see if there are
any interesting topics that I missed during the week.
My 2 cents...
Steve
On Tue, 30 Jan 2001, Geoffrey Young wrote:
sorry again for all the confusion with this morning's digest (I do code more
carefully than I write, really I do...)
know if you do get to the bottom of this.
Steve
On Mon, 29 Jan 2001, Robert Landrum wrote:
I have some very large httpd processes (35 MB) running our
application software. Every so often, one of the processes will grow
infinitly large, consuming all available system resources. After 300
etter than what it sounds like you already
have...
Steve
=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-=
Steve Reppucci [EMAIL PROTECTED] |
Logical Choice Software http://logsoft.com/ |
ying
about testing modperl from a private directory install...)
So how *do* others handle this upgrade situation?
Steve
On Tue, 16 Jan 2001, Bill Moseley wrote:
This is a revisit of a question last September where I asked about
upgrading mod_perl and Perl on a busy machine.
IIRC, Greg, Stas,
The most important thing I learned from fuckedcompany.com is the
term "Javateer".
So what does it mean? The fuckedcompany search isn't very forthcoming :(
contract work, but would be interested in
talking about a full time position if an interesting opportunity arises.
Interested parties please email me off list.
=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-=
Steve Reppucci [EMAIL PROTECTED
I want to configure my apache server (1.3.14) with mod_perl (1.24_01)
But when I configure mod_perl with the following command
* perl Makefile.PL APACHE_SRC=/usr/src/http/apache_1.3.14/src
DO_HTTPD=1 USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
* make
* make test -- Gives the
Can someone send me a Configuration File for Apache please?
THX
winmail.dat
y
overwrites the old one, and the new session becomes the "allowed" one.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
-
To unsubsc
send_fd($f);
$f-close;
All I get is an empty document. My understanding is that the data
written to the tmpfile should be available immediately through the
filehandle even if it hasn't been flushed.
This is running under Registry, on Linux.
Thanks,
Steve
"Steve" == Steve Smith [EMAIL PROTECTED] writes:
Hi, Could somebody tell me why the following testcase doesn't work?
snip
Nevermind, I got it from the archives eventually :
seek $f, 0, 0;
$r-send_fd($f);
Cheers,
Steve
Good
Afternoon:
I am seeking an
expert in the field of Web Performance and Reliability. The
responsibilities include having subject matter expertise in performance and web
assessment.
This is to help
an emerging product company focusing on back-end infrastructure of
the web. Our goal
flexibility and
ease of use.
Let me know and I will send you a win32 demo version.
Steve Lloyd
801 318-0591
Tim Harsch wrote:
As a part of further research into this area I am going to seriously look
into Oracle WebDB. Other users in my shop have had great success with it.
And the output is *very
been of almost no help!
If it hadn't worked, I probably would've trussed Apache while I made the
request to see what was going on.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
---[ http://www.magpie.com ]---=oo---
Steve Manes
Brooklyn, N'Yawk
to see if I can recreate it, but for now, let's
chalk it up to either (1) something that's been fixed since the version
that I was using at the time, or (2) I'm just out of my head.
More likely the latter...
Sorry for the confusion.
Steve
On 29 Aug 2000, Gisle Aas wrote:
Steve Reppucci [EMAIL
perldoc LWP::Simple and as advised by many others LWP::UserAgent for
more advanced uses.
=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-=
Steve Reppucci [EMAIL PROTECTED] |
Logical Choice Software http://logsoft
r. No user file?: /some/where
This comes from http_request.c, which is responding to "AuthType Basic". It's giving
an error because I haven't told it where to find a user file (AuthUserFile) or
database (AuthDBMUserFile) to check requests against, but I've requested Basic auth.
...S
uot;AuthType Basic" needs to be changed to
"AuthType Serensoft::Auth".
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
erl??? Does mod_perl
need the EAPI like mod_ssl does (at least on Win32)???
Steve Hay
/mySQL
on BSD/LINUX a must. Additional experience in jscript/java a plus as well
as experience with Oracle or additional web-development technologies.
CONTACT:
--
STEVE CHITWOOD
Summit Communication Design, Inc.
6065 South Quebec Street, Suite 202
Englewood, CO 80111
303/290-1898 voice
303/265-9379
?
Netscape is waiting for an HTML visual break of some kind before showing any output -
if you modify your test handler to spew "bHello!/bp" before sleeping, you should
see it.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
).
In my httpd.conf, I made sure to have:
-PerlSendHeader Off
-comment out the DefaultType directive
Does anybody have any idea where I might look in my configuration for
the cause of this?
Any help is very greatly appreciated.
Thanks,
steve
a working solution up and running 90 minutes (!) after
first deciding to attack the problem from that angle.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
! I've tried doing it with Apache's SetEnvIf (OT here,
I know), and that doesn't do it either.
A quick check of the Eagle book, and a search through dejanews didn't turn up
anything, and this should be easy...
Help!
...Steve
--
Steve van der Burg
Information Services
London Health Sciences
Vivek Khera [EMAIL PROTECTED] wrote:
"SvdB" == Steve van der Burg [EMAIL PROTECTED] wrote:
SvdB That is, I'd like to set REMOTE_ADDR like so:
SvdB Location /cgi-bin/VENDOR
SvdB # Feed vendor's crappy CGI code a fake address that won't change:
SvdB PerlSetEnv REMOTE_ADDR 1.2.3.4
SvdB
/Location
Here's the handler:
#!/bin/perl
package LHSC::FakeRemoteIP;
use Apache::Constants qw /:common/;
use strict;
sub handler {
my $r = shift;
$r-connection-remote_ip("1.2.3.4");
return OK;
}
1;
I've tested it and it works perfectly.
...Steve
--
Steve van der Burg
I
first real foray outside of content handlers, so I chose
something early on in the request phase. I'll give the code you've provided a try
this afternoon.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
,
Steve
behavior, pipe in so
that we can get a feeling for how many sites are experiencing this?
Steve Reppucci
On Thu, 1 Jun 2000, Gustavo Duarte wrote:
Hi there people,
I have inherited a web server running mod_perl and I am experiencing a
somewhat critical problem: http processes sometimes get
).
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
. This is the default compiler mode.
The machine I was building on was Solaris 2.4 with the Sun Compiler v3.0
in which the cc manpage says "-Xt" ('transition') is the default. I
also have a Solaris 2.6 machine with the Sun Compiler v4.0 which says,
like the snippet above, that "-Xa" is the default.
Steve Hay
The file t/logs/error_log is never created. httpd fails because
/t/conf/httpd.conf looks more like a pod file than a httpd.conf.
How is the correct httpd.conf file supposed to be created?
What can I do to determine why the creation is not happening??
Steve Bauer
Stas Bekman wrote:
On Mon
Steve Hay wrote:
I'm having a problem compiling mod_perl 1.23 (with Apache 1.3.12 / Perl
5.6.0) as a DSO using APXS on Solaris 2.4.
In case anyone is interested...
I've solved my own problem (just as well, really). If I re-compile
everything with the -Xa compiler flag then it all works out
at these locations in the install directory works
fine, thus removing the need to keep the build directory floating about.
This presumably means that I can now ditch the build directory and still
be able to build mod_perl 1.24 when it comes using only my Apache
install directory.
- Steve Hay
I'm having problems using "CGI::Carp qw(fatalsToBrowser);" in modperl
scripts.
Below are three short scripts and their output under Apache/CGI
and Apache/modperl. All three of them produce (more or less) useful
output under Apache/CGI, but only the last one does under Apache/modperl.
The first
Sorry! Here it is again in text/plain this time...
(My mail client doesn't ask whether I want to send in text or HTML,
hence the slip. Maybe *I* should get a new one!)
---
I'm having problems using "CGI::Carp qw(fatalsToBrowser);" in modperl
scripts.
Below are three short scripts and their
the Makefile in the mysql sub-directory to change:
OTHERLDFLAGS = -LD:\mysql/lib/opt
to:
OTHERLDFLAGS = -LIBPATH:D:\mysql/lib/opt
None of this was necessary on my Solaris 2.6 box, however, where everything
went like a dream...
- Steve Hay
) : error
C2373: 'win32_closedir' : redefinition; different type modifiers
D:\perl5\lib\CORE\win32iop.h(121) : see declaration of
'win32_closedir'
Any ideas, anyone?
Has anyone else got 5.6.0 / 1.3.12 / 1.22 going on NT 4?
Steve Hay
"G.W. Haywood" wrote:
Come to think of it, NT probably wasn't the best idea you ever had
either.
I agree, but we're selling a web application and most of our customers
want it on NT.
Unfortunately, now I can't get (the Apache side of) mod_perl to
compile.
You aren't alone. You really
...
Steve Hay
Randy Kobes wrote:
On Thu, 30 Mar 2000, Steve Hay wrote:
Has anyone else got 5.6.0 / 1.3.12 / 1.22 going on NT 4?
Hi,
There's a couple things you can do -
- add the flag /D "WIN32IOP_H" - this handles the win32_opendir
and similar errors.
- for the mode_t error,
kefile options:
CFG = Optimize
USE_PERLCRT
PERL_MALLOC
- Apache 1.3.12 built with VC++ 6
- mod_perl 1.22 built with VC++ 6
- D: is a local disk which I have full access to
I've found that the problem goes away if I downgrade to Apache 1.3.6 and
keep everything else the same!
Steve Hay
want to re-direct it to a file - and the difference between the one which
works and the one which doesn't work is not mod_perl: it's the Apache version!
Am I also correct in thinking that configuring Perl with sfio is only an
option on Unix (which, BTW, doesn't have my problem anyway!)?
Help!
Steve Hay
On Mon, 14 Feb 2000, Gerald Richter wrote:
If you really like to do so, we have to compile the perl (of every object)
for every namepsace it will run into. Currently I think more of a feature
like exporting variables (like Perl modules can do), so that they are
visible in all object during
ssed, I'll be happy to hear
of it.
Steve
-=-=-=-=-=-=-=-=-=- My God! What have I done? =-=-=-=-=-=-=-=-=-=
Steve Reppucci 617/929-7003
Director of Software Development [EMAIL PROTECTED]
Boston.com (Times Company Digital) Be Open
South Station. A good, young, fun group of
people, who are committed to writing clean, fast code. (You'll be
hard pressed to find stuff without 'use strict' here...) We're all
Unix, all the time (Solaris, Linux), so please, MSCE me no MSCEs.
mailto:[EMAIL PROTECTED]
Thanks.
Steve
e a larger connection
limit, but I think it's something folks might want to be aware of.
Not sure if I've added anything to this thread, but...
Steve
On Tue, 18 Jan 2000, Leslie Mikesell wrote:
According to Stas Bekman:
We all know that mod_perl is quite hungry for memory, but when you h
/perl5/5.00503
/opt/lib/perl5/site_perl/5.005/sun4-solaris
/opt/lib/perl5/site_perl/5.005
.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
::MD5::VERSION'
for each module.
...Steve
--
Steve van der Burg
Information Services
London Health Sciences Centre
(519) 685-8300 ext 35559
[EMAIL PROTECTED]
On Wed, 24 Nov 1999, Martin A. Langhoff wrote:
Wow! 41 words and not a single colon|comma|period|semicolon :)
Congrats. :-)
Is there a list of possible reasons to explain why a DBI connect to
a mysql server (apache and mysqld running on the same host) fails if
called from mod_perl
I've seen this problem too. There's a 'sleep 5' in the test harness,
apparently to wait for the server to start. On a heavily loaded system,
this is too short. Whenever I've encountered this, I change the sleep to
10 seconds and it works fine...
HTH,
Steve
On Mon, 8 Nov 1999, Scott R. Every
statically, but it would be nice
to get this fixed. Any thoughts? Thanks.
--
Steve "Pheran" Snodgrass * [EMAIL PROTECTED] * FORE Systems Unix Administrator
Geek Code: GCS d? s: a- C++ US$ P+++ L+ w PS+ 5++ b++ DI+ D++ e++ r++ y+*
"What to do I find it hard to know/
101 - 182 of 182 matches
Mail list logo