a new framework 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
27;s easy to pick up. :-}
--
Thank you all!
Chris Bennett
.
I don't see myself as being able to 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
estions about 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:
> >
now have some 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 thri
sidered changing 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
, I'm curious to see how all of these new names will play out
over time.
Chris Bennett
ying 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
re a method
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
ice web browser page
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
> > wrote:
> > > Right now I am using pg_1_.pl and pg_2.pl on the different hosts, but
>
t
the code is identical, except 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 wrot
.
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
>set_content_length($body_len);
$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 you
different paths etc with the same results so I
don't think it's a location or permissions issue.
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
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, t
l');
print $content->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, Ap
int($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
->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,
Ch
t;
> # /etc/init.d/apache2 start
> * 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 determin
On Wed, Jun 13, 2012 at 7:04 AM, Chris Kaltwasser 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.
> 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, fo
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 qu
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 wrote:
>
g make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
FLORA/perl-5.15.4.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 wrote:
> 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" a
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
LLC<http://www.technologease.com/>
*emai
, 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 wrote:
> Am Do, 31.03.2011, 06:30 schrieb Chris Datfung:
&g
On Wed, Mar 30, 2011 at 12:36 PM, Hendrik Schumacher wrote:
> 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 p
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
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
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
eq2-config
config.status: creating include/apreq_config.h
config.status: include/apreq_config.h is unchanged
config.status: executing depfiles commands
Any help on this would be gratefully received!
Regards Chris
#x27;t exist) at /usr/lib/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
er:
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
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
I'm looking for recommendations for a good ModPerl book that does not assume
too much Perl background, any suggestions?
- Chris
$f->print($Buffer) statement out 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
On 05/20/10 12:12, Perrin Harkins wrote:
On Thu, May 20, 2010 at 11:12 AM, Chris Bennett
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 that
doesn
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/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 Virtua
both 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,
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
On 04/27/10 13:28, Perrin Harkins wrote:
On Tue, Apr 27, 2010 at 1:07 PM, Chris Bennett
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 more.
- Perrin
This was a
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 sta
I am combining into my module, subs for two scripts doing very similar,
yet a little different functions.
Many subs can be used by both unchanged.
Some are almost right except for the arguments
One script works on two output files at once, the other, just one.
So I did this and it seems to work
pen sooner! :)
Thanks
Chris Bennett
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 {
$ar
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
#!/us
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
#!/us
icle_file = $1;
if ($debug) { $error .= qq{$article_file};}
$article_backup_file = $article_file;
$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, wri
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 Apach
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::DB
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 ChildInitHandle
EN => 1024;
sub handler
{
my $f = shift;
$f->subprocess_env;
my $envar = $ENV{TE};
unless ($f->ctx)
{
while ($f->read(my $buffer, BUFF_LEN))
{
$buffer =~ s/It/Chris/g;
$buffer .= "[&quo
On Tue, Apr 13, 2010 at 9:57 PM, Chris Datfung wrote:
> On Tue, Apr 13, 2010 at 6:34 PM, Fred Moyer wrote:
>
>> 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 PerlPa
{HOME}' to the TE::ST package but did not see the path 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
> wrote:
> > I want to use mod-perl to edit server responses under certain conditions.
> My
&
Thanks mate.
Unfortunately neither of those suggestions worked. Any other ideas?
Chris
On Mon, Apr 12, 2010 at 10:15 PM, Adam Prime 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_
>
gt; 1024;
sub handler
{
my $f = shift;
unless ($f->ctx)
{
while ($f->read(my $buffer, BUFF_LEN))
{
$buffer =~ s/It/Chris/g;
$buffer .= $ENV{"TE"};
$f->
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
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 wrote:
> On Mon, Jun 1, 2009 at 6:50 AM, Chris Brooks wrote:
> > My first try was to execute apachectl stop and t
I'd love to have some ideas before
this happens again -- it's been a stressful 45 minutes each time while I
scrambled to try to figure out how to restart it.
Thanks!
-Chris
g stupid?
FYI this was all running before on a version 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
ile('ModPerl::Registry=HASH(0x280c1ac)',
'SCALAR(0x1c615f0)') called at C:/Perl/site/lib/ModPerl/RegistryCooker.pm line
406\n\tModPerl::RegistryCooker::convert_script_to_compiled_handler('ModPerl::Registry=HASH(0x280c1ac)')
called at C:/Perl/site/lib/ModPerl/RegistryCooker.pm l
);
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
Start at the new Yahoo!7 for a better online experience. www.yahoo7.com.au
page, the script queries the
> database to retrieve 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]
the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Wed Dec 19 12:15:24 2007 GMT.
-8<-- End 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 Engines
[EMAIL PROTECTED]
: -
CGI: 3.29
ExtUtils::MakeMaker: 6.3201
LWP: 5.805
mod_perl : -
mod_perl2 : 2.03, 2.03
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by t/REPORT on Wed Dec 19 12:15:24 2007 GMT.
--
but to no avail. 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 Int
e any 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
ing wrong, or is there an esablished best-practice for
doing this kind of thing?
Thanks for any information.
Regards,
Chris Hagglund.
ld I address my concerns?"
In the future, I highly suggest trying security@, support@, 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/
being written to the response?
BTW - the $snowman string returns 1 for utf8::is_utf8 and utf8::valid.
Thanks for any suggestions,
Drew
--
Chris Jacobson Phone: (513) 665-9070 x310
Online-Rewards
want it to work.
For those who have more specific needs, "Perl support" is too generic 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/
> 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
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
such as: /tag/water+pollution
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
nes
for any modules that should be loaded so that errors in those will
prevent apache from reloading as well.
- Chris H.
xample similar to mine
though.
Chris
to be that efficient to
me, though I'd be happy to be proved wrong.
Chris
, I'm told this is probably one of the most "expensive" ways
to accomplish this. Is this true? Can anyone recommend another method?
Also, would it be possible to setup www.example.org/blog/ in a way where a
virtual include would work?
Thanks in advance,
Chris
---
to that?
http://webappsec.org/lists/websecurity/archive/2006-07/msg00069.html
Chris
--
Chris Shiflett
http://shiflett.org/
, but that doesn't make it a "yes and
no" issue.
Hope that helps.
Chris
--
Chris Shiflett
http://shiflett.org/
SS is
fundamentally 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/
Unfortunately, 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/
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 t
f the fact that a
possibly unsafe action is being requested."
Chris
--
Chris Shiflett
http://shiflett.org/
ur own
site to launch 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.
Chri
"backpatching" mod_perl.
Thanks again.
-Chris
Frank Wiles wrote:
On Thu, 29 Jun 2006 10:12:13 -0400
Chris Hagglund <[EMAIL PROTECTED]> wrote:
I am looking for information on how to get mod_perl 1.99 under
apache2 (is this a screwball setup? Its with plesk 7.5 on redhat) to
send
this list can someone please point me to it?
Thanks for any information.
Best,
Chris Hagglund.
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.
I
sion of perl?
Thanks!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
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 sw
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 phi
ECTED]Sent: Thursday, 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
1 - 100 of 266 matches
Mail list logo