Initialize object permanently

2008-05-19 Thread william
Hello, I just know that I can't have a startup script, but how can I create an object in the startup script and then used that variable object in child modperl script ? Thanks.

Re: Initialize object permanently

2008-05-19 Thread william
On 5/20/08, william <[EMAIL PROTECTED]> wrote: > Hello, I just know that I can't have a startup script, but how can I > create an object in the startup script and then used that variable > object in child modperl script ? Thanks. > Sorry I mean I CAN have a startup script.

Re: Initialize object permanently

2008-05-19 Thread william
On 5/20/08, André Warnier <[EMAIL PROTECTED]> wrote: > > > william wrote: > > > On 5/20/08, william <[EMAIL PROTECTED]> wrote: > > > > > Hello, I just know that I can't have a startup script, but how can I > > > create an object in the

Re: Initialize object permanently

2008-05-19 Thread william
matter). I have not looked at the QueryData.pm module you > mention, but it might be that it modifies it's internal state at each query. > This may or may not be important in your case. > > André > > > > william wrote: > > > On 5/20/08, André Warnie

Re: Initialize object permanently

2008-05-20 Thread william
On 5/20/08, Dodger <[EMAIL PROTECTED]> wrote: > 2008/5/19 Michael Peters <[EMAIL PROTECTED]>: > > > william wrote: > > > >> Then I would need to modify the QueryData module then, > > > > No don't do that. > > > >> by

Re: Initialize object permanently

2008-05-20 Thread william
On 5/20/08, william <[EMAIL PROTECTED]> wrote: > On 5/20/08, Dodger <[EMAIL PROTECTED]> wrote: > > 2008/5/19 Michael Peters <[EMAIL PROTECTED]>: > > > > > william wrote: > > > > > >> Then I would need to modify the QueryData mod

Current working directory always "/"

2008-05-21 Thread william
Hello, It took me hours just to notice that my current working directory of mod_perl2 always appear as "/" Alias /modperl/ /var/www/modperl/ SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Order allow,deny All

Re: Current working directory always "/"

2008-05-21 Thread william
On Wed, May 21, 2008 at 4:29 PM, Fred Moyer <[EMAIL PROTECTED]> wrote: > william wrote: >> >> Hello, >> It took me hours just to notice that my current working directory of >> mod_perl2 always appear as "/" > > See slide 77 and on: > >

Re: Current working directory always "/"

2008-05-21 Thread william
On Wed, May 21, 2008 at 5:26 PM, Torsten Foertsch <[EMAIL PROTECTED]> wrote: > On Wed 21 May 2008, william wrote: >> I don't know why they don't just recommend using >> ModPerl::RegistryPrefork instead of ModPerl::Registry , that could >> save a lot of other

is there a maximum output character length ?

2008-05-21 Thread william
Hello, I am just so tired after hours of debugging, why does is never write text into the file completely ? It has not problem if using CGI. Let's say if I have $ruleStr = "aa eee"; open(PARSER,">$self->{parser}.pm"); print PARSER $ruleStr; It will write a few characte

Re: is there a maximum output character length ?

2008-05-21 Thread william
On Thu, May 22, 2008 at 4:30 AM, John ORourke <[EMAIL PROTECTED]> wrote: > william wrote: >> >> Let's say if I have >> $ruleStr = "aa eee"; >> >> open(PARSER,">$self->{parser}.pm"); >> print

Re: is there a maximum output character length ?

2008-05-21 Thread william
On Thu, May 22, 2008 at 4:50 AM, John ORourke <[EMAIL PROTECTED]> wrote: > william wrote: > > On Thu, May 22, 2008 at 4:30 AM, John ORourke <[EMAIL PROTECTED]> > wrote: > > > william wrote: > > > It will write a few characters only, not complete

Yet another interface to SWI-Prolog in mod_perl

2008-05-22 Thread william
I am trying to run the Yaswi http://search.cpan.org/~salva/Language-Prolog-Yaswi-0.14/Yaswi.pm module in mod_perl, use CGI qw(:standard); print header; use Language::Prolog::Yaswi qw(:query :run); use Language::Prolog::Types::overload; use Language::Prolog::Sugar functors => { equal => '=',

Re: Current working directory always "/"

2008-05-22 Thread william
On 5/21/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, May 21, 2008 at 10:28 AM, Philip M. Gollucci > <[EMAIL PROTECTED]> wrote: > > You should almost always use full paths to files, think of threads. > > > This is true in a module you plan to distribute on CPAN, but for local > use you

mod_perl interactive debugging

2008-05-27 Thread william
Hello, I am trying to debug my perl code under mod_perl and I had followed all the instruction at this section http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging I managed to see my perl debugging console prompted , but this prompt is shown by the tail -f /var/log/apac

Re: mod_perl interactive debugging

2008-05-28 Thread william
On Wed, May 28, 2008 at 5:50 AM, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, May 27, 2008 at 1:38 PM, william <[EMAIL PROTECTED]> wrote: >> Hello, I am trying to debug my perl code under mod_perl and I had >> followed all the instruction at this section >>

Re: mod_perl interactive debugging

2008-05-28 Thread william
On 5/29/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, May 28, 2008 at 3:33 AM, william <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED]:~$ sudo apache2 -X -DPERLDB -k restart > > [notice] Apache::DB initialized in child 10312 > > > > Do I have

Re: mod_perl interactive debugging

2008-05-28 Thread william
On 5/29/08, Fred Moyer <[EMAIL PROTECTED]> wrote: > william wrote: > > > On 5/29/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > > > On Wed, May 28, 2008 at 3:33 AM, william <[EMAIL PROTECTED]> wrote: > > > > > I put the followin

Syntax error in mod_perl but not in shell command

2008-05-28 Thread william
Hello, I am running this code print "Content-type: text/html\n\n"; use Switch; $t =1; switch ($t) { case 1 { print "number 1\n"; } } I have not problem running in shell command [EMAIL PROTECTED]:/var/www/modperl$ perl test.pl Content-type: text/html number 1 But when

Re: Syntax error in mod_perl but not in shell command

2008-05-29 Thread william
On 5/30/08, Heiko Jansen <[EMAIL PROTECTED]> wrote: > As far as I understand it, mod_perl will eval{} the code it's going to > run and in the paragraph "Limitations" on > http://search.cpan.org/~rgarcia/Switch-2.13/Switch.pm > we're told that "Due to the way source filters work in Perl, you can'

Re: mod_perl interactive debugging

2008-05-31 Thread william
On 5/29/08, william <[EMAIL PROTECTED]> wrote: > On 5/29/08, Fred Moyer <[EMAIL PROTECTED]> wrote: > > william wrote: > > > > > On 5/29/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > > > > > On Wed, May 28, 2008 at 3:33 A

Re: mod_perl interactive debugging

2008-05-31 Thread william
On 6/1/08, Fred Moyer <[EMAIL PROTECTED]> wrote: > william wrote: > > > On 5/29/08, william <[EMAIL PROTECTED]> wrote: > > > > > On 5/29/08, Fred Moyer <[EMAIL PROTECTED]> wrote: > > > > william wrote: > > >

Re: mod_perl interactive debugging

2008-05-31 Thread william
On 6/1/08, william <[EMAIL PROTECTED]> wrote: > On 6/1/08, Fred Moyer <[EMAIL PROTECTED]> wrote: > > william wrote: > > > > > On 5/29/08, william <[EMAIL PROTECTED]> wrote: > > > > > > > On 5/29/08, Fred Moyer <[EMAIL PROTECTE

Fwd: mod_perl interactive debugging

2008-06-01 Thread william
-- Forwarded message -- From: william <[EMAIL PROTECTED]> Date: Jun 1, 2008 6:11 PM Subject: Re: mod_perl interactive debugging To: Fred Moyer <[EMAIL PROTECTED]> On 6/1/08, william <[EMAIL PROTECTED]> wrote: > On 6/1/08, william <[EMAIL PROTECTED]> w

Re: Fwd: mod_perl interactive debugging

2008-06-06 Thread william
On 6/4/08, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Mon, 2 Jun 2008 01:30:33 +0800 > > william <[EMAIL PROTECTED]> wrote: > > > > Hello, my debugger is working fine now under mod_perl, I can exit from > > debugger just > > like normal 'q&#

mod_perl caching problem

2008-06-24 Thread william
Hello, Before asking here, I had read a few articles in perl.apache.org about caching issue in mod_perl, but I still don't get it right with my program when I had already changed the input, it still giving me the result of old input. I aware that the child process will only compile the code for on

Re: mod_perl caching problem

2008-06-24 Thread william
I like to add on something, I had put the pragma use strict; use warnings; on all modules that I had, but I didn't get the warnings of "Variable "$foo" will not stay shared at..." . What other possibility that might cause my program to cache the result even when the input has already changed ? T

Re: mod_perl caching problem

2008-06-24 Thread william
quot;. I have used global variable "our" for the variables that might caused problem. On 6/24/08, Geoffrey Young <[EMAIL PROTECTED]> wrote: > > > william wrote: > > > I like to add on something, I had put the pragma > > use strict; > > use warnings; > &

Re: mod_perl caching problem

2008-06-28 Thread william
on of global variables are remembered. So I solved it by reseting that global variable before that global variable is used. Thanks. On 6/27/08, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Tue, Jun 24, 2008 at 9:07 AM, william <[EMAIL PROTECTED]> wrote: > > Before asking here,

Re: Trouble with AuthenSmb

2004-03-16 Thread William McKee
hasn't been modified to work in mod_perl2. Try adding 'use Apache::RequestRec' to that module and see if that fixes your problem. If so, you ought to post a bug report via CPAN. HTH, William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.ap

Re: Trouble with AuthenSmb

2004-03-16 Thread William McKee
r got a response on if it was safe to > use other versions of rpms with AS. Thanks again for the help. You may want to try contacting the folks who supplied you with the rpm. They shouldn't be distributing an rpm for mp2 that doesn't work with mp2. Good luck, William -- Knowmad S

Re: Virtual Hosts and shared Modules

2004-03-18 Thread William McKee
On Thu, Mar 18, 2004 at 12:27:19PM -0800, Marc Brooks wrote: > Any suggestions or easy ways to resolve this? In addition to Ged's suggestion, I'd also recommend reading the following: http://perl.apache.org/docs/1.0/guide/porting.html#Sometimes_it_Works__Sometimes_it_Doesn_t

Re: Apache::AuthCookieDBI and SecretKeyFile

2004-03-23 Thread William McKee
use Apache::AuthCookieDBI; BTW, I've submitted several other reports to CPAN which the author has so far ignored. The most troubling one is "Incorrect processing of authen_cred()"[2]. I've submitted a patch which you may want to apply. Let me know if you'd like a c

Re: Apache::AuthCookieDBI and SecretKeyFile

2004-03-23 Thread William McKee
know how it goes. William -- Knowmad Services Inc. http://www.knowmad.com 466,467c466,467 < my $user = $credentials[ 0 ]; < unless ( $user =~ /^.+$/ ) { --- > my $user = $credentials[ 0 ] || ''; > unless ( $user && $user =~

Re: Apache::AuthCookieDBI and SecretKeyFile

2004-03-23 Thread William McKee
that another process isn't trying to read that file and failing due to permissions? William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.o

[mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread William McKee
ed at Apr 7 2004 01:54:35 @INC: /usr/local/lib/perl5/5.8.3/i686-linux /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/i686-linux /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl /usr/share/perl5/ . Makefile.PL options:

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread William McKee
On Wed, Apr 07, 2004 at 12:39:33AM -0700, Stas Bekman wrote: > William, why do you check a binary, which is not the one that you get > the error from? You need to check /usr/local/apache/bin/httpd instead. > (of course it could be the same binary, but still...) Because I thought it was

Re: [mp1] Apache/mod_perl startup problems - PL_nowarn

2004-04-07 Thread William McKee
way for fear of making my system unstable. With Perl built to support dynamic linking, mod_perl installed fine and found the right libperl.so. > and what's: > > % which perl /usr/local/bin/perl Thanks, William -- Knowmad Services Inc. http://www.knowmad.com -- Report pro

Re: mod_perl installation and non-standard perl path in FreeBSD

2004-04-22 Thread William McKee
work. Check the docs but I'm pretty sure that the APACHE_PREFIX path is where apache will be installed. William [1] http://apachetoolbox.com/ -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/mai

[OT] Re: BerkeleyDB with mod perl

2004-04-22 Thread William McKee
t the handle via the following: my $bdb = new BerkeleyDB::Btree -Flags=> DB_CREATE, -Filename => $dbfile, -Env => $env, or die "Cannot open file $dbfile: $! - '$BerkeleyDB::Error'\n"; Good luck and let us know if you f

Re: BerkeleyDB with mod perl

2004-04-22 Thread William McKee
ing my head trying to understand why. It seems that all the children would share the same locked environment. But perhaps, they shouldn't be sharing the same handle (is this the equivalent of a connection?) to that environment. Is that where the problem lies? Does each child need to have a separat

make test hangs

2004-05-04 Thread William Fulmer
Hi,   I'm trying to get mod_perl-1.99_13 to compile with apache 2.0.49 and perl 5.6.2   -bash-2.05b# /usr/opt/perl-5.6.2/bin/perl -VSummary of my perl5 (revision 5.0 version 6 subversion 2) configuration:  Platform:    osname=hpux, osvers=11.00, archname=PA-RISC2.0    uname='hp-ux cars-l b.11.00

Re: make test hangs

2004-05-05 Thread William Fulmer
9mod_perl   : -   3. This is the core dump trace: (if you get a core dump):   no core dump created   This report was generated by t/REPORT on Tue May  4 21:17:52 2004 GMT.   -8<-- End Bug Report --8<--   ---Will FulmerDatabase AdministratorNorthampton Communit

Re: make test hangs

2004-05-05 Thread William Fulmer
> Ouch, William, are you aware that you've sent a 1MB attachment to > a public mailing list, potentially causing lots of problems to people > with limited account sizes and slow dialup access? Please don't that > in the future. If you want to show some big file, upload it

Re: Forking and Database Handles

2004-05-24 Thread William McCabe
dy expecting a long running process, why not just open a new handle in the fork? It'll only add small amount to the overall time. Bill ========= William A. McCabe KBO Services, Inc. [EMAIL PROTECTED] (781) 756-0176 -- Report problems: http://perl.apache.org/bu

Re: Refreshing

2004-06-13 Thread William McKee
I often find that in the process of creating a bug report, I find the reason for the "bug". I think there is an explanation somewhere in the docs at perl.apache.org for what you're experiencing but I can't find it right now. Perhaps Stas can point it out for us. William

Re: Exit problem using mod_perl 1.99 apache 2.049

2004-06-16 Thread William McKee
o replace Apache::STATInc with Apache::Reload. I'm not sure whether this applies to mp2 but it's definitely recommended for mp1. Good luck, William [1] http://perl.apache.org/bugs/index.html -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.ap

Re: perl configuration problem

2004-06-22 Thread William McKee
untainting all input to your script? If you still can't find the problem, I suggest that you run the server in debugging mode[1]. HTH, William [1] http://perl.apache.org/docs/1.0/guide/debug.html#Interactive_mod_perl_Debugging -- Knowmad Services Inc. http://www.knowmad.com -- Report pro

Re: Strange

2004-07-05 Thread William McKee
on. Geoffrey has also put together a skeleton for testing which I cannot find a link to at present. Try searching the archives of the test-dev mailing list[2] or perhaps someone on the list can post the location of those resources. Good luck, William [1] http://www.perl.com/pub/a/2003/05/22/

Re: Strange

2004-07-06 Thread William McKee
or bugs, I use it as the starting point for > all the Apache-Test-based modules I write now. For those of us stilling using mp1, he also has a skeleton for that system at: http://perl.apache.org/~geoff/bug-reporting-skeleton-mp1.tar.gz William -- Knowmad Services Inc. http://www.knowm

Re: DESTROY not called on some form of recurrence

2004-07-10 Thread William McKee
g. Though this: Hi Wouter, Did you check the manual[1]? This reference is for Apache::PerlRun but it may give you some ideas of why you're seeing that behavior. Good luck, William [1] http://perl.apache.org/docs/1.0/guide/porting.html#Apache__PerlRun__a_closer_look -- Knowmad

Re: HTTP headers - what is wrong

2004-07-30 Thread William McKee
Chris, Randall even has a column about this issue[1] from a couple years ago. HTH, William [1] http://www.stonehenge.com/merlyn/WebTechniques/col64.html -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org

Re: make test hangs

2004-08-05 Thread William Fulmer
rl 5.6.2 or mod_perl. Any insight on this? --- Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED]> 5/6/2004 1:09:52 AM >>> William Fulmer wrote: >>Ouch, William, are you aware that you've sent a 1MB atta

Re: make test hangs

2004-08-05 Thread William Fulmer
;-- Note: Complete the rest of the details and post this bug report to dev perl.apache.org. To subscribe to the list send an empty email to [EMAIL PROTECTED] --- Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED

Re: make test hangs

2004-08-05 Thread William Fulmer
binary components that have no src (should say the vendor won't release the src ;) ) that will only work with 5.6.x. I'm happy to persue this, but I don't want to waste too much of your time with this unless you see a benefit to the community. --- Will Fulmer Database Administrator Nor

Re: make test hangs

2004-08-09 Thread William Fulmer
rking on. --- Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED]> 8/8/2004 10:43:14 PM >>> William, please followup on all the emails. I don't think I've seen your followup to this post: http://marc.th

Re: make test hangs

2004-08-10 Thread William Fulmer
tgid", s); } and make test still hangs. --- Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED]> 8/9/2004 2:05:48 PM >>> William Fulmer wrote: > Apologies. You are correct. I never responded direc

Re: make test hangs

2004-08-10 Thread William Fulmer
difference being the call to stat as opposed to stat64. --- Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> "William Fulmer" <[EMAIL PROTECTED]> 8/10/2004 9:33:50 AM >>> I have a non root user that I use for all of my software

Re: make test hangs

2004-08-12 Thread William Fulmer
t know enough about C to know if that has any significance at all. Any thought on these? --- Will Fulmer Database Administrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED]> 8/11/2004 10:29:05 PM >>> William Fulmer wrote: > We need to back up a b

Re: make test hangs

2004-08-12 Thread William Fulmer
inistrator Northampton Community College Bethlehem, PA >>> Stas Bekman <[EMAIL PROTECTED]> 8/12/2004 3:32:49 PM >>> William Fulmer wrote: > I did find some discussion of old HP-UX patches that fixed problems with > stat calls that some of HP's apps had. There ar

Re: perl modules not running after 'minor' change

2004-08-31 Thread William McKee
ter the release of Apache that you are building. Is it possible there is a mismatch? Have you tried adding /perl-status[1]? Good luck, William [1] http://perl.apache.org/docs/1.0/guide/install.html#Testing_by_viewing__perl_status -- Knowmad Services Inc. http://www.knowmad.com -- Rep

Re: perl modules not running after 'minor' change

2004-09-01 Thread William McKee
nabled. I think that you are right; mod_perl is not properly installed. Have you tried building without mod_proxy to see if it works? Unfortunately, I can't be of much further help. I use ApacheToolbox to build my Apache httpd and do not know enough about APACI et al. to offer further advice. G

Re: perl modules not running after 'minor' change

2004-09-02 Thread William McKee
ink to the last message. You should be able to follow it back til you find some useful testing tips. Good luck, William [1] http://mathforum.org/epigone/modperl/percroogrum/[EMAIL PROTECTED] -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail

Re: [bug] Apache::FakeRequest::content_languages

2004-09-02 Thread William McKee
an read if you look back in the docs-dev mailling list) but it was worth the effort. Start with Geoff's article and skeleton; you'll avoid many of the potholes I hit along the way. William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.

Re: Help with PERL5LIB

2004-09-03 Thread William McKee
Hi Brett, This question appears to have nothing to do with modperl. I'd suggest you try the beginners mailing list. You can sign up at http://learn.perl.org. William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info:

Re: perl modules not running after 'minor' change

2004-09-03 Thread William McKee
t comes up every now and then and usu. takes a few postings to get it figured out. Good luck, William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apach

Re: perl modules not running after 'minor' change

2004-09-04 Thread William McKee
> And I still get 404s for /perl-status and /server-status. That sounds like a problem. What's in your error logs? What are your configurations for these sections. William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http

Re: perl modules not running after 'minor' change

2004-09-06 Thread William McKee
wrong with your system? William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: perl modules not running after 'minor' change

2004-09-06 Thread William McKee
same directives as one of your working Locations. I don't know how the server-status handler is implemented but are you sure that you have Apache::Status installed on your server? Have you perhaps upgraded Perl and not reinstalled this module? William -- Knowmad Services Inc. http://www.kno

Re: [mp2] & Apache2: undefined symbol: PL_localizing

2004-10-12 Thread William McKee
Hi Pierre, You're in the right place. I run Apache with Debian and have had troubles in the past with compiling mod_perl due to having two copies of libperl.so[1]; I think this would more likely be the case if you have compiled Perl yourself. William [1] http://mathforum.org/epigone/mo

Re: Mod perl performance and DSO?

2004-10-12 Thread William McKee
ion for yourself after you read the above :). William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Mod perl performance and DSO?

2004-10-13 Thread William McKee
ave not tried to compile mod_php along with mod_perl. There is a pretty good online forum which you could turn to if you hit any snags. Let me know how it turns out; I may need to do this myself one day. Good luck, William [1] http://www.apachetoolbox.com/ -- Knowmad Services Inc. http:/

Re: SV: Moving STDOUT to a new handle?

2004-11-08 Thread William McKee
lf, are using it in conjunction with mod_perl. In fact, Michael Peters has just released a plugin to make it even more mod_perl friendly (including the use of Apache::* modules rather than CGI.pm). However, I agree that it does not provide a technical solution to your problem. William -- Knowmad

why AuthenNTLM prompt for password/user when user in domain

2004-11-23 Thread william lai
11 195 27 51 236 4 74 188 49 169 148 183 187 106 136 219 151 146 215 157 25 128 187 187 89 189 123 96 102 245 22 51 215 149 19 62 159 254 133 32 252 79 79 [26627] AuthenNTLM: protocol=NTLMSSP, type=3, user=william, host=UNIFORCE, domain=mrppdc.com, msg_len=0 [26627] handler type == 3 [26627] A

Re: why AuthenNTLM prompt for password/user when user in domain

2004-11-24 Thread william lai
my problem is whatever i enter in the user/password prompt, it always says wrong password(rc=3). thanks, william Shannon Eric Peevey wrote: william lai wrote: *Hi speeves, i'm trying Apache::AuthenNTLM 2.07 modules with a NT PDC, mod_perl-1.19_12, Apache/2.0.51., After Hi! Just a note

Re: Apache::Test question

2004-12-16 Thread William McKee
Request::module('ssl'); my $hostport = Apache::TestRequest::hostport(); I suppose this would not work for the automatically built response tests which use the default port. William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/

[mp1] Linking confusion

2004-12-30 Thread William McKee
ween the version of Perl that I've compiled and previously compiled libraries. I've tried reinstalling some of the XS modules such as DBI which seems to clear up these errors. Any other suggestions or pointers, esp. in light of the differences between dynamic and static linking and libperl.s

Re: [mp1] Linking confusion

2004-12-30 Thread William McKee
me system. > Unfortunately some distros don't get it and install libperl.(so|a) into > /usr/lib :( I'm guessing that this goes for any libperl.so, e.g. libperl.so.5.6 or libperl.so.5.8. If so then it would explain the weird behavior that I've been getting when compiling mod_perl.

Re: [mp1] Linking confusion

2004-12-30 Thread William McKee
nk from /usr/lib/libperl.so to the newly created one. I was still getting strange behavior though so moved them all out of /usr/lib. Seems a bit better now. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: h

Re: [mp1] Linking confusion

2004-12-30 Thread William McKee
; >better now. > > If the application links against a specific libperl.so.x.y that would > explain that behavior. And ldd is the best tool to use to check the links (at least on Unix)? William -- Knowmad Services Inc. http://www.knowmad.com -- Report problems: http://perl

Re: [mp1] Linking confusion

2004-12-31 Thread William McKee
used when building modperl. If I'm building mp statically linked, I shouldn't need libperl.a after I've installed, right? Is this the library that has been more appropriately named modperl.a in MP2? Cheers! William [1] http://perl.apache.org/docs/1.0/guide/install.html#Undefined_

Re: [mp1] Linking confusion

2004-12-31 Thread William McKee
Perlmonks and the modperl docs. I hope that you will include them in some form. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com --- /tmp/install.pod.orig 2004-12-31 10:04:39.0 -0500 +++ /tmp/install.pod.wlm2004-12-31 11:58:30.0 -0500 @@ -681

Re: [mp1] Linking confusion

2004-12-31 Thread William McKee
On Fri, Dec 31, 2004 at 02:02:59PM -0500, Stas Bekman wrote: > Thanks William, I've committed that with a few tweaks. Especially the last > para. Please check that it still makes sense. Looks fine except for a couple of typos (dangling quote mark and mispelled 'should'). Als

Re: CGI::Session or CGI::Application

2005-01-17 Thread William McKee
x27;s listed in the Phalanx 100[1]. Nonetheless, it's been working fine for me (via the CGI::Application::Plugin::Session module). William [1] http://qa.perl.org/phalanx/distros.html -- Knowmad Services Inc. http://www.knowmad.com

Re: CGI::Session or CGI::Application

2005-01-17 Thread William McKee
ven sent direct emails to him without response over the past 12 months. William -- Knowmad Services Inc. http://www.knowmad.com

Re: Problem Installing libapreq2-2.04-dev on Freebsd

2005-02-08 Thread William McKee
gmake instead of make. Good luck, William -- Knowmad Services Inc. http://www.knowmad.com

[mp2] make test errors

2005-02-13 Thread William McKee
-8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl2 on a FreeBSD 5.3 jail environment, I received the following test errors: Failed Test Stat Wstat Total Fail Failed List of Failed

[mp2] Documentation patch for install.pod

2005-02-13 Thread William McKee
t the server had to be rebuilt. When I first read the recipe, it didn't make much sense that I would install Apache then build mod_perl. The line I added helps clear it up. Does the server also get rebuilt if compiling a dynamic mod_perl? Thanks, William -- Knowmad Services Inc. http://www.k

Re: build problems with apache 1.3.33 and mod_perl 1.29

2005-02-14 Thread William McKee
On Sat, Feb 12, 2005 at 11:12:07AM -0500, John Klassa wrote: > Am I missing something obvious? I'm not familiar with this error. Try filing a complete bug report[1] and you'll have better luck getting some assistance. William [1] http://perl.apache.org/docs/1.0/gu

Re: [mp2] make test errors

2005-02-16 Thread William McKee
> by some socket problems in the underlying C libs. That makes sense as I'm running inside a jailed process which has limited access to sockets. I wonder if there's a way to test for this condition and skip the failing tests. I'll check the archives and see what I can learn. Wi

Re: [mp2] Documentation patch for install.pod

2005-02-16 Thread William McKee
t; as explained here: http://perl.apache.org/bugs/ This was my experience and I faintly remembered you suggesting that Apache::Test should not be run as root so surmised that that was my problem. Right now, I do not have time to track down this error. If I can repeat it at a later time, I

Re: [mp2] make test errors

2005-02-16 Thread William McKee
iled environment as I had originally surmised. Can you give me any pointers for further testing? I'm going to try the debugger to see what I can find but am not very familiar with the codebase. Thanks, William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-16 Thread William McKee
t seems to be checking the output of 'df /' to see if it reports being mounted on a different filesystem (e.g., /local/jails in my case). Other solutions require C code or additional packages[2]. William [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/jail-res

Re: [mp2] Documentation patch for install.pod

2005-02-16 Thread William McKee
ar*, but as long > as you run from somewhere where non-root user can access files (e.g. > /tmp), running as 'root' should work just fine. I see the difference now. I was installing from /usr/local/src so that test should have worked. William -- Knowmad Services Inc. http://ww

Re: [mp2] make test errors

2005-02-16 Thread William McKee
rong. > Unfortunately no tracing is available for sockets IO, since it's > impelemented entirely by Apache. OK. William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-16 Thread William McKee
ock.t at line 22 fail #2 FAILED tests 2-3 William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-16 Thread William McKee
so hopefully you can give me some further pointers for what to look at next. William -- Knowmad Services Inc. http://www.knowmad.com

Re: [mp2] make test errors

2005-02-17 Thread William McKee
mote_addr() which gets the ip defined by localhost (127.0.0.1). Since the test is for pnotes, we could change the test. However, I suspect it'd be better to figure out what's causing the difference between the two functions. Is this the right place to file a bug report against Apache::Connecti

Re: [mp2] make test errors

2005-02-17 Thread William McKee
On Wed, Feb 16, 2005 at 07:12:11PM -0500, Stas Bekman wrote: > please look at your original report, William, it was failing the same 2 > sub-tests. That's weird because it's only failing one if I run it by itself. This obviously wasn't the case earlier when I reported t

Re: [mp2] make test errors

2005-02-17 Thread William McKee
de* the chroot? No, it was built inside the jail. I have no access outside of my jail. William -- Knowmad Services Inc. http://www.knowmad.com

  1   2   3   4   >