Hello,
I'm having a problem with Apache::Reload and I'm not sure what I can do to
debug.
Long story short, I use Apache::Reload all the time but I recently setup a new
development server and its under the new machine that its a problem.
The module is installed and when I add to my conf:
I'm all set, I had to use err_headers_out for some reason so,
$r-err_headers_out-add('Content-Disposition' = 'attachment; filename=' .
$download_name . '');
Works.
-Chris
From: cfaust-dougot [mailto:cfa...@doyougot.com]
Sent: Sun 1/22/2012 6:20 AM
Folks,
I wanted to know if there was anything wrong with using the same MP2 content
handler with multiple Location directives in apache and using $r-location() to
determine the script that should be used in forms, redirects etc.
We have someone that insists in having different URL's doing
Closed now, just missed it :(
From: Fred Moyer [mailto:f...@redhotpenguin.com]
Sent: Wed 6/2/2010 12:45 PM
To: mod_perl list
Subject: [ot] Perl Survey
I just read that the Perl Survey will be closing in 24 hours so if you
get this I'd encourage you to fill it
I'm sure someone where will pipe in a better way, but you could pass via a
hash, something like
($result_code, $error) = submit_changes({ 'apache_request' = $r, 'user_name'
= \...@user_names,
'latest_news' = $latest_news_file, 'archived_news' =$archived_news_file,
'cgi_obj' =$q);
sub
that if it was a module that I was going
to be using in the majority of my scripts then I should put it in startup. Was
that thinking wrong?
TIA!!!
From: Perrin Harkins [mailto:phark...@gmail.com]
Sent: Thu 1/14/2010 4:30 PM
To: cfaust-dougot
Cc: modperl
: ??? [mailto:chen...@maxthon.net]
Sent: Wed 1/13/2010 7:08 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache Blank Pages
what is your apache's mpm? worker or prefork?
Our site sometimes also rise similar error(like glibc detected ... in error log
) under worker mpm.
??? | ChenJianchun
...@maxthon.net]
Sent: Wed 1/13/2010 7:08 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache Blank Pages
what is your apache's mpm? worker or prefork?
Our site sometimes also rise similar error(like glibc detected ... in error log
) under worker mpm.
??? | ChenJianchun
??Web
Do you mean on apache startup? I'm not calling DBI or DBD in startup.pl. Any
other module would be after the fork, wouldn't?
Thanks!!
From: Perrin Harkins [mailto:phark...@gmail.com]
Sent: Wed 1/13/2010 12:07 PM
To: cfaust-dougot
Cc: ???; modperl
Harkins [mailto:phark...@gmail.com]
Sent: Wed 1/13/2010 5:36 PM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache Blank Pages
On Wed, Jan 13, 2010 at 5:31 PM, cfaust-dougot cfa...@doyougot.com wrote:
Do you mean on apache startup? I'm not calling DBI or DBD in startup.pl. Any
Hello,
I have a bizarre problem I'm hoping someone could give me some suggestions with.
I have a couple of MP2 scripts running on a server, they are both similar in
use of modules and structure. Without any recent changes, one of the scripts is
producing a blank apache page on SOME requests.
to a solution though - any method I try to use to connect to the DB
from VH2 results in this problem.
Still doesn't make a lot of sense.
From: William T [mailto:dietbud...@gmail.com]
Sent: Tue 1/12/2010 11:47 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Folks,
I'm guessing this has been answered but I couldn't find it.
We need to do some IP checking and need to support it on both a load balanced
environment and in a dedicated machine setup.
In the load balanced situation $r-connection-remote_ip returns 1 - Is that
correct and consistent
Thanks Andre and Tyler.
Believe it or not I never even thought of that until you guys pointed it out
(that the hash would live for the the life of the apache child). I can be such
a fool sometimes :)
In this case I assume %cache is global - it only appers in that sub, there is
no my %cache
]
Sent: Wed 5/28/2008 6:27 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Cookie help - using both cgi.pm and APR::Request::Cookie
I don't guarantee that this is the real issue you're having, but be
careful of the following : either of the Apache2::Request::Cookie or
CGI::Cookie (don't
Folks,
I taking over some really old code and I'm in the process of converting it over
to mp2. I want to be able to use APR::Request::Cookie to create the cookie for
the new things I'm doing but I need to create it exactly like CGI.pm is
currently doing so the old code will continue to work
Hi All,
I'm running the latest mp2 with Libapreq.
Is there some method to duplicate CGI.pm's escape and unescape methods? I found
escape_path, but obviously that isn't the same thing. I'm trying to remove
CGI.pm from all my code and these are the last 2 things I need to take care of.
TIA!
Yes, I'm trying to HTML escape/unescape, although looking at URI::Escape it
seems like it might work. I'll have to give it a try.
Thanks!!
From: Michael Peters [mailto:[EMAIL PROTECTED]
Sent: Thu 6/7/2007 10:32 AM
To: Jonathan Vanasco
Cc: cfaust-dougot
Hi All,
I'm trying to remove libapreq2 via make clean without a whole lot of success.
Below is what I get back from make clean (and Request.so still exists
afterwards)
Any ideas? The long story is I decided to run the Ubuntu update to bring one of
our dev servers up to date. Now I keep
Thanks Jonathan, I think that helped get me closer.
I removed the Request.so (don't know where it came from if it shouldn't have
been there), now I get Can't locate loadable object for module APR::Request
which is coming from use APR::Request (); in my startup.pl
Am i just missing something
!!!
Thanks!
-Chris
From: Frank Wiles [mailto:[EMAIL PROTECTED]
Sent: Mon 5/14/2007 1:25 PM
To: cfaust-dougot
Cc: Jonathan Vanasco; modperl@perl.apache.org
Subject: Re: Help with Manual removal of libapreq2
On Mon, 14 May 2007 11:40:46 -0400
cfaust-dougot [EMAIL
I'm down to the last thing I need to handle without CGI.pm to get rid of it,
cookies... But I'm having a problem..
I've tried both Apache2::Cookie and APR::Request::Cookie (from the posts I read
I got the impression it was better to use ARP::Request::Cookie then
Apache2::Cookie).
The
= qw(OK);
use APR::Table ();
use APR::Request ();
use APR::Request::Cookie ();
Am I doing anything that is clearly wrong?
Thanks
-Chris
From: Clinton Gormley [mailto:[EMAIL PROTECTED]
Sent: Sat 12/9/2006 8:53 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Input Data and I'm sure apreq2 is loaded.
Man, I wish getting rid of CGI.pm was as easy as using it :) - Back to the
drawing board!!
Thanks
-Chris
From: Clinton Gormley [mailto:[EMAIL PROTECTED]
Sent: Sat 12/9/2006 10:00 AM
To: cfaust-dougot
Cc: modperl
time you
were on the site.
Thanks
-Chris
From: Clinton Gormley [mailto:[EMAIL PROTECTED]
Sent: Sat 12/9/2006 11:07 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: RE: Apache2::Cookie/APR::Request::Cookie
After the cookie has been set...
my
[mailto:[EMAIL PROTECTED]
Sent: Sat 12/9/2006 12:24 PM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: RE: Apache2::Cookie/APR::Request::Cookie
Can I ask if there is something different when redirecting? It would
appear the cookie isn't being sent in a redirect.
It should be fine
that mean it
doesn't work with redirects??
Thanks
-Chris
From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]
Sent: Sat 12/9/2006 12:26 PM
To: cfaust-dougot
Cc: Clinton Gormley; modperl@perl.apache.org
Subject: Re: Apache2::Cookie/APR::Request::Cookie
cfaust-dougot
rock!!
-Chris
From: John ORourke [mailto:[EMAIL PROTECTED]
Sent: Sat 12/9/2006 1:19 PM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache2::Cookie/APR::Request::Cookie
Ummm... this should be obvious but are you redirecting to a different hostname
!
From: Fred Moyer [mailto:[EMAIL PROTECTED]
Sent: Thu 12/7/2006 2:33 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache2::Upload and End of file found error Part 2
cfaust-dougot wrote:
Folks,
I'm still trying to figure out what to do about this upload problem
them to work together??
Thanks
-Chris
From: Fred Moyer [mailto:[EMAIL PROTECTED]
Sent: Thu 12/7/2006 2:33 AM
To: cfaust-dougot
Cc: modperl@perl.apache.org
Subject: Re: Apache2::Upload and End of file found error Part 2
cfaust-dougot wrote:
Folks,
I'm
init_global_vals then the update works fine, if its
uncommented then the server error of End of file found happens.
http://208.3.90.212/test.pm.txt
I have no idea how one relates to the other, any ideas?
Thanks
-Chris
From: cfaust-dougot [mailto:[EMAIL
Hi,
I'm trying to use Apache2::Upload as shown in the examples and the only thing I
get is End of file found in the error log.
I've found quite a few messages on the subject, but I'm not using Mason and I'm
using libapreq2.0.7.1.
I've tried the fh and slurp methods and both are the same.
Morning All,
What I have below works, but for some reason I'm
not all that comfortable with it.. Could someone tell me if I'm doing anything
evil with my approach??
MP2 (ParseNav.pm) Script Description:
Needed a script to create page navigation, the nav
needs to be called within other MP2
within another script AND via SSI
On Tue, 2006-07-11 at 09:50 -0400, cfaust-dougot
wrote: What I have below works, but for some reason I'm not all
thatcomfortable with it.. Could someone tell me if I'm doing
anything evil with myapproach??Looks fine to me. SSI virtual
includes are quite efficient
Folks,
I am having problems with previous pages/requests
showing up on refreshes and/or the clicking on links not going to the proper
page etc. etc.
Its a new server and I didn't think it was the code
so I commented out allmod_perl scripts and added the simple script
below.
I also got the
Sorry, should have said I was
running MP2 under RH
Apache/2.0.54 (Unix) mod_perl/2.0.0 Perl/v5.8.0 configured
From: cfaust-dougot
[mailto:[EMAIL PROTECTED]Sent: Mon 5/30/2005 10:30
AMTo: modperl@perl.apache.orgSubject: Previous
Pages/Requests appearing
Folks,
I am having problems
: Perrin Harkins
[mailto:[EMAIL PROTECTED]Sent: Thu 5/19/2005 5:06
PMTo: modperl@perl.apache.orgSubject: Re: Is mod_perl
installed
On Thursday 19 May 2005 2:49 pm, cfaust-dougot wrote:
The box is RH enterprise and Apache and MP2 were installed via RPMWell,
you know that's going to be a problem
Hey Stas,
I know this has been asked a ton of time and I have
read everything on the site to check if MP is installed - my problem now is I
have a client who has told me over and over again that mod_perl is installed -
every method documented on the site says it is not (string doesn't appear
erl_module
modules/mod_perl.soThen look for the perl_module in
/etc/httpd/modules.This is standard placement for Redhat Linux
RPMs.I have found that I can edit this perl.conf to customize my modPerl
anddirectories and script aliasesOn Thu, 2005-05-19 at 14:49 -0400,
cfaust-dougot wrote: Hey Stas, I kno
Title: Re: Is mod_perl installed
Thanks Stas, as always - you
da man!!!
-Chris
From: Stas Bekman
[mailto:[EMAIL PROTECTED]Sent: Thu 5/19/2005 7:18 PMTo:
cfaust-dougotCc: [EMAIL PROTECTED]; mod_perlSubject: Re: Is
mod_perl installed
cfaust-dougot wrote: Hey Jay, Yes,
all
Folks,
I hope my brain is just not functioning properly
yet as its Saturday, but I'm having a tough time figuring out the best way to
handle the needed changed of "Apache::*" to "Apache2::Const*"
automatically so I don't have to edit anything with a script going up on 2
different servers with
Title: Re: Code fix/suggestion after MP2 update
cfaust-dougot wrote:
Folks, I hope my brain is just not
functioning properly yet as its Saturday, but I'm having a tough time figuring
out the best way to handle the needed changed of "Apache::*" to
"Apache2::Const*" auto
Folks, have what I hope is a little
problem during the install of mod_perl.
1. Problem Description:
I just downloaded the current
mod_perl from the site.
mod_perl-2.0-current.tar.gz 4/18/2005
Configured and built as outlined in the docs - everything went fine, test
showed all testes being
Title: Re: [MP2] - Failure on Make Install
Thanks Philip, I'll do that
right now...
-Chris
From: Philip M. Gollucci
[mailto:[EMAIL PROTECTED]Sent: Mon 4/18/2005 1:39
PMTo: cfaust-dougotCc:
modperl@perl.apache.orgSubject: Re: [MP2] - Failure on Make
Install
cfaust-dougot wrote
Title: Re: [MP2] - Failure on Make Install
cfaust-dougot wrote: Folks, have what I hope
is a little problem during the install of mod_perl. 1.
Problem Description: I just downloaded the current
mod_perl from the site. mod_perl-2.0-current.tar.gz
4/18/2005 Configured and built as outlined
Title: Re: [MP2] - Failure on Make Install
cfaust-dougot wrote:Folks,
have what I hope is a little problem during the install of
mod_perl.1. Problem
Description:I just downloaded the current mod_perl from
the site.mod_perl-2.0-current.tar.gz
4/18/2005Configured and built as outlined
Title: Re: [MP2] - Failure on Make Install
cfaust-dougot wrote:[...] It tried the
patch and got the same error: /usr/bin/perl -Iblib/lib
-I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e
ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm
Title: Re: [MP2] - Failure on Make Install
[...] It tried the patch and got the same
error: /usr/bin/perl -Iblib/lib
-I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e
ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm
Title: Re: MP2 Won't Install
That means only one thing: your httpd.conf is
broken. Start with a helloworld config from the documentation, see
it working and then proceed toensure that your own stuff is
configured to run modperl.
Awesome!!!Looks like that was the
problem
I don't
have done during
the apache and/or mod_perl builds to do this?
Thanks
-Chris
From: cfaust-dougot
[mailto:[EMAIL PROTECTED]Sent: Mon 1/10/2005 1:33 PMTo:
Stas BekmanCc: modperl@perl.apache.orgSubject: RE: MP2 -
Make test Error - t/api/request_rec.t
Thanks Stas, that did the
trick, test
Title: Re: MP2 - Make test Error - t/api/request_rec.t
sorry, I have no idea. If you reduce your
code to a simple few-lines script/handler and post it here, I'm sure
someone will figure out what the problem is, and whether it's an
issue with your code or a bug in mp2.
Thanks Stas, I'll
Title: Re: MP2 - Make test Error - t/api/request_rec.t
You realize that this is not an
a-few-lines-test-case. How can we analyzeor run it if it requires a
database connection and non-existingauth_incoming_user and other
functions. Please reduce it to the case thathas no external
52 matches
Mail list logo