Re: Can't upload binary file (Apache::ASP sample)

2000-02-02 Thread Joshua Chamas
Just to follow up ... Greg found the problem to be that Apache 1.3.11 did some kind of Russian encoding, including multipart/form-data content, so that 0x00 data was converted to 0x20 automatically. This would then mangle the file uploads. *Whew* glad that's solved ! :) -- Joshua

XML Configuration [Was: Re: Caucho faster than mod_perl?]

2000-02-02 Thread Matt Sergeant
On Wed, 02 Feb 2000, Perrin Harkins wrote: I'm not trying to belittle Resin in any way -- in fact I'm impressed by both its design and performance. In learning about Resin during these tests, I found that JSP is in many ways easier to use than mod_perl. The smart caching that Resin does

Cleaning up

2000-02-02 Thread MOORHOUSE, John NW Group Risk
if a variable within a modperl program is created whether a reference to an object or just a var, does mod_perl know when to clean it up or should you do that yourself at the end i.e $main::var="LARGE STRING" does mod_perl know that the var is nolonger in use after the script has run?? One

RE: perl.apache.org AWOL?

2000-02-02 Thread Eric Cholet
ObModPerl: I don't seem to have a route to perl.apache.org. Isn't this just a virtual host on www.apache.org? Used to be, but has changed recently. perl.apache.org is now hosted on locus.apache.org. You must have experienced a network glitch, I can access perl.apache.org fine as of this

Re: Cleaning up

2000-02-02 Thread Matt Sergeant
On Wed, 02 Feb 2000, MOORHOUSE, John NW Group Risk wrote: if a variable within a modperl program is created whether a reference to an object or just a var, does mod_perl know when to clean it up or should you do that yourself at the end i.e $main::var="LARGE STRING" does mod_perl

Re: runaway httpd processes

2000-02-02 Thread Keith Kwiatek
I know there are alot of happy Apache::session users, that is why I don't understand why my mod_perl apache::session scripts are hanging I didn't mean to "blame" apache::session, just ask for some help in figuring out what is going on that is one of the purposes of a listserv, isn't it?

How to create mod_perl DBI .pm modules?

2000-02-02 Thread Keith Kwiatek
Hello, I am trying to create a library (.pm file) of DBI functions for use in my MOD_PERL scripts, but am not totally clear on how to use exporter (do I absolutely NEED to use exporter?, or can I just "use" the .pm library?) Is the following correct? The TEST.pm package

Re: How to create mod_perl DBI .pm modules?

2000-02-02 Thread Stas Bekman
I am trying to create a library (.pm file) of DBI functions for use in my MOD_PERL scripts, but am not totally clear on how to use exporter (do I absolutely NEED to use exporter?, or can I just "use" the .pm library?) Is the following correct? This has nothing to do with mod_perl! Please

Re: Embperl 1.2.1: multipart/form-data processing and nested pages (solved)

2000-02-02 Thread Enno Ewers
Gerald Richter wrote: [...] Sorry to confuse everybody, but I found the bug, and indeed it had nothing to do with the Execute call. The page was somewhat complex and I tried to reproduce the bug with a simpler setup, which did not work. I just searched in the wrong direction, as the upload was

Re: XML Configuration [Was: Re: Caucho faster than mod_perl?]

2000-02-02 Thread William P. McGonigle
--- Matt Sergeant wrote: Would people prefer to setup mod_perl using some sort of XML configuration, because I might be interested in doing this, if there's interest. --- end of quote --- I can't say it'd add much to doing it by hand, but it'd probably make writing configuration assistants a

Anyone else have mod_perl and Apache::session httpd hangs on Solaris?

2000-02-02 Thread Keith Kwiatek
Hi, Apache::session is a wonderful product. Is there anyone successfully using Apache::session on solaris 2.7? Do to MY misuse, or solaris problem, my httpd hangs upon my mod_perl/Apache::session script request. I have traced the hang in my script to where I am issuing : tie %session

Re: Anyone else have mod_perl and Apache::session httpd hangs on Solaris?

2000-02-02 Thread Keith Kwiatek
Hi again, P.S. I seem to have just duplicated the problem running JUST the example.perl script contained within the Apache::session distribution It occurs when you try to create a new session I am able to create a number of new sessions, and then on the 8th or 9th try, it hangs! This is

Re: Newbie Question

2000-02-02 Thread Samuel Beam
I am a relative newbie to mod_perl myself, but - I would think if you just want "a script to handle forms" that a vanilla CGI would be cake to set up and sufficient for your needs unless you get huge traffic. And I am led to think that if you just loaded ActivePerl then you are a long way

Re: Newbie Question

2000-02-02 Thread Waldek Grudzien
I am a relative newbie to mod_perl myself, but - I would think if you just want "a script to handle forms" that a vanilla CGI would be cake to set up and sufficient for your needs unless you get huge traffic. And I am led to think that if you just loaded ActivePerl then you are a long way from

XML applications in mod_perl/apache xml project

2000-02-02 Thread Alex Schmelkin
Hi, I embarking on writing a mod_perl handler that accepts XML posted from client apps/browsers and then does "stuff" with the received XML snippets. I would like to take advantage of some of the projects discussed at xml.apache.org (The Apache XML Project), but I'm not sure how they fit into

can't undef active subroutine.. in error_log

2000-02-02 Thread vinecent hong
Greeting all, after using mod_perl smoothly for awhile,today suddently meet a weird problem.I wrote a script to collect user input data and store in database,sounds simple.after some modification,a problem occur,after click the submit button,the browser just display info in the status bar" host

Re: can't undef active subroutine.. in error_log

2000-02-02 Thread Stas Bekman
after using mod_perl smoothly for awhile,today suddently meet a weird problem.I wrote a script to collect user input data and store in database,sounds simple.after some modification,a problem occur,after click the submit button,the browser just display info in the status bar" host

Re: Caucho faster than mod_perl?

2000-02-02 Thread Perrin Harkins
Bill Moseley wrote: Is Apache::Registry really that much of a hit in performance over a plain old Apache content handler? And if so, why? No, it isn't. This is a "Hello World" benchmark we're talking about here, designed to show the difference in startup costs. A real app would not have

Re: XML Configuration [Was: Re: Caucho faster than mod_perl?]

2000-02-02 Thread Sean Chittenden
Personally, I don't care. A conf file is a conf file. From the advocacy standpoint, I think it's probably a smart move on the part of mod_perl/httpd developers. There is a HUGE value in hyped up techologies with upper management. I wish I were kidding when I say that in the past I

Re: XML Configuration [Was: Re: Caucho faster than mod_perl?]

2000-02-02 Thread Perrin Harkins
Matt Sergeant wrote: Also, what's different between Resin's smart caching and mod_perl's? Is it just like StatINC? It can cache output in a way similar to Mason. They call this "Smart Caching". It reloads servlet classes pretty cleanly when code is updated, but doesn't track dependencies, so

Adding directives using mod_perl

2000-02-02 Thread Matthew Byng-Maddick
I'm following the description in Chap 8. of the Eagle Book for creating a module which adds configuration directives to Apache, however on my server version etc (see below), the first time through, the directive passes, but the directive gets rejected as an invalid command in the reload phase.

closure vs. nested sub

2000-02-02 Thread Stas Bekman
Well, it seems that the mistake I've made a while ago, explaining the "closure" effect in the guide has been propagated to many people on the list. I've fixed it since then, but probably a few noticed this in the CHANGES log. There is no 'closure' effect caused by Registry scripts!!! This is

Re: runaway httpd processes

2000-02-02 Thread Jeffrey W. Baker
Keith Kwiatek wrote: I know there are alot of happy Apache::session users, that is why I don't understand why my mod_perl apache::session scripts are hanging I didn't mean to "blame" apache::session, just ask for some help in figuring out what is going on that is one of the purposes

Re: Anyone else have mod_perl and Apache::session httpd hangs onSolaris?

2000-02-02 Thread Jeffrey W. Baker
Keith Kwiatek wrote: Hi again, P.S. I seem to have just duplicated the problem running JUST the example.perl script contained within the Apache::session distribution It occurs when you try to create a new session I am able to create a number of new sessions, and then on the 8th

Re: Using network appliance Filer with modperl

2000-02-02 Thread Stas Bekman
On Tue, 1 Feb 2000, Pascal Eeftinck wrote: At 11:25 1-2-2000 -0600, Leslie Mikesell wrote: According to Elizabeth Mattijsen: We have been using such a setup for over 2 years now. The only real issue we've found is not so much with mod_perl itself, but with MySQL. If you put your

Re:can't undef active subroutine.. in error_log

2000-02-02 Thread Stas Bekman
Sorry that I didn't search in the old messages of this ML.Now I've found some.I use apache 1.3.9,mod_perl 1.21 and perl 5.004. According to Stas Bekmen 's solution in the old email,if upgrade my perl to 5.005,this problem will alright ?But after read the

Re: XML applications in mod_perl/apache xml project

2000-02-02 Thread Joshua Chamas
Alex Schmelkin wrote: Hi, I embarking on writing a mod_perl handler that accepts XML posted from client apps/browsers and then does "stuff" with the received XML snippets. I would like to take advantage of some of the projects discussed at xml.apache.org (The Apache XML Project), but I'm

Job openings at Northern Light Technology, Cambridge, MA.

2000-02-02 Thread Simon Rosenthal
Who we're looking for: We're looking for a Senior/Principal Engineer in the Web Architecture/Systems group, which is responsible for all aspects of web server technology and the development of core technology components for our web based applications. (We have a separate Applications

Re:can't undef active subroutine.. in error_log

2000-02-02 Thread vinecent hong
I am using RH 5.2,Kernel 2.2.14,apache 1.3.9,when you mentioned taht some modules I use.yes,the error occur while I change my own COOKIE script(via process the $ENV{'HTTP_COOKIE'}) to Apache::Cookie(newest version),this error occur.other module I used is

Re:can't undef active subroutine.. in error_log

2000-02-02 Thread vinecent hong
I am using RH 5.2,Kernel 2.2.14,apache 1.3.9,when you mentioned taht some modules I use.yes,the error occur while I change my own COOKIE script(via process the $ENV{'HTTP_COOKIE'}) to Apache::Cookie(newest version),this error occur.Also anothe error after change to Apache::CCookie is several

Re:can't undef active subroutine.. in error_log

2000-02-02 Thread Stas Bekman
I am using RH 5.2,Kernel 2.2.14,apache 1.3.9,when you mentioned taht some modules I use.yes,the error occur while I change my own COOKIE script(via process the $ENV{'HTTP_COOKIE'}) to Apache::Cookie(newest version),this error occur.other module I used is

RE: XML applications in mod_perl/apache xml project

2000-02-02 Thread Alex Schmelkin
I remember the thread from a couple of weeks ago between you and Matt Sergeant about adding XML support to Apache::ASP. From what I could tell, you were proposing to extend your ASP tag parser to allow for dynamic creation of documents based on XML templates. What I'm discussing here is

Re: Using network appliance Filer with modperl

2000-02-02 Thread Oleg Bartunov
On Wed, 2 Feb 2000, Stas Bekman wrote: Date: Wed, 2 Feb 2000 20:21:20 +0200 (IST) From: Stas Bekman [EMAIL PROTECTED] To: Pascal Eeftinck [EMAIL PROTECTED] Cc: mod_perl list [EMAIL PROTECTED] Subject: Re: Using network appliance Filer with modperl # DESTROY makes all kinds of cleanups if

No Status From Server

2000-02-02 Thread Jim Serio
I'm setting up a local monitoring service using SiteScope from Freshwater Software. When I put in an URL for one of my cgi-perl scripts, the monitor comes back with the following error: no status in reply from server Static pages and standard cgi script work fine, so I am assuming that my

RE: No Status From Server

2000-02-02 Thread Geoffrey Young
are you using PerlSendHeader On in your httpd.conf? maybe that will help? --Geoff -Original Message- From: Jim Serio [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 02, 2000 2:18 PM To: [EMAIL PROTECTED] Subject: No Status From Server I'm setting up a local

Re: No Status From Server

2000-02-02 Thread Jim Serio
I was going to post that but I though PerlSendHeader was just responsible for the Content-type and not the status code. In either case, I have PerlSendHeader Off. Jim are you using PerlSendHeader On in your httpd.conf? maybe that will help? --Geoff -Original Message-

RE: No Status From Server

2000-02-02 Thread Geoffrey Young
true... I was thinking that your header might not be complete and it was the header, not the status code, that was causing the problem. I assumed your browser was seeing the script output ok... Hmmm... -Original Message- From: Jim Serio [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: Using network appliance Filer with modperl

2000-02-02 Thread Tim Bunce
On Wed, Feb 02, 2000 at 08:21:20PM +0200, Stas Bekman wrote: This thread has drifted way off topic, but anyway... my $do_sql = 'UNLOCK TABLES '; $self-{sth} = $self-{dbh}-prepare($do_sql); $self-{sth}-execute(); I'd express all that as: $self-{dbh}-do("UNLOCK TABLES");

%SIG localization partly resolved

2000-02-02 Thread Stas Bekman
I was asked a few times about %SIG localization and have stumbled upon this problem myself. Either it's a $SIG{PIPE}, $SIG{__WARN__}, $SIG{__DIE__} or $SIG{CHLD} -- the most relevant sigs for mod_perl. Here is the problem. Consider this code: MyRun.pm: - package MyRun; $SIG{__DIE__} =

Re: No Status From Server

2000-02-02 Thread Jim Serio
true... I was thinking that your header might not be complete and it was the header, not the status code, that was causing the problem. I assumed your browser was seeing the script output ok... Correct. The browser reports no errors. AND... the monitor, although it reports no status code,

Re: Using network appliance Filer with modperl

2000-02-02 Thread Stas Bekman
On Wed, 2 Feb 2000, Oleg Bartunov wrote: On Wed, 2 Feb 2000, Stas Bekman wrote: Date: Wed, 2 Feb 2000 20:21:20 +0200 (IST) From: Stas Bekman [EMAIL PROTECTED] To: Pascal Eeftinck [EMAIL PROTECTED] Cc: mod_perl list [EMAIL PROTECTED] Subject: Re: Using network appliance Filer with

Cross Site Scripting security issue (fwd)

2000-02-02 Thread Stas Bekman
I'm sure that some of you didn't get this. And some of you are unaware of the security issues covered below. Enjoy the reading and run fix your scripts :) or may be :( is a better choice. -- Forwarded message -- Date: Wed, 2 Feb 2000 12:22:12 -0700 (MST) From: Marc Slemko [EMAIL

Embperl/mod_perl name space problems?

2000-02-02 Thread Mental
Hi. I'm working on an Embper/modperl problem. I'm working with some people who are redesigning their site. They've written a 2 tier application server in perl using Embperl, DBI and an assortment of modules. Looking at performance, it was running in a pure cgi environment. I'd like to see us

(USA-DC) Perl/Apache/mod_perl jobs

2000-02-02 Thread James Holmes
My name is James Holmes, and I work at Liquidation.com. We have a small full-time staff of developers and are looking to enlarge it greatly. I need senior, mid-level and junior developers fluent in Perl and mod_perl, and Mysql/Oracle and C/C++ experience would be great. Ideally, you've

Re: Anyone else have mod_perl and Apache::session httpd hangs onSolaris?

2000-02-02 Thread jasonb
On Wed, 2 Feb 2000, Keith Kwiatek wrote: Hi again, P.S. I seem to have just duplicated the problem running JUST the example.perl script contained within the Apache::session distribution It occurs when you try to create a new session I am able to create a number of new sessions,

Re: Using network appliance Filer with modperl

2000-02-02 Thread Tim Bunce
On Wed, Feb 02, 2000 at 08:21:20PM +0200, Stas Bekman wrote: Oh, and while I'm being picky (nothing personal Stas!): $self-{sth}-finish if defined $self-{sth} and $self-{sth}; $self-{dbh}-disconnect if defined $self-{dbh} and $self-{dbh}; There's no need to test for "defined" and

ANNOUNCE: Apache::AuthCookie v2.0

2000-02-02 Thread Ken Williams
Hi, here's the eagerly-awaited announcement: ** * The URL * * http://mathforum.com/~ken/modules/archive/Apache-AuthCookie-2.000.tar.gz * * has entered CPAN as * * file:

memory leaks redux

2000-02-02 Thread Mike Whitaker
[EMAIL PROTECTED] (Doug MacEachern) wrote: there are hints in the SUPPORT doc on how to debug such problems. there was also several "Hanging process" threads in the past weeks with more tips, search in the archives for keywords gdb, .gdbinit, curinfo if you can get more insight from those tips,

mod_perl with Stronghold

2000-02-02 Thread J. Horner
I searched the archives, but no mention of this. Does anyone have any experience with mod_perl and Stronghold? Thanks, Jon J. Horner [EMAIL PROTECTED] http://jjhorner.penguinpowered.com/ 10:00am up 8 days, 1:38, 6 users, load average: 0.04, 0.03, 0.00

Caucho tested on Apache with DSO

2000-02-02 Thread Renzo Tomà
Hi there, on http://www.caucho.com/articles/benchmark.html you mention the following: quote Apache configurations used Apache 1.3.9. All modules were compiled with DSO support. /quote Why has this been done? On http://www.apache.org/docs/dso.html you can find a few disadvantages of DSO: quote

Slight performance enhancement for dynamic sites.

2000-02-02 Thread Steve Reppucci
Here's a tiny performance tweak that I stumbled across that I don't believe I've seen in any of the other online docs. (Stas, maybe you can suck this into the guide if you think it's something new...) In doing some tweaking on one of our modperl servers earlier this week, I noticed via 'truss'

Re: Caucho tested on Apache with DSO

2000-02-02 Thread Scott Ferguson
Hi Tom, I made the assumption that DSO support would affect all content engines equally. Since it's only the relative numbers that matter, a uniform 5% hit wouldn't affect the benchmark results. It's the same as if the benchmarks were run on a 5% slower CPU. 5% is really in the noise. The

Permanent full-time position available in Montreal

2000-02-02 Thread wookie
Hi, I am not a recruiter (I read this list). I would be your co-worker! BCE Emergis in Montreal, Quebec is looking for a web developper who has experience with mod_perl and apache (as we are hiring to work on a site using such) as well as Oracle. You won't necessarily be limited to those

Re: ANNOUNCE: Apache::Filter 1.06

2000-02-02 Thread Michael schout
Ken Williams wrote: Changes: - Added 'handle' parameter to filter_input(), which lets callers open the input filehandle themselves. [[EMAIL PROTECTED] (Vegard Vesterheim)] Hi Ken. I've figured out that using this, I can *cheat* and get Apache::Filter to work with my handler

(USA-DC) Perl/Apache/mod_perl jobs

2000-02-02 Thread James Holmes
My name is James Holmes, and I work at Liquidation.com. We have a small full-time staff of developers and are looking to enlarge it greatly. I need senior, mid-level and junior developers fluent in Perl and mod_perl, and Mysql/Oracle and C/C++ experience would be great. Ideally, you've

Re: cross site scripting security issue headsup

2000-02-02 Thread Sander van Zoest
On Wed, 2 Feb 2000, Marc Slemko wrote: http://www.apache.org/info/css-security/ http://www.cert.org/advisories/CA-2000-02.html I think I have found a little typo/oversight in the mod_perl example on http://www.apache.org/info/css-security/encoding_examples.html It uses escape_html rather

Jobs: San Diego/CA, MP3.com, Inc.

2000-02-02 Thread Sander van Zoest
Since we are still somewhat on the jobs thread. I just wanted to point out that MP3.com is still looking for apache/*ml/perl/modperl coders, interested in working intense hours while bringing the music industry onto the net. We run most of our site using open source tools and try to contribute

Re: cross site scripting security issue headsup

2000-02-02 Thread Marc Slemko
Doh, thanks, fixed. I thought about not putting the mod_perl specific one in there at all (ie. just the CGI.pm one, and I had removed it, so the error probably came about when I put it back in), but figured I should include it for some reason. Don't know what that reason is. Oh well. On Wed,

lookup_uri and access checks

2000-02-02 Thread Paul J. Lucas
I have code that contains the line: $r-lookup_uri( $r-param( 'pm_uri' ) )-filename; The parameter pm_uri is a hidden form field that contains a URI for a file. I use lookup_uri() to translate that (eventually) into an absolute filename.

Re: Using network appliance Filer with modperl

2000-02-02 Thread Oleg Bartunov
On Wed, 2 Feb 2000, Stas Bekman wrote: Date: Wed, 2 Feb 2000 22:03:38 +0200 (IST) From: Stas Bekman [EMAIL PROTECTED] To: Oleg Bartunov [EMAIL PROTECTED] Cc: mod_perl list [EMAIL PROTECTED] Subject: Re: Using network appliance Filer with modperl On Wed, 2 Feb 2000, Oleg Bartunov wrote:

Re: ASP Application variable; StatINCMatch variable

2000-02-02 Thread Joshua Chamas
[EMAIL PROTECTED] wrote: Joshua, I am enclosing parts of the log file. I turned the Debug variable to 2 in httpd.conf. However, I am not using global.asa or Session_OnEnd routine. When the user session times out and he clicks on any hyperlink, he gets redirected to another html file