Re: Apache2::Upload ->upload method dies silently if any file field is empty

2025-07-18 Thread Randolf Richardson via modperl
l2) for nearly 10 months now. If anyone's interested in feedback on libapreq2 v2.18, please take this as positive feedback -- it resolved all the problems I encountered in v2.17 and it also has not caused new/other problems. Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Cor

Re: Apache2::Upload ->upload method dies silently if any file field is empty

2025-07-17 Thread Randolf Richardson via modperl
.org/sys-admin/apache2_upload_bug.html > > Is this something anyone else has seen? > > Thanks, > >  - Alex Aminoff > >    NBER > > Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/

Re: Resolved: Apache2::Upload v2.17 clobbering remaining CGI parameters + installation notes

2024-11-27 Thread Randolf Richardson
Vincent Veyron > To: rand...@modperl.pl > Subject: Re: Resolved: Apache2::Upload v2.17 >clobbering remaining CGI > parameters + installation notes > > On Thu, 11 Jan 2024 01:00:26 -0800 > "Randolf Richardson" wrote: > > >

Re: Apache::DBI - consistently encountering about a .00667% error rate

2024-11-22 Thread Randolf Richardson
Oct 7, 2024, at 5:55PM, Tim Lank wrote: > >>> > >>> I have the following in my startup.pl: > >>> > >>> use CGI qw(:all); > >>> use CGI::Carp 'fatalsToBrowser', 'carpout'; > >>> use List::Util 'shuf

Re: Case-sensitive $r->param?

2024-02-14 Thread Randolf Richardson
> Joe Schaefer, Ph.D. > <https://sunstarsys.com/orion/features> > Orion - The Enterprise Jamstack Wiki <https://sunstarsys.com/orion/features> > > 954.253.3732 > > > > > On Wed, Feb 14, 2024 at 11:31AM Randolf Richardson > wrote: > > >

Re: Case-sensitive $r->param?

2024-02-14 Thread Randolf Richardson
use APR tables underneath. > > On Wed, Feb 14, 2024 at 11:12AM Randolf Richardson > wrote: > > > Is there a way to use $r->param in a case-sensitive manner? The > > documentation indicates that keys are case-insensitive. > > > > Thanks.

Case-sensitive $r->param?

2024-02-14 Thread Randolf Richardson
Is there a way to use $r->param in a case-sensitive manner? The documentation indicates that keys are case-insensitive. Thanks. Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canad

Upgrading libapreq2.17 to 2.18 / Debian bug report 1060765

2024-01-13 Thread Randolf Richardson
). Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/

Re: Resolved: Apache2::Upload v2.17 clobbering remaining CGI parameters + installation notes

2024-01-13 Thread Randolf Richardson
This has been an issue for over a year! > > > > > > On Jan 11, 2024, at 4:00 AM, Randolf Richardson wrote: > > > Thank you, Joe. Upgrading from libapreq-2.17 (via apt) to > > > libapreq-2.18 (via svn) resolved my problem -- everything is > > > f

Re: Resolved: Apache2::Upload v2.17 clobbering remaining CGI parameters + installation notes

2024-01-13 Thread Randolf Richardson
n the IRC channel for Debian, but I don't know if this will improve reliability for other Linux distributions. > Who do we need to beg or plead with to get a proper release of libapreq 2.18? > This has been an issue for over a year! > > > On Jan 11, 2024, at 4:00 AM,

Resolved: Apache2::Upload v2.17 clobbering remaining CGI parameters + installation notes

2024-01-11 Thread Randolf Richardson
atures> > Orion - The Enterprise Jamstack Wiki <https://sunstarsys.com/orion/features> > > 954.253.3732 > > > > > On Wed, Jan 10, 2024 at 5:21PM Randolf Richardson > wrote: > > > I just recently upgraded my systems to Debian 12, and along with >

Apache2::Upload v2.17 clobbering remaining CGI parameters

2024-01-10 Thread Randolf Richardson
code, using $R->param('one') always functions as expected, but $R->param('more') returns undef. Has anyone else encountered this problem? If so, did you find a solution? (If so, what got it working for you?) Thanks in advance. Randolf Richardson, CN

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC2 (with INSTALL update)

2021-12-27 Thread Randolf Richardson
B8 BE102404 316BF50E > 2382FD47 > > Changes since RC1 are as follows: > > Add bug tracker information to README, and add CONTRIBUTING.md. [Steve Hay] Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/

Re: [RELEASE CANDIDATE] mod_perl-2.0.12 RC2

2021-12-26 Thread Randolf Richardson
-rc2.tar.gz: 5AA7537F 7ED1425E 6D5D3C6D F0167E64 > > 9C2B09F4 > > > 76A756F7 66446277 77D383D2 9D7ED383 > > 603D9B29 > > > BAC34D83 B064E5A8 BDF843B8 BE102404 > > 316BF50E > > > 2382FD47 > > > > > > Changes since RC1 are as follows: > > > > > > Add bug tracker information to README, and add CONTRIBUTING.md. > > [Steve Hay] > > > > > > > > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/

Re: mod_perl , ChildInitHandler, OpenApi

2019-12-09 Thread Randolf Richardson
his in a ChildInitHandler, but I have no idea, where to "store" the > result. We're using mom_event in production, anything to consider with this ? > > Thanks > Rolf > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/

Re: decrypt the posted content -- shell processes

2019-11-22 Thread Randolf Richardson
not, through some malicious use of the > parameters > that it sends to the server (e.g. filenames), result in damage on your server > (e.g. system("program > /etc/passwd")) > - etc. > > If you prefer to use a perl module to do the decryption, you will have to > look

Re: [ANNOUNCE] mod_perl-2.0.11

2019-10-15 Thread Randolf Richardson
tra care with testing this as I believe the authentication modules may have changed quite a bit too. Upgrading to 2.4 from 2.2 https://httpd.apache.org/docs/current/upgrading.html I hope this helps. Randolf Richardson - rand...@inter-corporate.com Inter

Re: stream media service (RTMP / custom protocols)

2019-08-20 Thread Randolf Richardson
tocols will most likely all need to be TCP-based. > Hi > > on 2019/8/21 0:13, Randolf Richardson wrote: > > Which streaming protocol(s) do you need to implement? > > we use RTMP. > > regards. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Comput

Storing images in PostgreSQL (was: Streaming files)

2019-08-20 Thread Randolf Richardson
would you store images in a database? > > > > On 18 Aug 2019, at 23:28, Randolf Richardson wrote: > > > > Yes, you can use a Perl handler to do that. (I do this to send > > images stored in PostgreSQL that are retrieved with DBI instead of > > reading

Re: stream media service

2019-08-20 Thread Randolf Richardson
Which streaming protocol(s) do you need to implement? > Hello, > > Can anybody point me the right way to run MP handler as a stream media > service? > > I just got the requirement but have no ieda on it. > > Thanks. Randolf Richardson - rand...@inter-corpo

Re: Streaming files

2019-08-18 Thread Randolf Richardson
ariable and THEN calling print, I should avoid having to > load the complete file into memory? > > On Fri, Aug 16, 2019 at 2:36 PM Randolf Richardson > wrote: > > > One fairly straight-forward approach would be to write a script > > that > > serves as

Re: Streaming files

2019-08-16 Thread Randolf Richardson
; -- > John Dunlap > *CTO | Lariat * > > *Direct:* > *j...@lariat.co * > > *Customer Service:* > 877.268.6667 > supp...@lariat.co > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.inter-corporate.com/

Re: [ANNOUNCE] Apache-Test-1.41

2019-07-15 Thread Randolf Richardson
[rjung] > > Fix mod_ssl tests under OpenSSL 1.1.1 / TLSv1.3. [jorton] > > Add cwd to generated lib path in TEST script since Perl >=5.26 don't > do that any more. [jorton] > > Override loglevel to trace8 if running in 2.4. [covener] > > Allow an empty PREFIX.

Re: Issue between httpd 2.4.39 and mod_perl 2.0.10?

2019-06-20 Thread Randolf Richardson
ug.cgi?id=63516. > > It is under investigation, but any input from the mod_perl community is > welcome :) > > Thx in advance. > > Christophe Jaillet > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Solution for $r->connection->client_addr->port (was: Re: Compile mod_perl 1.0 on ubuntu 12.04 or later)

2019-02-25 Thread Randolf Richardson
> On 2/25/2019 2:28 PM, Randolf Richardson wrote: > > [sNip] > >>> As long as one isn't relying on the client's dynamic TCP port number > >>> from $r->connection->remote_addr->port for anything (as I've > >>> discovered no lon

Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-25 Thread Randolf Richardson
8.04.1 amd64 libapache2-request-perl/bionic,now 2.13-5build3 amd64 perl/bionic-updates,bionic-security,now 5.26.1-6ubuntu0.3 amd64 perl-base/bionic-updates,bionic-security,now 5.26.1-6ubuntu0.3 amd64 Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Compile mod_perl 1.0 on ubuntu 12.04 or later

2019-02-24 Thread Randolf Richardson
to raise as an issue, but if it is something that Hans or anyone else is needing I'll gladly chime in with my vote for wanting it fixed.) Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: HTTP and MPM support

2019-01-25 Thread Randolf Richardson
bjects to other Perl scripts in the same session using $r->pnotes has also provided wonderful performance benefits. Perl has such a vast array of modules that make it easy to accomplish a lot productively without having to "re-invent the wheel" and so I regard mod_perl2 as one of Apache HTTPd's most valuable modules that has ever been created. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: New Windows mod_perl binaries available

2018-08-28 Thread Randolf Richardson
anything to go by, and I personally only use 64-bit now anyway (as > does my $workplace). > > You can download them from http://home.apache.org/~stevehay/ > > Regards, > Steve Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Future MPM Support? (...and future of mod_perl)

2018-07-30 Thread Randolf Richardson
r me than writing an Apache HTTPd module in C). On the plus side, I am finding that mod_perl works very well and integrates seamlessly under Ubuntu Linux 18.04 LTS (64-bit). I have been using mod_perl on NetBSD for approximately 2 decades now, and that's been getting increasingly troubl

Re: Compiling 2.0.9 with Strawberry Perl 5.20 on windows (64Bit)

2017-09-03 Thread Randolf Richardson
gt; > > > That is great I will be looking forward to it. > > Will that be for Apache 2.4 or 2.2, or both ? > > > > 2.09 with Strawberry Perl 5.22 and Apache 2.4. It sound like a winner! > > > > > > I will make 2.0.9 binaries for httpd-2.2 and -2.4, hopefully with both > perl-5.20 and -5.22, but the -5.22 fix isn't done yet... > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Trouble compiling modperl with FreeBSD11

2017-08-30 Thread Randolf Richardson
warning: macro expansion producing 'defined' has undefined behavior > [-Wexpansion-to-defined] > > == > > Ive tried a bunch of things Ive found in google but cant get it to > compile. I also tried going the APXS route ( which I don't like, but if

Re: Apache2::Reload, Prototype mismatch

2017-08-22 Thread Randolf Richardson
1 func2 func3); > 6. use JSON qw(to_json from_json); > 7. use Cache::Memcached; > 8. use DBI; > 9. use Digest::SHA qw(sha256_hex); > 10. use MIME::Types; > 11. use Encode qw(from_to); > > Should I pay attention to these errors ? > How to properly solve them ? > >

Re: [OT] Re: about request route ($r->path_info)

2017-08-08 Thread Randolf Richardson
ndler is /not/ yours (like in the > filter example > shown in the httpd documentation), and you want to override whathever this > other handler > would normally do in that case. > > To tell the entire truth, I have not really tested the above specifically. > But that is

Re: about request route ($r->path_info)

2017-08-07 Thread Randolf Richardson
domain/?' => sub { > > my $rtype = params->{ 'type' }; > my $domain = params->{ 'domain' }; > > > But in a MP handler, how could we get the similiar result, treating > request path as GET/POST arguments? > thanks. > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: [Slightly OT] Apache::AuthCookie and mod_perl version 1.x

2017-07-31 Thread Randolf Richardson
you really require Apache::AuthCookie under apache 1.3 at this point, > you can get a previous version of AuthCookie from backpan to address that. > > If you really do need AuthCookie and getting it from backpan is a > problem for you, please let me know. > > Thanks! > >

Re: modperl for httpd 2.4? Yes...

2017-06-23 Thread Randolf Richardson
s. > Hi, > > Apache httpd has get upgraded to 2.4.26. > But modperl is still in 2.0 branch. > Is it still in active development? thanks. > > > -- >We are hiring: >http://ml.dnsbed.com/ Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Com

Re: internal dummy connection (some thoughts on IPv6 support)

2017-06-05 Thread Randolf Richardson
ot;-" > "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.21 mod_apreq2-20090110/2.8.0 > mod_perl/2.0.8 Perl/v5.18.2 (internal dummy connection)" > ::1 - - [05/Jun/2017:14:29:09 +0800] "OPTIONS * HTTP/1.0" 200 125 "-" > "Apache/2.4.7 (Ubuntu) PH

Re: Need a recommendation from an apreq user

2017-04-12 Thread Randolf Richardson
> If you'd be willing to write one on my behalf, please contact me offlist > > for further details. > > > > Thanks all. > > > > Sent from my iPhone > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: mod_perl -> application server

2017-04-06 Thread Randolf Richardson
ram() ... 99% of > output is either JSON or Template Toolkit generated HTML. > > Should I be looking at CGI::Application? > > Or CGI::PSGI? > > Or even CGI::Emulate::PSGI ? > > Should I ask this elsewhere? > > Thanks for any advice! > > Tosh > >

Re: mod_perl Website Hosting

2017-03-03 Thread Randolf Richardson
site to yours, etc.). > Any recommendations would be greatly > appreciated. > Thank you all, > Joe N Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Apache 2.4, mod_perl 2.0.9, APR::SockAddr->port() missing ?

2016-10-30 Thread Randolf Richardson
->useragent_ip and > request_rec->useragent_addr. > When you require the IP address of the client that is connected > directly to the > server, which might be the useragent or might be the load balancer or proxy > itself, use > conn_rec->client_ip and conn_rec->

Re: Apache 2.4, mod_perl 2.0.9, APR::SockAddr->port() missing ?

2016-10-29 Thread Randolf Richardson
the remote client IP:port, and then retrieve and decode that same header > in my AAA > module. But that seems a bit convoluted and heavy-handed. > Is there a way in a PerlAuthenHandler to retrieve an "Apache environment > variable" > directly, which would have been set like so ? > > RewriteRule .* - [E=INFO_REMOTE_ADDR:"%{REMOTE_ADDR}\:%{REMOTE_PORT}",NE] > > > Thanks in advance > André Warnier Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

FYI: ModPerl and APR with Apache HTTPd v2.4 on "pkgin" in the NetBSD 7 environment

2015-12-23 Thread Randolf Richardson
west versions because of it, and I worry that this might discourage some web developers who also really like ModPerl). Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Enquiry about mod_perl project state

2015-08-15 Thread Randolf Richardson
at > needs changing - because > it is good solid and just works... If it ain't broke then it doesn't > need changing. > > I probably use more "pure" mod_perl - no registry scripts here thank > you! - and hook into the > apache process at about 7- 8 places

Re: Enquiry about mod_perl project state

2015-08-14 Thread Randolf Richardson
When I upgrade, I'm normally installing new server hardware and so I migrate sites over one at a time, and resolve any API change requirements before promoting the new server to production (followed by log file merges after switching servers and traffic to the old servers cease). > Regar

Re: Search is broken on perl.apache.org

2015-06-08 Thread Randolf Richardson
keyword into Google Search: site:perl.apache.org Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: $[ causes segfault with mod_perl 2.0.9, apache 2.4.10

2015-05-21 Thread Randolf Richardson
bDl/usr/lib/apache2/modules/mod_perl.so > #12 0x7f4557696a43 in modperl_startup () from > /tmp/apport_sandbox_l8WbDl/usr/lib/apache2/modules/mod_perl.so > #13 0x7f4557696e76 in modperl_init () from > /tmp/apport_sandbox_l8WbDl/usr/lib/apache2/modules/mod_perl.so > #14 0x7f4557696feb i

Re: Large File Download

2015-03-28 Thread Randolf Richardson
> Randolf Richardson wrote: > >> I know that it's possible(and arguably best practice) to use Apache to > >> download large files efficiently and quickly, without passing them through > >> mod_perl. However, the data I need to download from my application is

Re: Large File Download

2015-03-27 Thread Randolf Richardson
ries you'd normally use to ensure it's okay to send the file first. > -- > John Dunlap > *CTO | Lariat * > > *Direct:* > *j...@lariat.co * > > *Customer Service:* > 877.268.6667 > supp...@lariat.co > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Disallow path info

2015-03-23 Thread Randolf Richardson
should cause a 404 error. Of course, if this doesn't work on your system, one possible work-around would be to check that $r->path_info is empty and do the following if it isn't: $r->status(Apache2::Const::HTTP_NOT_FOUND); return Apache2::Const::HTTP_N

AcceptPathInfo usefulness (was: Re: How Do I change the Document Root Per Request)

2015-03-11 Thread Randolf Richardson
the first example.com link above), and if it was changed to something like "banner.pl" or "logo.pl" then I could output an image file instead to serve HTML code output by "today.pl" that references an image as so: Using the relative URI, again the proc

Re: mod_perl for Apache 2.4

2015-01-13 Thread Randolf Richardson
ode that supports > > Apache 2.4? > > > > Thanks, > > Hong > > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Apache2::Connection::remote_ip

2014-11-21 Thread Randolf Richardson
@lariat.co <mailto:j...@lariat.co>/ > > / > > *Customer Service:*/ > > 877.268.6667 > > supp...@lariat.co <mailto:supp...@lariat.co> > > > > --- > This email is free from viruses and malware because avast! Antivirus > protection is active. >

Re: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0

2014-07-30 Thread Randolf Richardson
like pkgin lately.) > Thanks, > Luca > > -----Original Message- > From: Randolf Richardson [mailto:rand...@modperl.pl] > Sent: martedì 29 luglio 2014 01:17 > To: modperl@perl.apache.org > Subject: Re: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and > Perl

Re: mod_perl2 on Solaris 10 (01/2013, x86) with Apache 2.4.9 and Perl 5.20.0

2014-07-28 Thread Randolf Richardson
Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output > t/apr-ext/uuid.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output > t/compat/conn_rec.t (

Re: API Docs ($r)

2014-05-16 Thread Randolf Richardson
at is the context here I do not get? > > cheers > Worik > -- > The only true evil is turning people into things > Granny Weatherwax >worik.stan...@gmail.com 021-1680650, (03) 4821804 > Aotea

Re: support for Apache 2.4

2014-02-14 Thread Randolf Richardson
of HTTPd v2.2 just for Perl support. My fear is that ModPerl will be mis-classified as "outdated technology" as more sites increasingly upgrade to Apache HTTPd v2.4 and find that it is not compatible. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network

Apache HTTPd v2.4.x (was: Re: Error when compiling, please help.)

2013-11-04 Thread Randolf Richardson
ModPerl getting a higher priority from the Apache HTTPd team in the future. (Is this an Apache problem, or more of a people resource problem, or perhaps there was a technological challenge just this one time, or something else?) Thanks. Randolf Richardson - rand...@inter-corporate.com

Re: [URGENT] Do not post below post on Internet

2013-08-20 Thread Randolf Richardson
nfidential information. If you have > > received it in error, please notify the sender immediately and delete the > > original. Any other use of the e-mail by you is prohibited. > > > > Where allowed by local law, electronic communications with Accenture and > &g

Re: how to delete post from apache mail-archive

2013-08-19 Thread Randolf Richardson
e scanned by our systems for the purposes of information security and > assessment of internal compliance with Accenture policy. > > ______ > > www.accenture.com > Randolf Richardson - rand...@inter

Re: New Windows mod_perl binaries available

2013-04-27 Thread Randolf Richardson
Windows OS, but would like to introduce others to it who aren't starting out with any of the Unix or Linux OSes. Are there any plans of getting 64-bit versions compiled too, or is there some complication with doing this on Windows? Randolf Richardson - rand...@inter-corporate.co

Re: About config file

2013-03-08 Thread Randolf Richardson

Re: [OT] AW: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-28 Thread Randolf Richardson
ments and Settings/" has since been changed to "C:/Users/" I'll take that as a sign of hope that a "C:/Programs/" directory may be on the horizon (but I'm not holding my breath). Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-27 Thread Randolf Richardson
> Randolf Richardson wrote: > >> Hi Folks, > >> > >> I'm reasonably certain that this is just a misconfigured mod_perl server > >> on my part, but I can't seem to find a solution for it. > >> > >> We are currently running M

Re: Unsuccessful stat on filename containing newline in RegistryCooker.pm

2013-02-13 Thread Randolf Richardson
cept if mod_perl treated this as a > warning, but that's not the case here. > > Here is line 787 of RegistryCooker.pm, btw: > > 783: # XXX: should go away when finfo() is ported to 2.0 (don't want to > 784: # depend on compat.pm) > 785: sub Apache2::RequestR

Re: Connection aborted (blank line after headers?)

2012-11-15 Thread Randolf Richardson
plain why the client isn't getting the image, and raw binary data where headers are expected could be a problem too. open OUT, "<$read_file"; binmode (OUT); print $CGI->header(%header_values); print "\r\n"; # --- Some systems may only need "\n" { local $/ =

Re: Module preloading on virtual hosts

2012-10-26 Thread Randolf Richardson
> On 25 October 2012 16:26, Randolf Richardson wrote: > >> Hello, > >> > >> I've problem with preloading JSON module on apache virtual hosts. I've > >> asked about that on #perl-help and #modperl IRC channels and i was advised > >> to

Re: Module preloading on virtual hosts

2012-10-25 Thread Randolf Richardson
SON for anything, so I have no idea which .so file you'll need to load, but hopefully this will give you some ideas that will help you get things working.) Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: DateTime::Format::Pg error - only under mod_perl

2012-10-09 Thread Randolf Richardson
st. > > > > Weird thing I get this error only under mod_perl and moreover not anytime. > > > > Any idea what's going on or how to debug it? > > > > > > Thank you > > > > -- > > Jirí Pavlovský > > > > > Randolf Richa

Re: DateTime::Format::Pg error - only under mod_perl

2012-10-09 Thread Randolf Richardson
> Weird thing I get this error only under mod_perl and moreover not anytime. > > Any idea what's going on or how to debug it? > > > Thank you > > -- > Jirí Pavlovský > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: reloading perl modules under heavy load

2012-10-03 Thread Randolf Richardson
> forked: yes (variable process count) > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_FLOCK_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZ

Re: Helping with mod_perl

2012-09-06 Thread Randolf Richardson
ct way to help in the manner that you're asking about, but I am hoping that you will consider doing something like this if you aren't already.) > My perl-foo is much stronger than my C-foo, and I have no experience with xs > or apache internals. > > -Andy Randolf Richards

Re: Mod_Perl2 getting started

2012-08-22 Thread Randolf Richardson
anyone else who would find it interesting, you're more than welcome to share a link to it with them. My main concern is that I want to see more people using ModPerl 2. > Joe N > > -Original Message- > From: Randolf Richardson > Sent: Tuesday, August 21, 2012 5:13 PM &g

Re: Mod_Perl2 getting started

2012-08-21 Thread Randolf Richardson
l get you started. Accessing query strings is covered in the Apache::Request module documentation -- "param" is the keyword to search for. I recommend that you develop a clear understanding of how this works before tackling file uploads, because it will make the learning pro

Re: development state of MP

2012-08-08 Thread Randolf Richardson
. ModPerl is more of a facilitator to integrate Perl into Apache and APR, and make it persistent (which has the wonderful side-effect of major performance gains). > Thank you. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautifu

Re: Any reason to have SetEnv/PassEnv PERL5LIB for mod_perl .conf configuration?

2012-07-27 Thread Randolf Richardson
ess that makes use of environment variables, such as a shell script or a binary. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: external process

2012-06-19 Thread Randolf Richardson
e.g., receive its output, etc.) then detaching from it may not be exactly what you need, and in which case the web page I referenced above explains how to do that with the other examples under the "Synopsis" heading. I hope this helps. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: User abort/stop, modperl 2 and TCP FIN / RST?

2012-06-11 Thread Randolf Richardson
figuring out how every web browser does (and will) handle the user pressing the "Stop" button behind-the-scenes, although the KeepAlive and KeepAliveTImeout directives may be helpful to you: http://httpd.apache.org/docs/current/mod/core.html#keepalive

Re: highscalability.com report

2012-04-04 Thread Randolf Richardson
on-threaded Perl, which allows Apache to fork > > multiple times.. > > > > > > > -- > Dave Morgan > Operations Manager, Cool Places In Canada > http://www.coolplaces.ca > dave.mor...@coolplaces.ca > 403 288 8759 / 866 938 0516 Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: difference between PerlSetEnv and $ENV{}= ?

2012-03-26 Thread Randolf Richardson
-Fortran library? I'm not sure how the environment > passing is supposed to work. Try this module: http://httpd.apache.org/docs/current/mod/mod_env.html Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Terminating Child process Dynamically (and keeping huge amounts of data in RAM)

2012-03-03 Thread Randolf Richardson
gt; > At the beginning of your first "handler" : > > > > our $CACHED_DATA; > > > > unless (defined $CACHED_DATA) { > > $CACHED_DATA = _load_cached_data(); > > } > > > > > > > > within the request processing : > > > > our $CACHED_DATA; > > > > if ($condition) { > > $CACHED_DATA = undef; > > } > > return OK; > > > > ... > > > > sub _load_cached_data { > > # load and cache whatever data needs be > > my $cached_data; > > > > ... > > > > return $cached_data; > > } > > > > > > > > > -- > --Shibi Ns-- > Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: Funding [WAS :Re: trying to compile mod_perl against httpd-2.4.1]

2012-02-28 Thread Randolf Richardson
d it under the assumption that most people would have upgraded by now. Are a lot of people still using the version 1 series of httpd and/or mod_perl? Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com/

Re: haxe perl target

2012-01-07 Thread Randolf Richardson
e to binaries as well, but I don't recall what they were called. Also, do look at what's going on with Perl 6 and the bytecode ideas, as it may provide you with additional helpful insight. I hope that helps. Randolf Richardson - rand...@inter-corporate.com Inter-Corp

Re: Cannot retrieve empty keys from request using Apache2::Request.param

2012-01-03 Thread Randolf Richardson
ith the same name at some point after the user's input field: But, I'd rather use this approach instead, if possible: The beauty of this solution is that calling $request->param() in scalar context returns the first value, but if th

Re: Problem with long http request generation time - process restarting

2011-12-16 Thread Randolf Richardson
r them. > > Investigation continues... Thanks, and please keep us updated (at modperl@perl.apache.org instead of via a private reply). If Oracle's DBD is doing something unexpected, and especially if you do manage to find a solution, that could be useful to people who use Ora

Re: Problem with long http request generation time - process restarting

2011-12-14 Thread Randolf Richardson
ActiveState Perl to be a great implementation, but one of the problems I had was that it sometimes didn't have a pre-compiled module that I needed, and moving to Unix was a lot easier. I mention those points in the hopes that it will be helpful to you (switching to Unix was helpful

Re: Mod Perl - Custom Error Pages

2011-10-25 Thread Randolf Richardson
--- # This won't happen, but it helps compilers and debuggers. # - return Apache2::Const::HTTP_NOT_FOUND; } # -x- sub goto_404 -x- [End of reply.] > David > > On Tue, Oct 25, 2011 at

Re: Mod Perl - Custom Error Pages

2011-10-25 Thread Randolf Richardson
one way to do things in Perl}, but I'm hopeful that this can at least provide you with some ideas that will help you create the best solution. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada http://www.inter-corporate.com

Re: Changing browser URL based on condition

2011-07-28 Thread Randolf Richardson
scams. =( Do you happen to know if the HTML5 standards limit this? Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.inter-corporate.com

Re: Help Debugging Windows Server 2003 Win32 + Apache2.2 + mod_perl + Activestate Pelr 5.8.8 ErrorID 26

2011-07-11 Thread Randolf Richardson
Event Viewer thingy. I could not narrow down specific results to a particular version of Windows, but Unix did solve the problem for me while also yielding better performance so I decided to just ignore this problem and [mostly] forget about it. Randolf Richardson - rand...@inter-corporate.co

Re: How do you use mod_perl for your web application?

2011-06-26 Thread Randolf Richardson
le caching) are functioning (or not functioning) across the different environments (e.g., mod_fcgid, mod_perl2, etc.). Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.inter-corporate.com

Re: How do you use mod_perl for your web application?

2011-06-20 Thread Randolf Richardson
> On Fri, Jun 17, 2011 at 7:28 PM, Randolf Richardson > wrote: > > I suspect that I wouldn't be running > > into these issues with a framework system designed to work with > > DBIx::Class. > > I don't think mod_perl should have more trouble cooperating wit

Re: How do you use mod_perl for your web application?

2011-06-17 Thread Randolf Richardson
reliability that I get from mod_perl2 on NetBSD servers, and intend to keep using it (and promoting it) for years to come. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.inter-corporate.com

Re: write handler for apache http request

2011-05-17 Thread Randolf Richardson
here's a code example included on that web page, and then in httpd.conf you'll need to specify your source code file with the PerlPostReadRequestHandler configuration directive. Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.inter-corporate.com

Re: How to tell GET from POST method ni CGI.pm?

2011-05-15 Thread Randolf Richardson
It should also be available in an environment variable of the same name: $ENV{'REQUEST_METHOD'} Randolf Richardson - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Vancouver, British Columbia, Canada http://www.inter-corporate.com

Re: libapreq2 build to /usr/lib64

2011-04-28 Thread Randolf Richardson
query-pr-single.pl?number=43385 The work-around was to delete the package's "work/.wrapper/bin/cc" and "work/.wrapper/bin/ld" files (so that the main/proper ones with the OS are used?) between the "make" and "make install" commands. (

Re: robots.txt with httpd and root level SetHandler perl-script

2011-03-14 Thread Randolf Richardson
e such as .css, .js, .png, .jpg, .jpeg, .gif, .ico, etc. > 2) Create a Mason handler to handle the URL "robots.txt" and return the file > "as is" Be careful here -- you may need to return it with the correct content type of "text/plain" since "as

Re: Apache2::ModLogConfig help needed (feature suggestion)

2011-03-02 Thread Randolf Richardson
mes for log files for this month are "access.2011-03.log" and "errors.2011-03.log." If this feature is possible, then this module could also help to make ModPerl 2 a little bit more popular if other administrators are interested in reducing the number of piped processe

Re: perl -c fails with FilterSnoop example in docs

2011-02-22 Thread Randolf Richardson
o you -- it mentions the need for a handler subroutine: http://www.perlmonks.org/?node_id=606092 The above link is part of the following discussion: http://www.perlmonks.org/?node_id=606087 I hope that helps. Randolf Richardson - rand...@inter-corpora

  1   2   >