ework when I had to
change from version 1 over to 2, but it was really much easier for me to
make a few code changes in lots of files rather than start from scratch.
I actually ended up with better code after fixing those little bugs that
were not worth the effort when writing it originally.
--
Chris Bennett
. :-}
--
Thank you all!
Chris Bennett
o do any coding in the guts of
mod_perl.
What other things need doing? Coding, basic documentation, and a fuller
documentation that teaches mod_perl beyond the throw in your old cgi code.
If anyone wants to talk about some serious documentation efforts, let's
start a new thread.
Thanks,
Chris
those after a bit. What is a good way to reference back
to this thread's sections that will get into the archive in a useful way?
Chris
>
> On 12.02.2021 00:51, Chris wrote:
> > On Thu, Feb 11, 2021 at 09:52:16AM +0100, André Warnier (tomcat/perl) wrote:
> > > Isn't this
e threads to add in the near future.
Threads I wouldn't have thought of.
But this isn't my mailing list, so breaking these topics into new
threads is just fine. Not a problem at all. 8-)
Recently, something "clicked on" for me about mod_perl.
Which is pretty thrilling for me. ;-}
Chris
anging all of my mod_perl code to something newer, but I
decided to just keep it. No regrets.
Chris
>
> On Sun, Feb 7, 2021, at 9:14 PM, Steven Haigh wrote:
> > In fact, I just realised that 'ab' test is rather restrictive So here's
> > a bit more of an extended test:
> &
curious to see how all of these new names will play out
over time.
Chris Bennett
to find a
suitable server and get a working laptop! Trying to get a friend's
Windows laptop working with an old firefox and an old version of Java
was a couple of days of frustration!
Thanks,
Chris Bennett
hod
that was undocumented in version 2.09?
The manual page right where this would be explained says it needs
to be finished, which leaves me clueless on how to proceed.
Thanks,
Chris Bennett
Forgot to mention that this isn't just a blah blah question.
I do intend to connect with a base system C file, allowedhost.c and
possibly others also. So I DO want to use any helpful information for an
actual project.
Chris Bennett
would make life easy.
You can reply to me off-list if this should not be on the mailing list.
Thanks
Chris Bennett
On Tue, Feb 04, 2014 at 11:42:43AM +0100, Vincent Veyron wrote:
Le lundi 03 février 2014 à 19:13 -0500, Perrin Harkins a écrit :
On Mon, Feb 3, 2014 at 5:33 PM, Chris Bennett
ch...@bennettconstruction.us wrote:
Right now I am using pg_1_.pl and pg_2.pl on the different hosts
that some data is pulled in from a config
file for the different databases, etc used.
Can I safely use pg.pl on both VirtualHosts or do I need to do something
else also to do this?
Thanks,
Chris Bennett
On Mon, Feb 3, 2014 at 4:30 PM, Vincent Veyron vv.li...@wanadoo.fr wrote:
Le samedi 01 février
.
The only thing that gets logged in the attempt is:
TIGHT LOOP!!!: Apache2::RequestRec=SCALAR(0x47e2f78) can't
Apache2::RequestRec::print!
Any ideas how I could further debug that error to find the cause?
TIA!
-Chris
);
$r-rflush;
Which just did nothing.
Thx
-Chris
From: Marcus Don [mailto:m...@names.co.uk]
Sent: Thursday, May 30, 2013 9:12 AM
To: Chris Faust
Cc: modperl@perl.apache.org
Subject: Re: Help on debugging print problem
At a guess, I'd say your new machine is using chunked output, so
.
Oh well, back to the drawing board.
Thanks
-Chris
From: Marcus Don [mailto:m...@names.co.uk]
Sent: Thursday, May 30, 2013 12:00 PM
To: Chris Faust
Cc: modperl@perl.apache.org
Subject: Re: Help on debugging print problem
I suspect you can just to this...
my $size = -s
-err_headers_out-add('Content-Disposition' = 'attachment; filename=' .
$download_name . '');
$r-print($output);
$content-param('set some html template vars');
That still doesn't work. Probably not a mod_perl specific question but I'm
hoping someone can shed some light
TIA!
-Chris
-output;
$r-headers_out-set(Location = $redirect);
return Apache2::Const::REDIRECT;
And the $redirect URL would then do the sending of the file itself?
Thanks!
-Original Message-
From: Jim Schueler [mailto:jschue...@eloquency.com]
Sent: Tuesday, April 30, 2013 1:53 PM
To: Chris Faust
Cc
Thanks Jim, I'm going to give that a try and see if I can get it to work.
-Chris
-Original Message-
From: Jim Schueler [mailto:jschue...@eloquency.com]
Sent: Tuesday, April 30, 2013 2:28 PM
To: Chris Faust
Cc: modperl@perl.apache.org
Subject: RE: Download then display page
Yes, that's
-print(); work as print?
I have read that CGI.pm and Apache::Request are similar but not the
same.
Is something already written to do this out there? A guide?
These applications use:
use Apache::Request();
use DBI();
All of these modules are using Apache::Registry, not handler.
Thanks,
Chris
* Starting apache2 ...
* start-stop-daemon: failed to start `/usr/sbin/apache2'
# dmesg
apache2[12697]: segfault at c ip b5d4974a sp bffce4d0 error 4 in
mod_perl.so[b5d24000+45000]
Any ideas on what to look for to determine the problem?
--
Chris Kaltwasser
looks like your CPU does not support an instruction the library is
trying to use. Or the lib is corrupted.
What does cat /proc/cpuinfo say?
Thanks for the suggestion. I've pasted that output below. But, wouldn't a
more likely cause for an illegal instruction be some bug in modperl, for
On Wed, Jun 13, 2012 at 7:04 AM, Chris Kaltwasser ch...@netpos.com wrote:
looks like your CPU does not support an instruction the library is
trying to use. Or the lib is corrupted.
What does cat /proc/cpuinfo say?
Thanks for the suggestion. I've pasted that output below. But, wouldn't
Hello, I'm getting a SIGILL, illegal instruction each time I startup my
application that is running fine on several other environments. It takes
place in startup.pl, before any error_log output is generated. I'm
including the back trace below in hopes that someone has a suggestion for
me, as I'm
Thank you Alexandr!
perl-devel was installed, but for some reason ExtUtils::Embed was not.
However, your email led me to install yum and then yum install
perl-ExtUtils-Embed -- which did the trick.
Thank you so much!
-Chris
On Mon, May 14, 2012 at 8:13 PM, Alexandr Ciornii alexcho
.tar.gz : make NO isa perl
Huh? I need to install Perl 5.15? That seems really odd.
I'm currently running Perl v5.10.1.
Help? What's going wrong?
Thanks,
Chris
On Thu, Mar 1, 2012 at 8:05 AM, Michael Peters mpet...@plusthree.comwrote:
On 02/28/2012 02:28 PM, Chris Olive wrote:
Last I checked, Apache was still providing patches and releases for the
v1 base as well.
This is not the case. V1 has been End of Lifed and won't receive any new
releases
Last I checked, Apache was still providing patches and releases for the v1
base as well. There are a lot of people still using it, at least that is
also my perception.
chris
-
*Chris Olive* | *Principal Consultant* | TechnologEase
LLChttp://www.technologease.com/
*email*: ch
, but setting BUFF_LEN to
8000 did not help as the buffer still sometimes gets cut after ~2500 bytes
or so. Do you know of any way to force the bucket to be a certain length?
Thanks
Chris
On Thu, Mar 31, 2011 at 10:07 AM, Hendrik Schumacher h...@activeframe.dewrote:
Am Do, 31.03.2011, 06:30 schrieb Chris
available and tried playing with the buffer size, but to no avail.
The server is running:
Apache 2.2.17-2
Modperl 2.0.4-7
Any explanation for why the script fails 10% of the time?
Thanks
Chris
On Wed, Mar 30, 2011 at 12:36 PM, Hendrik Schumacher h...@activeframe.dewrote:
Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
I had a similar problem with a http proxy that injected a string into the
HTML body. If the response is passed to the filter in multiple parts there
is a certain
break the AuthCookie sections out into confs for
each virtual host using it, learn to use Perl Sections, or something
different? Any suggestions are welcome.
Thanks
Chris Bennett
the AuthCookie sections out into confs for each
virtual host using it, learn to use Perl Sections, or something different? Any
suggestions are welcome.
Thanks
Chris Bennett
on this would be gratefully received!
Regards Chris
/perl5/Apache2/Build.pm line 2030.
Which is fair enough since I don't have that directory! does anyone know
what should be in there and how I could go about finding the right content
to put in there?
Regards Chris
:
http://www...
That reminds me:
1) chmod +x mailfile.pl
2) dos2unix mailfile.pl
Perhaps cp removes the wrong line endings?
Anyway, you can also fix files with vi
:%s/ctrl-v ctrl-m//g
Works like a charm. I don't have dos2unix.
Chris Bennett
I'm looking for recommendations for a good ModPerl book that does not assume
too much Perl background, any suggestions?
- Chris
Chris Datfung wrote:
I'm looking for recommendations for a good ModPerl book that does not
assume too much Perl background, any suggestions?
- Chris
I have found this book to be extremely helpful
http://www.modperlcookbook.org/
if you get it, be sure to use the index on this website
of that loop,
but still ended up with multiple copies of the same text within $Buffer.
What is the correct what to access the entire server response in a single
variable? Any pointers to examples of this are greatly appreciated.
Thanks,
Chris
Well I'm pretty clueless. It works fine on nearly identical desktop at home.
Won't work on server.
I don't know what else I can try.
I have tried using Location instead of Directory.
Changed module names.
Fiddled with startup.pl
Still always get uri as /perl/login.pl and creds as uninitialized.
On 05/20/10 12:12, Perrin Harkins wrote:
On Thu, May 20, 2010 at 11:12 AM, Chris Bennett
ch...@bennettconstruction.biz wrote:
Well I'm pretty clueless. It works fine on nearly identical desktop at home.
Won't work on server.
That means the problem is either different versions on the one
version 3.12 and 3.14
Thanks
Chris Bennett
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve
On 05/19/10 17:11, André Warnier wrote:
Chris Bennett wrote:
After getting it to work just fine on my desktop, without any virtual
hosts, I can't get it to work right on my server in a virtual host.
I have Apache::AuthCookie (and several derived versions) working fine in
multiple VirtualHost
After seeing logs mentioned above, I remembered this.
I do not see my scripts appearing properly in access log
I have an older script that never shows an access into the log (only errors)
I have a new script with same name but a few differences in two
different virtual hosts.
After a stop
On 04/27/10 13:28, Perrin Harkins wrote:
On Tue, Apr 27, 2010 at 1:07 PM, Chris Bennett
ch...@bennettconstruction.biz wrote:
I do not see my scripts appearing properly in access log
That probably means your scripts are crashing before they finish. You
could use mod_log_forensic to find out
On 04/27/10 12:07, Chris Bennett wrote:
After seeing logs mentioned above, I remembered this.
I do not see my scripts appearing properly in access log
I have an older script that never shows an access into the log (only
errors)
I have a new script with same name but a few differences in two
! :)
Thanks
Chris Bennett
On 04/24/10 21:38, Chris Bennett wrote:
When I run this first time, with no values from form, I get
$article_file being a / when it should be nothing. I just can't see the
error. I have tried variations with \w and dash at beginning and end,
but no go.
Debug shows blank at A, / at B
#!/usr/bin
On 04/25/10 08:57, André Warnier wrote:
Chris Bennett wrote:
...
$article_file = $q-param(articlefilename) || '';
ok, so suppose it is 12345.html.en
...
if ($article_file =~ /^([a-zA-Z0-9_-]+\.html.?\w?\w?)$/) {
$article_file = $1;
} else {
$article_file = '';
}
ok, matches, so it's
;
$article_backup_file =~ s/\.html$/_backup.html/;
undef my $body;
Thanks
Chris Bennett
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give
On 04/24/10 21:38, Chris Bennett wrote:
When I run this first time, with no values from form, I get
$article_file being a / when it should be nothing. I just can't see the
error. I have tried variations with \w and dash at beginning and end,
but no go.
Debug shows blank at A, / at B
#!/usr/bin
On 04/21/10 11:33, Felipe de Jesús Molina Bravo wrote:
Hi
In my application, I opened my database from authentication handler and
close it from child exit handler. It is correct (is a best practice)? or
is a bad design?
where i can read for best practice for it?
thank's
Are you using
On 04/17/10 14:27, Jiri Pavlovsky wrote:
Hello,
I'm trying to prestart db connection. But Apache::DBI-connect_on_init
is not working. Gives no error, but db connection is not made.
Setting $Apache::DBI::DEBUG = 2 indicates that ChildInitHandler runs.
I tried to create my custom
On 04/17/10 15:09, Jiri Pavlovsky wrote:
On 17.4.2010 22:22, Chris Bennett wrote:
On 04/17/10 14:27, Jiri Pavlovsky wrote:
Hello,
I'm trying to prestart db connection. But Apache::DBI-connect_on_init
is not working. Gives no error, but db connection is not made.
Setting $Apache::DBI::DEBUG
= $ENV{TE};
unless ($f-ctx)
{
while ($f-read(my $buffer, BUFF_LEN))
{
$buffer =~ s/It/Chris/g;
$buffer .= [ . $envar . ];
$f-print($buffer);
}
return Apache2::Const::OK;
}
}
1
On Tue, Apr 13, 2010 at 9:57 PM, Chris Datfung chris.datf...@gmail.comwrote:
On Tue, Apr 13, 2010 at 6:34 PM, Fred Moyer f...@redhotpenguin.comwrote:
Correct me if I'm wrong, but don't you need to do this:
PerlPassEnv TE
Hi Fred,
After a bit more research, It seems that PerlPassEnv
Thanks mate.
Unfortunately neither of those suggestions worked. Any other ideas?
Chris
On Mon, Apr 12, 2010 at 10:15 PM, Adam Prime adam.pr...@utoronto.ca wrote:
you might want to take a look at subprocess_env
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_
in the
/index.html output either. Any ideas what I'm missing?
Thanks,
Chris
On Mon, Apr 12, 2010 at 11:44 AM, Chris Datfung chris.datf...@gmail.com
wrote:
I want to use mod-perl to edit server responses under certain conditions.
My
plan was to use various modules, like mod-setenvif
;
unless ($f-ctx)
{
while ($f-read(my $buffer, BUFF_LEN))
{
$buffer =~ s/It/Chris/g;
$buffer .= $ENV{TE};
$f-print($buffer);
}
return Apache2::Const::OK
unsubscribe
unsubscribe
__
Yahoo!7: Catch-up on your favourite Channel 7 TV shows easily, legally, and for
free at PLUS7. www.tv.yahoo.com.au/plus7
-- it's been a stressful 45 minutes each time while I
scrambled to try to figure out how to restart it.
Thanks!
-Chris
Hi Perrin,
Cool, that's a good suggestion. I'll work with httpd directly if it happens
again.
Thanks,
Chris
On Mon, Jun 1, 2009 at 10:25 AM, Perrin Harkins phark...@gmail.com wrote:
On Mon, Jun 1, 2009 at 6:50 AM, Chris Brooks madb...@gmail.com wrote:
My first try was to execute apachectl
of Debian with old apache and
old mod_perl (early 1.99 and 2.0.x). I've updated mod_perl to 2.0.2 and
apache to 2.2 and everything still works.
TIA!!
-Chris
/msg8.html
Regards
Chris Z
--- On Thu, 17/7/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Re: persistent database connection - Apache::DBI with mod_perl
To: modperl@perl.apache.org
Received: Thursday, 17 July, 2008, 12:33 AM
Quoting Chris
,
xxx, xxx,
{PrintError = 1, RaiseError = 0, AutoCommit =
1,}
);
END
Do I need to do any setting in Apache for $ENV{MOD_PERL}?
Did I do any thing wrong in above code?
Thanks and Regards
Chris Z
the entire list of aircraft. I would prefer to
retrieve the list of aircraft when each Perl interpreter starts and then
not retrieve it again until the administrator sends a signal.
Thanks.
Colin
--
Chris Wagner
CBTS
GE Aircraft Engines
[EMAIL PROTECTED]
Bug Report --8--
[mod_perl-2.0.3]$ uname -a
SunOS netdisc 5.8 Generic_117350-36 sun4u sparc SUNW,Sun-Fire-V240
Even though it says it can't find the http binary it's in the same dir as apxs.
Hope somebody knows how to solve this. Thanks.
--
Chris Wagner
CBTS
GE Aircraft
. Any ideas as to what to try next - is anyone else using
Apache/Perl in a FreeBSD jail, I want to make the server secure as it
will be storing confidential data, however, perhaps there is a better
way.
Thank you in advance for any help
Chris
Important: Fidelity Investments International (Reg
idea why this is happening? Turning on Apache::DBI
debugging doesn't
print anything useful.
Many thanks,
Chris Allen,
ps. This problem is 100% reproducible. I just don't know where to start
looking...
Thanks everyone for the suggestions. I appreciate it. Will ponder the
options.
Regards,
Chris Hagglund.
Perrin Harkins wrote:
On 4/11/07, Jonathan Vanasco [EMAIL PROTECTED] wrote:
Are you aware of the dangers in namespace collision this can cause?
I'd guess that he is, and that's why uses
, or is there an esablished best-practice for
doing this kind of thing?
Thanks for any information.
Regards,
Chris Hagglund.
@, and info@
before disclosing a vulnerability, or ask this list for guidance.
(It might be worth making sure at least one of these works with the
perl.apache.org domain, e.g., [EMAIL PROTECTED])
Chris
--
Chris Shiflett
http://shiflett.org/
::valid.
Thanks for any suggestions,
Drew
--
Chris Jacobson Phone: (513) 665-9070 x310
Online-Rewards Fax : (214) 242-4448
403 Vine Street, Second Floor http://www.online
to
describe them anyway. As someone else rightly asked, what sort of
support do you need? I'm sure there are many, many options.
Chris
--
Chris Shiflett
http://shiflett.org/
It appears that the + is getting stripped out at some point as the
script is returning results for water pollution instead of
water+pollution. Is it possible that Apache is the culprit or should
we be looking more closely at our script or rewrite rule?
Thanks,
Chris
--
Chris
Thanks Rob, this might be it.
As we can't expect our users to know to use %2B instead of +, we'll
try replacing it in the rewrite.
Chris
-Original Message-
From: Robert Landrum [mailto:[EMAIL PROTECTED]
Sent: Monday, December 18, 2006 11:01 AM
To: Chris Schults
Cc: modperl
I wouldn't really call this a modperl question but regardless...
Sorry if this was off topic. I subscribed to this list a few months ago
for another issue and have seen a number of posts dealing with
mod_rewrite. I'll be mindful in the future.
Chris
be loaded so that errors in those will
prevent apache from reloading as well.
- Chris H.
to setup www.example.org/blog/ in a way where a
virtual include would work?
Thanks in advance,
Chris
--
Chris Schults
Web Production Manager
Grist Magazine
710 Second Avenue, Suite 860
Seattle, WA 98104
Phone: 206-876-2020, ext. 204
Fax: 253-423-6487
http://www.grist.org
, though I'd be happy to be proved wrong.
Chris
Come to think of it, you'll want to combine mod_rewrite and mod_proxy
- I think there's an example of how to do this on the mod_rewrite
docs.
Thanks Mark. I've read the online docs and tried to make sense of them
the best I can. I couldn't seem to find an example similar to mine
though.
Chris
an escaping problem, not a filtering one. Nitesh Dhanjani
discusses this a bit here:
http://oreillynet.com/onlamp/blog/2005/10/repeat_after_me_lack_of__outpu.html
Chris
--
Chris Shiflett
http://shiflett.org/
.
Hope that helps.
Chris
--
Chris Shiflett
http://shiflett.org/
the attack, but it can also be launched from any other
web site where your users visit.
Something I think RSnake fails to mention is that CSRF safeguards fail
when a XSS vulnerability exists, so it's important to protect against both.
Hope that helps.
Chris
--
Chris Shiflett
http://shiflett.org/
.
Chris
--
Chris Shiflett
http://shiflett.org/
Clinton Gormley wrote:
Really good article, Chris:
http://shiflett.org/articles/security-corner-dec2004
I really like the solution of using tokens.
Thanks! :-)
It's worth noting that this safeguard is rendered ineffective if you
have XSS vulnerabilities, thanks to Ajax. Malicious JavaScript
, Amit Klein published some research in July that
demonstrated how to do this with Flash. So, if your users use clients
that support Flash (which most do), this is not a good safeguard.
Chris
--
Chris Shiflett
http://shiflett.org/
of this list can someone please point me to it?
Thanks for any information.
Best,
Chris Hagglund.
environment then I definitely want to take steps to deal with
it the right way. So I guess I'm asking if 1.99_16 makes a difference
compared to 1.99 (that I erroneously quoted before) and if you have any
idea what Rackspace might mean about Redhat backpatching mod_perl.
Thanks again.
-Chris
Tom,
I never build on RedHat, I consider it a
prepackage type distribution; If the package you need is not available you are
out of luck.
If you want to build tools, go to a
distribution set up with a clean build environment: I recommend slackware or one
of these derivatives.
If
!Chris
is there a way to get at the error that would be logged to apaches
error_log from a PerlLogHandler?
--
Chris Scheller | http://www.pobox.com/~schelcj | JID: [EMAIL PROTECTED]
--
If God had intended Man to Smoke, He
Title: RE: Protocol Philosophy
You lost it here, Chris. Input filters feed the protocol handler, not the other way around.
Maybe, but that's why I ask questions... Now read what you write:
... the protocol handlers simply ask the last input filter to give it data ...
Still
Title: RE: Apache::DB - What am I doing wrong?
I don't think that is what he was asking... He asked if there was a way to attache the DEBUGGER to a specific pid; he did not address the issue of getting the correct input to that pid.
I do not use the debugger [but embed debugging code to be
Title: Protocol Philosophy
Mod_perl list, Apache 2.2.0 mod_perl 2.0.2
I have been working with an alternative protocol implementation for apache for some time now and [as would be expected with a perl based tool] I have found many ways to accomplish the same task. I am asking about the
man GDBM_File
-Original Message-From: Mark Galbreath
[mailto:[EMAIL PROTECTED]Sent: Thursday, February 23, 2006 7:08
AMTo: modperl@perl.apache.orgSubject:
TIE
I must be missing the point. In the 3rd
edition of the Camel Book, there is a passing reference in Chapter
, February 23, 2006 9:28
AMTo: modperl@perl.apache.org;
[EMAIL PROTECTED]Subject: RE: TIE
looks way cool - thx Chris. Does libgdbm come with perl
distros? I notice the man page is already on my RH Enterprise 4
client. The reason I ask is that it is very painful to get the
government
Title: RE: Can't print to selected filehandle?
Frank Wiles Wrote:
http://perl.apache.org/docs/1.0guideporting.html#STDIN__STDOUT_and_STDERR_streams
Dead link?
Title: RE: 2.02 make fails: cannot find -lperl
Tom Setka wrote:
Apache 2.0.55 has been installed on my PC's hard drive
So why not compile and install perl in the same [or a similar] directory structure?
I always build all the tools I will need.
Just a thought,
Christian Werner
1 - 100 of 221 matches
Mail list logo