we're waiting for the
catalyst to
come along that puts and end to it. EG.. some future Apache
incompatibility. I'd really like someone with mod_perl authority to
tell me I'm wrong, but my take on Adam's reply pretty much leaves me
with that conclusion. I don't see another
I am just coming out of my carb and turkey coma...
Regards,
KAM
On November 28, 2015 11:38:17 AM EST, Davit Nergadze wrote:
>Is there anyone? After perl porters mailing list, this feels like an
>empty room ro something... :-/
On 9/2/2015 6:16 AM, Vincent Veyron wrote:
On Tue, 1 Sep 2015 16:45:47 -0500
Igor Chudov wrote:
I make many thousands of $$$ per month from my websites, all of which are
based on mod_perl. I wrote everything myself.
Do you think that if Apache makes some big changes, mod_perl will follow?
On 7/8/2015 8:01 PM, Jim Garrison wrote:
D'OH!!! I was sure I had turned off selinux, but had not.
That was a very good call.
No worries, we've all been there.
regards,
KAM
On 6/15/2015 5:02 PM, John Dunlap wrote:
I am getting the client ip address in every request and checking it
against an access control list which is stored in my database(so that
the user can maintain the ACL's without the assistance of an
administrator). These are the code snippets which are g
On 6/15/2015 4:56 PM, John Dunlap wrote:
Could that result in inconsistent request behavior? Because one of the
things that I'm noticing is that, for no apparent reason, sometimes I
can log in normally and sometimes I can't with identical request
parameters(even if I delete the session and rest
On 6/15/2015 3:30 PM, John Dunlap wrote:
One thing I have noticed is that sometimes some of my objects seem to
persist between Apache restarts(which makes no sense to me at all).
The concrete behavior that I'm seeing is that I can't log into my
application. The problem could very well be a bug
On 6/15/2015 3:14 PM, John Dunlap wrote:
root@cosmos:~# dpkg -l libapache2-mod-perl2
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name
On 6/15/2015 1:38 PM, John Dunlap wrote:
I'm trying to upgrade my application from Apache 2.2.22(Debian 7) to
Apache 2.4.10(Debian 8) and I'm running into some truly weird
behaviors that I'm having trouble tracking down. I'm not sure if it's
a bug in my code(most likely) or a bug in mod_perl.
On 5/30/2015 2:20 PM, Steve Hay wrote:
Please download, test, and report back on this release candidate of
the long-awaited mod_perl 2.0.9.
http://people.apache.org/~stevehay/mod_perl-2.0.9-rc2.tar.gz
MD5 = 6dbf61e0724a245f1c015687fb3e4213
SHA1 = faf63c98b338ef0373ccbbe775c52506270ff3b9
Change
On 5/29/2015 1:52 PM, André Warnier wrote:
Kevin A. McGrail wrote:
On 5/29/2015 1:20 PM, André Warnier wrote:
Over the years, I have created and modified and re-modified my own
Apache/mod_perl authentication module, which was originally derived
from Apache(2?)::AuthCookie (pilfered would be
On 5/29/2015 1:20 PM, André Warnier wrote:
Over the years, I have created and modified and re-modified my own
Apache/mod_perl authentication module, which was originally derived
from Apache(2?)::AuthCookie (pilfered would be the correct term I guess).
It currently runs up to Apache 2.2, but I ha
On 5/27/2015 6:45 PM, Vincent Veyron wrote:
and what version of MP are you using?
#dpkg -l *mod-perl*
libapache2-mod-perl2 2.0.9~1624218-2 i386
OK, I can't tell if that's older or newer than rc1 but it's at least not
the 2.0.7 issue I had to deal with recently.
> When I upgrade to Apache 2.4, this happens
How did you upgrade to 2.4 and what version of MP are you using?
I ask because I've been running into distros running MP 2.0.7 with
Apache httpd 2.4 so I want to help rule out that issue.
Regards,
KAM
On 4/16/2015 10:22 AM, GLG wrote:
Unless I am mistaken, it would appear that there is currently no solution as
far as running Perl with Apache 2.4 via mod_perl 2.0.8 (or is there a
version 2.0.9 out?).
That is currently the case. I believe there is an SVN version that will
build and work but
On 2/28/2013 7:29 AM, André Warnier wrote:
The person who invented that spaces and other unprintable characters
were allowed in filenames and paths should be found, his PC and iPhone
should be confiscated, he should be exiled to an isolated island in
the middle of the Arctic Ocean, and he shoul
On 2/21/2013 9:35 AM, Bernard Higonnet wrote:
Everything seems to go OK with perl Makefile.PL but when I try make I
get this:
modperl_interp.c: In function 'modperl_interp_select':
modperl_interp.c:503: error: 'conn_rec' has no member named 'remote_ip'
*** [modperl_interp.lo] Error code 1
I ha
On 2/11/2013 4:54 AM, Jan Kaluža wrote:
On 02/08/2013 04:39 PM, Kevin A. McGrail wrote:
Following Jan's advice, I had to add this to ParseSource.pm
+ 'APACHE_HTTP_VHOST_H', #c-scan chokes on http_host.h
+ 'H_PERL', #""
That got me this far...
Ha
On 2/8/2013 11:33 AM, Andy Colson wrote:
XML_Memory_Handling_Suite is from expat. I have 2.0.1 installed. Do
you have the expat-dev package installed?
I did not, I do now, no apparent change.
Regards,
KAM
On 2/8/2013 11:04 AM, Kevin A. McGrail wrote:
On 2/8/2013 11:01 AM, Andy Colson wrote:
thought you had typed:
>> > /usr/local/perl-5.14/bin/perl build/source_scan.pl
Do you have multiple perl's installed? /usr/local/perl-5.14 seems
unusual.
I custom compiled a version o
On 2/8/2013 11:01 AM, Andy Colson wrote:
thought you had typed:
>> > /usr/local/perl-5.14/bin/perl build/source_scan.pl
Do you have multiple perl's installed? /usr/local/perl-5.14 seems
unusual.
I custom compiled a version of perl in /usr/local/perl-5.14
Any chance your picking up headers o
On 2/8/2013 10:48 AM, Andy Colson wrote:
On 2/8/2013 9:39 AM, Kevin A. McGrail wrote:
Hi All,
So picking back up on the thread from the httpd list, I am interested in
helping with mod_perl. And I've written some patches for AuthenDBI and
can work on those again as well.
However, a
Hi All,
So picking back up on the thread from the httpd list, I am interested in
helping with mod_perl. And I've written some patches for AuthenDBI and
can work on those again as well.
However, at the moment I can't compile 2.4 and the make source_scan
stuff is not something I even understa
On 8/8/2012 2:13 PM, jniederber...@comcast.net wrote:
Hello,
I have a mod_perl program that is written to handle URL's that
name either a directory or *.html type files. All other types
I want Apache to just do its regular thing (e.g., serve image
type files, or .doc, .pdf, .js, .css, etc.)
What
On 3/15/2012 2:17 PM, Torsten Förtsch wrote:
IMHO, we should implement a compatibility function that maps
remote_ip() to client_ip and provide the new structure members
independently. Torsten Förtsch
I've got a production box setup now with 2.4.1 installed so I can play
with mod_perl if we n
It absolutely helps performance. Atime is access time. Otherwise basically
everytime a file is accessed, the atime is updated. This causes a lot of
little writes to the hard drive constantly.
I have recently begun turning it off on our servers in the past 2 years
because in 10 years, I've n
While I agree that it does work, I do believe he is right that 'use
Apache::Access;' might be needed in the latest version.
Regards,
KAM
You might want to grab the latest AuthDBI from CPAN. It's 1.04 at the
moment.
Speaking as maintainer, it works fine for me in 2.x.
I'm pretty sure Kevin Mc
KAM
- Original Message -
From: "Perrin Harkins" <[EMAIL PROTECTED]>
To: "Kevin A. McGrail" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
Sent: Thursday, August 31, 2006 2:09 PM
Subject: Re: Receiving user input
On Thu, 2006-08-31 at 12:45 -0400, Kevin
y, this is the first code snippet every
release from this library. Hopefully, it is helpful.
Regards,
KAM
# FUNCTION: GET FORM HASH - from PerlCMS under Perl Artistic License v1.0 by
PCCC - Kevin A. McGrail
#
# Designed to deconstruct an apache server's GET & POST constructs. POSTS
are
Write a daemon running as root that watches a db for files that need to be
chowned and periodically runs the chown.
Have your web app update the db which the daemon than watches.
Make sure it can only chown files in certain directories.
Fancy step 2 will be a wakeup message your web app sends
The vast majority of the speedup is in the compilation / interpreter
loadtime. You will not see a another 20x increase in speed switching to a
handler module. I bemoan the fact that some of our shared hosting servers
run Perl and PHP via suexec for EVERY call. Ouch!
Regards,
KAM
Firstly, r
Taking this another step further, I don't get the impression that perlbal or
pound will achieve the "temporary" caching on the middle-proxy server
allowing the back-end server to get back to other requests.
Anyone know for sure?
Sincerely,
KAM
> On Tue, 2006-05-09 at 13
> As a caveat to the E-mails about caching pages using a proxy, the
usefulness
> of such depends on how much traffic your site will see to static pages.
In
My understanding doesn't agree with this. The point about caching also
deals with dynamic one time through away pages in a scenario as descri
I'm intrigued by Pound as I've never heard of it. I have been looking
heavily at using Apache 2.2 for this same purpose but pound seems elegantly
simple in it's approach. The only drawback I can see is that the lack of
caching will cause dial-up users to stay connected to the backend servers
long
I'm under the impression that this is the same as SELinux
(http://www.nsa.gov/selinux/info/faq.cfm)
Regards,
KAM
I was just at cansecwest (http://cansecwest.com/) here in Vancouver, and
went to a talk by Crispin Cowan from Novell. He presented AppArmor which
confines the application into a r
Now that I am using a server without mp1, I noticed that I cannot perl -c my
startup.pl because it uses AuthDBI and AuthDBI looks for MP1 files if I'm
not running under MP2.
Since I'm not running under MP2 for the perl -c check, I commented the if
block to just load Apache2:Const.
use constant M
I believe I had the same problem.
It was related to my upgrade of mysql without recompiling a few things:
"After much research, I believe I have the problem fixed and I found the
problem to be two-fold:
First, I had a mysql_config for v3.23.57 in the path
Second, I had not updated by DBD for
I'm shocked that nobody mentioned Apache::DBI->connect_on_init()
That's because he really doesn't want persistent connections. He's trying
to get 1 db connection for XYZ number of child processes.
;-)
Regards,
KAM
nnections. How do you setup apache + mod_perl
in this environment?
Albert
Kevin A. McGrail wrote:
I'm having problems setting up the apache + mod_perl + Apache::DBI in
order to get persistent db connections.
I've added the following line in my httpd.conf:
PerlRequire /home/
I'm having problems setting up the apache + mod_perl + Apache::DBI in
order to get persistent db connections.
I've added the following line in my httpd.conf:
PerlRequire /home/xxx/startup.pl
The persistent connection is one per child process so I don't know if your
test is correct. Try i
After much research, I believe I have the problem fixed and I found the
problem to be two-fold:
First, I had a mysql_config for v3.23.57 in the path
Second, I had not updated by DBD for mySQL. Fixing the first allowed me to
compile and install the second.
Regards,
KAM
Anyone ever seen this error before with Apache::DBI and Apache::AuthDBI?
This is on a source-compiled apache v1 server and mysql 4.1.13. I'm
checking through lots of things now to see where it might have gone wrong
but hoping for some feedback.
Regards,
KAM
If it helps, I am under the opinion that ImageMagick on a Linux box is
causing segfaults under modperl1 & 2 and I identified the issue years ago
but have just started tracking it back to ImageMagick. I expect to be
tackling this issue sometime very soon.
Regards,
KAM
- Original Message -
Thanks. I've read that paragraph before and never interpreted it that way
until you pointed it out.
As best I can tell, this is the correct syntax for the pseudocode I posted
previously. From 5 minutes of testing, it looks like what we needed.
AuthName "Private Site: Unauthorized Access Prohibi
Not sure really.
I'm trying to make sure that this is the case in pseudocode.
Deny from everyone unless:
1. From intranet without a password
-or-
2. Anywhere else with a password and valid-user using ApacheDBI
Regards,
KAM
>
> Satisfy Any
> Allow from 192.168.2.10
> PerlAuthenHa
> > Is there a way to do something like this in .htaccess or do I need to
make
> > another mod to AuthDBI?
> Not that I know of.
>
> The closest thing I can think of is: (I'll bet you read it already)
> http://httpd.apache.org/docs-2.0/howto/auth.html
>
> but that won't do it.
:-) Already read tha
We have a .htaccess with AuthDBI working perfectly under MP1 and MP2. I've
deleted the data source information but here is the .htaccess we use:
AuthName "Private Site: Unauthorized Access Prohibited"
AuthType Basic
PerlAuthenHandler Apache::AuthDBI::authen
PerlSetVar Auth_DBI_data_source dbi
Bill:
I am having the same problem. I thought it stemmed from the $|++ that we
used to turn off buffering but that doesn't seem to be it for us.
See
http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers
for a hint but I haven't fixed it and I haven't turned on
You know that after you set a cookie you cannot check for it's existence in
the same session.
Set a cookie. Reload. Then check for cookie existence.
How are you checking that the cookie exists? One good way is to simply
output the $ENV.
foreach my $key (keys %ENV) {
print "$key -> $ENV{$k
Hmmm, won't printing a response header directly when not in assbackwards
mode and using $!++ cause also sorts of issues in Registry (or Perl Run)?
KAM
> # print a response header
> printf "Set-Cookie: %s\n", $cookie->as_string;
>
>
> I'd have to look the the $r->send_headers_xxx API my memory is
he project ID for the shared memory key.
http://www.thoughtworthy.com/downloads/Apache-DBI-0.97-KAM-patch
Here's a list of the changes:
Patch June 29, 2005 - Thanks to Kevin A. McGrail (ThoughtWorthy Media,
Inc.)
- Added a feature 'Apache::AuthDBI->setProjID(1)' to s
At the very worst, if you are using the AuthDBI portion of ApacheDBI, 0.94
is worthless with mp2:
Fri Jun 24 18:01:08 2005] [error] Can't locate Apache/Const.pm in @INC (@INC
contains: /htdocs/gamma.thoughtworthy.com/html/lib
/usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6
/usr/lo
Here's a new patch against Philip's Apache::DBI v0.96 that includes a patch
per the constants coexistence notes that makes the program work in MP1 and 2
without any warnings because of the constants.
I believe that this Apache::DBI works now quite well under mp1 and mp2.
However, I would like to
n on CPAN hasn't been updated
in a long time.
Regards,
KAM
- Original Message -
From: "Philip M. Gollucci" <[EMAIL PROTECTED]>
To: "Frank Wiles" <[EMAIL PROTECTED]>
Cc: "Kevin A. McGrail" <[EMAIL PROTECTED]>;
Sent: Friday, June 24, 2005 2:
Evening:
I'm trying to testing AuthDBI for both mp1 and mp2 and I'm having poor luck
trying to test this with mp2.
Philip (or anyone): Can you send me your startup.pl you are using with
mod_perl2?
Currently, I am getting:
[Thu Jun 23 18:27:11 2005] [error] [client 10.10.10.204] Can't locate obj
perl.apache.org/bugs/ |
++
- Original Message -
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: "Kevin A. McGrail" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, June 23, 2005 3:32 PM
Subject: Re: [mp2] Small
Wow, mod perl 2.0.1's make test is slick! That way it runs httpd with a
configuration for testing is very cool. The bad part is that it just ran
and didn't check if something else is bound on port 80.
Adding a check for that would be good and adding a make test port=81 or
something would be grea
.97 or whatever) anyway.
Regards,
KAM
- Original Message -
From: "Philip M. Gollucci" <[EMAIL PROTECTED]>
To: "Kevin A. McGrail" <[EMAIL PROTECTED]>
Cc: ; "Jason Lamey" <[EMAIL PROTECTED]>
Sent: Tuesday, June 21, 2005 1:32 PM
Subject: Re:
I have finished patches against Apache
AuthDBI version 0.94 that definitely work with mod_perl1 to implement sha1 &
md5 encryption in addition to crypt.
I have placed a patch, the original 0.94 and the
patched 0.94KAM up for download at http://www.thoughtworthy.com/downloads/.
It uses a
59 matches
Mail list logo