Re: $r->headers_out Location and Set-Cookie

2003-09-06 Thread Michael
as you > set $r->status :) Oh! I totally missed that you're using Apache::Registry. I'm not sure the best way to do it with that, sorry. -- Michael Stella | Sr. Unix Engineer / Developer | http://www.thismetalsky.org "All I want out of the Universe is 10 minutes with

Re: $r->headers_out Location and Set-Cookie

2003-09-05 Thread Michael
CT, not set $r->status to REDIRECT. Here's what I do in this case: $r->header_out(Location => $location); return REDIRECT; I don't know if it's 100% correct, but it works quite well for me. I've also used $r->internal_redirect($location) for some

using "-|" construct

2003-08-29 Thread Michael
} This works fine for command line exection and from cgi but fails in modperl (apache 1x). The problem is that the initial read pipe apparently fails to open under modperl. Is there a workaround for this? or am I just missing something simple? Michael [EMAIL PROTECTED] -- Rep

Re: Apache::DBI

2003-08-28 Thread Michael A Nachbaur
ot;canis" at > /var/lib/perl/JCVA/Conexion.pm line 11 > [Thu Aug 28 12:37:03 2003] [error] Can't call method "prepare" on an > undefined value at /var/lib/perl/JCVA/Conexion.pm line 13. > Somedody knows if the user must be registered in some configuration file? -- /* Michael A. Nachbaur <[EMAIL PROTECTED]> * http://nachbaur.com/pgpkey.asc */ "Another world, another day, another dawn. " -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Michael
e PerlAuthenHandler and PerlAuthzHandler, let them manage the logins and just pass the client down to the backend software. I could still be way off here though. -- Michael Stella | Sr. Unix Engineer / Developer | http://www.thismetalsky.org -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Michael
to the backend software? Interesting... Does that work? -- Michael Stella | Sr. Unix Engineer / Developer | http://www.thismetalsky.org If Bill Gates had a nickel for every time Windows crashed... ..oh wait, he does. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://p

Re: Ticket/cookie based authentication for mod_perl and static frontend

2003-08-27 Thread Michael
here to add a hash to the URI, I could probably be convinced to package up the code I have, simple as it may be. -- Michael Stella | Sr. Unix Engineer / Developer | http://www.thismetalsky.org Knowledge is power. Power corrupts. Study hard. Be Evil. - Thyra -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread Michael Chamberlain
On Saturday, August 16, 2003, at 05:16 pm, Stas Bekman wrote: Michael Chamberlain wrote: On Saturday, August 16, 2003, at 07:03 am, Douglas Theobald wrote: I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl 5.8.0, OSX jaguar 10.2.6.), but I'd really like to get

Re: mp2 on osx jaguar won't load mod_perl.so

2003-08-16 Thread Michael Chamberlain
On Saturday, August 16, 2003, at 07:03 am, Douglas Theobald wrote: I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl 5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on OSX. Has anyone had any luck or experienced this same problem? Rebuild your perl with th

RE: [mp2] ModPerl::Test::read_post destructive?

2003-08-14 Thread Michael Maciag
Yikes, you're right! I just found a recent thread in the apache dev list discussing this. Thanks, I'll approach my problem another way. - Mike. -Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED] Sent: Sunday, August 10, 2003 12:47 PM To: Michael Maciag Cc: Modpe

[mp2] ModPerl::Test::read_post destructive?

2003-08-14 Thread Michael Maciag
Apache/2.0.44 (Unix) mod_perl/1.99_09 Perl/v5.8.0 Using a copy of the read_post routine, I'm able to retrieve my POST parameters reliably from my PerlResponseHandler. However, it seems when I do invoke that routine, the client no longer receives the parameters. If I just comment out my invocation

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-04 Thread Michael G Schwern
On Mon, Aug 04, 2003 at 11:19:42AM +0100, Steve Hay wrote: > Why isn't the typemap file distributed as part of ExtUtils-MakeMaker? typemap is very specific to the version of Perl, or so it is said. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ You

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-04 Thread Michael G Schwern
lace. Possibly you deleted the ExtUtils/ directory? > Having now restored that file, the patch above does indeed fix it for me. Yay! -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ I need a SHOWER a BURGER and some ROBOTS, STAT! -- http://www.angryflower.com/allrigh.gif

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-04 Thread Michael G Schwern
FIRST_MAKEFILE) >$(NOECHO) $(NOOP) > > in the Makefile as desired, but now the build process fails with this error: > > fatal error U1073: don't know how to make 'C:\perl5\lib\ExtUtils\typemap' That's odd. Does that file exist? If not, where is your type

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-01 Thread Michael G Schwern
On Fri, Aug 01, 2003 at 11:35:47AM +0100, Steve Hay wrote: > = > # --- MakeMaker dynamic section: > ## $(INST_PM) has been moved to the all: target. > ## It remains here for awhile to allow for old usage: "make dynamic" > #dynamic :: Makefile > dynamic :: Makefile >@$(NOOP)

Apache::AuthCookie 3.05 prerelease

2003-08-01 Thread Michael Schout
to port their subclasses to mod_perl2. If I do not get complaints about the AuthCookie API changes that I have made, I will upload this release to CPAN. You can get AuthCookie 3.05pre1 from: https://sourceforge.net/project/showfiles.php?group_id=12701 Regards, Michael Schout GKG.NET, INC

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-01 Thread Michael G Schwern
On Fri, Aug 01, 2003 at 09:05:55AM +0100, Steve Hay wrote: > I just tried MM 6.13: that made no difference. > > Then I tried the snapshot (taken at 01 Aug 2003 07:55 UTC): that failed > loads of its own tests, but made no difference to the libapreq build > process. Oh yeah, I didn't update the

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-08-01 Thread Michael G Schwern
On Fri, Aug 01, 2003 at 10:03:20AM +0100, Steve Hay wrote: > >This bug evidently goes back a long way: MM 6.06_02 fails in the same > >way as 6.13. > > > >I tried to use MM 6.06_01, but it wouldn't build itself ("don't know > >how to make 'C:\perl5\libNAME'"). Instead, I knife-and-forked it int

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread Michael G Schwern
On Thu, Jul 31, 2003 at 01:27:01PM -0700, Michael G Schwern wrote: > I'm glad you guys got it working, but there's still the problem of why > MakeMaker's behavior changed. Since I tend not to touch the XS building > code much its likely a bug. Try the snapshot on makemake

Re: need your help to test mod_perl with perl-5.8.1-RC3

2003-07-31 Thread Michael G Schwern
On Thu, Jul 31, 2003 at 03:23:36PM +0100, Steve Hay wrote: > This patch finally fixes it for me: I'm glad you guys got it working, but there's still the problem of why MakeMaker's behavior changed. Since I tend not to touch the XS building code much its likely a bug. Try the snapshot on makemake

Re: privileged execution

2003-07-30 Thread Michael
> Mike P. Mikhailov wrote: > > Hello Michael, > > > > Wednesday, July 30, 2003, 7:32:23 AM, you wrote: > > > > M> I have a web application for that needs to execute a privileged > > M> command on its host for administrative purposes. Can someone s

privileged execution

2003-07-29 Thread Michael
I have a web application for that needs to execute a privileged command on its host for administrative purposes. Can someone suggest a good solution that will allow 'nobody' to execute the script command but still keep it secure from other users on the same host. Thanks. [EMAIL PROTECTED]

http responses piped to STDERR

2003-07-29 Thread Michael Pohl
here? thanks, michael

Apache::DBI and temporary tables

2003-07-22 Thread Michael A Nachbaur
that takes advantage of this is used in an Apache Registry script? If I do a $dbh->disconnect, I know it will be ignored by Apache::DBI, but is it smart enough to pass something back to the database server telling it that it can purge temporary data? Thanks. -- /* Michael A. Nachbaur

Re: If (!$one_thing) {$other;}

2003-07-02 Thread John Michael
Here is a little script I wrote a while back so that I could look at headers being sent from my server in a browser window. JM. - Original Message - From: "Dennis Stout" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 02, 2003 4:44 PM Subject: If (!$one_thing) {$other;}

[mp2] Building modperl2 on mac os x?

2003-06-28 Thread Michael Chamberlain
Hi Has anyone had any success in getting modperl2 to work on mac os x? make test cd "src/modules/perl" && make -f Makefile.modperl make[1]: Nothing to be done for `all'. /usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \ t/TEST -clean *** setting ulimit to allow core files ulimit -c unlimited

[mp2] Having trouble setting params with CGI

2003-06-23 Thread Michael Maciag
I'm trying to use CGI to get/set params within my mp2 PerlResponseHandler, at least until Apache::Request for mp2 is released. The get works just fine but my clients don't see the params I'm trying to set. Is it likely I just have an error somewhere or is there anything I have to do differen

Re: Authentication design

2003-06-11 Thread Michael L. Artz
Hmm, I see now. I don't really care about users who aren't logged in, so I don't know that there is a need to store session data for them. I guess my pattern is: within PerlAuthenHandler -Check to see if there are passed user/password params. If so, validate params against user/pass in databas

Re: Installing Apache::AuthCookie

2003-06-11 Thread Michael Schout
If I had to guess from this I would say that there is something in your httpd.conf (that Apache::test is pulling the config from) that is screwing up the tests. Can you send me your t/httpd.conf? (privately, no need to send it to the list). Regards Michael -- Hal 9000 - "Put down those Windows disks Dave Dave? DAVE!!"

Re: Authentication design

2003-06-11 Thread Michael L. Artz
Perrin Harkins wrote: Well, I'm not sure what's involved in determining $r->user aside from reading the cookie. It may not make any difference. Here's a typical pattern for this: - Fetch the session key from the validated cookie. - Load the session using that key. - Grab the user ID from the ses

Re: Authentication design

2003-06-10 Thread Michael L. Artz
Perrin Harkins wrote: I'm not certain it won't work to use $r->user, but I don't see the point when you already have a unique identifier in the cookie. Well, I figured that the AuthenHandler already parsed the authentication cookie and declared it valid, so I didn't really see a point the in

Re: Authentication design

2003-06-10 Thread Michael L. Artz
Jonathan Gardner wrote: It sounds like you are mixing HTTP-level authentication with application-level authentication. Well, sorta. I am actually using a custom module very similar to the one found in the cookbook (and AuthCookie, I think), i.e. create a PerlAuthenHandler that sets the custom

CGI.pm not processing POST within AuthenHandler

2003-06-08 Thread Michael L. Artz
For some reason, CGI.pm (2.93) does not seem to parse POST data within a PerlAuthenHandler. For example, the following: sub handler { my $r = shift; my $q = new CGI($r); my @params = $q->param; $r->server->log->error("handler params are " . join "::", @params); return Apache::OK;

RE: DirectoryIndex doesn't see SetHandler path

2003-06-05 Thread Michael Kropinack
Mark, I think that I may be able to clarify this. I ran into the same type of problem a few weeks ago. I had always defined my handlers inside a "Location" block and couldn't get the DirectoryIndex to work properly. I solved my problem by calling my handler from within a "Directory" block in

Authentication design

2003-06-04 Thread Michael L. Artz
I am trying to design/implement a fairly simple authentication scheme using cookies and such, but wanted to air my design questions before I run into too many issues. I would like the site to be almost entirely publicly accessible, however if you log in you get special options in addition to th

htaccess files

2003-05-30 Thread John Michael
g file.  I could not get it to work any other way. [Fri May 30 00:22:52 2003] [warn] Apache does not support line-end comments. Consider using quotes around argument: "#" Thanks in advance John Michael  

Re: [mp1] .htaccess and mod_perl

2003-05-29 Thread Michael L. Artz
Apache::StatINC is R.I.P. Use Apache::Reload instead. but Apache::StatINC comes with mp1 and Apache::Reload doesn't - it's difficult to install modules on these ensim boxes since you don't have root (and yes, there are other ways around it of course :) Well, Apache::StatINC wasn't distributed

[mp1] .htaccess and mod_perl

2003-05-29 Thread Michael L. Artz
I am stuck in an Ensim environment (shared web-hosting, Apache 1.3.27 and mod_perl 1.24) and am trying to get around some of the limitations imposed by Ensim. Basically, I have complete .htaccess control but have no way to restart the server or start it with different arguments or modify the c

[mp2] Authentication/Authorization modules

2003-04-06 Thread Michael L. Artz
I am fairly new to mod_perl/apache, having grown up with OpenACS and AOLServer. I have read all of the docs on the web site (I think) and had a whole authentication/authorization scheme planned out using Apache::AuthCookie and Apache::Session. I was just put in charge of a beta web applicatio

Re: Convert Cookies-->HTTP Request Headers?

2003-04-05 Thread Michael Robinton
>> Matt Kruse Also see: Apache::FakeCookie on CPAN for testing cookies without having to load httpd. It replaces the httpd server for generating cookie responses during development and testing of Apache-perl modules Michael

Off Topic but curious

2003-03-31 Thread John Michael
If I bought a domain name with perl in it to build a perl script site, would I be infringing on any perl trademark or copyrights.  Would it be ok or could I be told I couldn't use the domain. Thanks John Michael  

Re: Server questions

2003-03-07 Thread Michael Hyman
I am not familiar with clustering Would you run a mod_perl based web site on a cluster? Isn't the point of a cluster to make a group of machines appear to be one? If so, how is that beneficial for web services? Thanks...Michael - Original Message - From: "Dzuy Nguye

Server questions

2003-03-07 Thread Michael Hyman
in advance for the help!! Regards...Michael

mod_perl 1.27 intermittent Segmentation Faults

2003-02-06 Thread Michael A Musta
I am getting sporadic segmentation faults with mod_perl 1.27. A look at the core dump always shows: - lwp# 1 / thread# 1 0008b37c mod_perl_sent_header (360fc0, 997ec, 599394, 326c00, 0, 0) + 18 00241c14 Perl_pp_entersub (31c800, 4a3d60, 4, 1, 0, ff00)

Testing

2003-01-21 Thread Michael Hyman
e yet to find anything. Again, I appreciate the help and I hope to become an active member of this list. Regards...Michael --- IT Director/System Admin Globalware Solutions Redwood City, CA. - Original Message - From: "Ged Haywood" <[EMAIL PROTECTED]> To: "

Re: PerlSections grief with VirtualHosts

2003-01-16 Thread Michael A Nachbaur
ction. Instead of recompiling, I'm simply not use'ing XML::LibXSLT globally. I apologize for the list noise; it was late at night (or _really_ early in the morning, depending on your perspective)...yeah, that's a good excuse. :) -man Stas Bekman wrote: Michael A Nachbaur wrote:

PerlSections grief with VirtualHosts

2003-01-16 Thread Michael A Nachbaur
l/5.6.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open("/dev/null", O_RDONLY) = 4 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 fstat64(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 --- SIGSEGV (Segmenta

The best place for mod_perl beginners to get started.

2003-01-15 Thread Michael Shirk
h the book and have increased my understanding of mod_perl 100%. And for your info, I bought the book used from Amazon.com for 5 dollars. Best book I have ever purchased by O'Reilly (next to Programming Perl) Michael Shirk Bel Air, MD http://w

Re: [mp2] APR::Socket::recv set read timeout ?

2002-12-28 Thread Michael
> Michael wrote: > > Hi all. > > > > As suggested by Geoff and Stas, I am trying out modperl2.. Now I have > > some questions: > > > > i) with Apache::CommandServer (can be found at > > http://perl.apache.org/docs/2.0/user/overview/overview.html#to

[mp2] APR::Socket::recv set read timeout ?

2002-12-27 Thread Michael
loop..say, after 5 secs if nothing is recv'd from the client then the connection will be closed. I have tried alarm/die pair but it was a failure. Any idea?   Thanks in advance.   Michael  

Database Pooling

2002-12-23 Thread Michael Teter
ppreciated. Michael __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

Re: Shroud+ Perl obfuscator....

2002-12-21 Thread Michael Robinton
of these exercises is to make it not convenient or cost effective to do so. It works quiet nicely with mod_perl as well as autoloadable modules Michael

Re: How big are your httpd's?

2002-12-13 Thread Michael A Nachbaur
Nate Campi wrote: On Sat, Dec 14, 2002 at 04:50:25AM +0100, Axel Andersson wrote: Hi everyone, I would like to ask you how big your mod_perl enabled (v1) httpd's grow. I'm using a homegrown publication system based on Template Toolkit that delivers about 2000 Perl pages daily. After the first

Apache perl question. May be off topic.

2002-11-28 Thread John Michael
request for static documents that should end in .htm back to apache and let apache send them out throuhg the normal channels. Thanks John michael  

Re: Apache::DB and perl 5.80

2002-11-28 Thread Michael Maibaum
I'd love to be able to get it working as well Michael -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (Darwin) iD8DBQE95d4kilk3LUlIL0MRAnFFAKDvfCe3omre/URaqGyIV173EWkvDACg01xa llFbL019nQxnSSAOOSPodM8= =arKd -END PGP SIGNATURE-

RE: Obfusacating the source

2002-11-22 Thread Michael Robinton
hen perl attempts to load the module if first encounters "use Crypt::License;" at the beginning of the file which in turn decrypts the stream of "bits" and delivers it directly to the perl interpreter. Details in the POD's Michael

Re: problem with session ids

2002-11-14 Thread Michael A Nachbaur
d.xsp). When I created the cookies, I was accepting all the defaults, so the cookie was being limited to the sub-directory of my site. My fix for this was to explicitly set the PATH variable of my cookie to be set to "/". This might be your problem. -- -man Michael A Nachbaur

Re: OO handlers

2002-11-07 Thread Michael Schout
Geoffrey Young wrote: interesting. the last time I tried was with bleedperl before 5.8 was released - I know it worked then because I was writing a patch for mod_perl core based on it. this thread has most of the dialogue: Hrm. Well, not sure how the :method attribute is implemented, but wh

Re: Getting the server to parse files after the handler has doneits work...

2002-11-07 Thread Michael Schout
Luis Fagundes wrote: I think you can only do this in Apache 2.0. In Apache 1.3 you can chain perl modules with OutputChain, but you can't chain a perl module and another apache module. You CAN do this in 1.3 using Apache::Filter and Apache::SSI. I replied privately to Simran pointing him to t

Re: OO handlers

2002-11-06 Thread Michael Schout
Geoffrey Young wrote: keep in mind that neither book mentions the use of subroutine attributes, which is allowed in 1.3 but the only way in 2.0 sub handler : method { ... } I am 99% sure that Attribute handlers wont work in 1.3 because Attribute::Handlers use CHECK{} blocks to set up the h

Apache::DB failing

2002-11-05 Thread Michael Maibaum
dule I try and use when in my startup.pl, or if I don't use that, when the first script is compiled. Perhaps Exporter wasn't built properly (and thus presumably, the rest of perl), or Perl 5.8.0 doesn't get on with Apache::DB, or? thanks in advance Michael -BEGIN PGP SIGN

Re: [OTish] Version Control?

2002-11-04 Thread Michael Schout
"perl Makefile.PL < /dev/null" works for us. We encapsulate it in a macro (see below). Now why didn't I think of that? :). This works nicely. We still ahve to patch some of the individual Makefile.PL's, but that is acceptable (some of them have "exit;" at the end of them for example which ca

Re: [OTish] Version Control?

2002-11-02 Thread Michael Schout
Okay, I'll chime in on this one. I work on a medium sized mod_perl project (approximately 50,000 lines of perl code). This project is managed similarly to to the setups that have been described so far. We store all of our CPAN module sources in CVS, and currently we distribute the modules to

interesting hang...

2002-11-01 Thread Michael Forbes
t been able to figure out which exact lines are causing the problem. For the ppl who can figure this stuff out just by install data: I'm running Redhat 8.0, Apache 2.0, on a p3-450. This entire application did work correctly under Redhat 7.3 (Skipjack), Apache 1.3. Unfortuna

Re: hangs on $ENV{'QUERY_STRING'}

2002-10-31 Thread Michael Forbes
it, other than ensuring I never have null values in my database? Thanks, Mike Forbes [EMAIL PROTECTED] On Wed, 2002-10-30 at 17:53, Michael Forbes wrote: > My apologies in advance if this is something that's been described & > solved before... I can't seem to find the answer in a

Re: [OT] Re: Yahoo is moving to PHP ??

2002-10-30 Thread Michael Johnson
On Wed, 30 Oct 2002, Richard Clarke wrote: > List, > You are probably not the best people to ask for an answer which > might advocate PHP, > but. > Can someone who is more proficient in PHP than I (I have used it > for 5 minutes) explain to me why it is quicker to prototype th

Re: Yahoo is moving to PHP ??

2002-10-30 Thread Michael Johnson
On Thu, 31 Oct 2002, Gunther Birznieks wrote: > You would think if they want an anal scripting language they would move > to python not PHP. :) Python isn't anal--it's a very clean, interesting, flexible language on par with perl--perhaps superior in some ways and not as good in others but, ove

hangs on $ENV{'QUERY_STRING'}

2002-10-30 Thread Michael Forbes
My apologies in advance if this is something that's been described & solved before... I can't seem to find the answer in archival searches (maybe I'm just using the wrong terms). At any rate, I have a fairly large script that I wrote when operating under Apache 1.3, perl 5.8.0, Redhat 7.3. I'm no

Re: [RFC] Apache-GeoIP module

2002-10-25 Thread Michael Schout
darren chamberlain wrote: One thing I'd add if you do decide to use the Geo::IP module, it does not behave as documented if it does not find a match. The docs say it returns "undef", but in fact it returns the string "--". The attached patch fixes that problem. I've sent the patch to the GeoI

Re: [RFC] Apache-GeoIP module

2002-10-25 Thread Michael Schout
darren chamberlain wrote: attached to Apache. I'd like to see, in addition to the Apache stuff, a generic GeoIP library that can be used from outside Apache, like in log-eating scripts. You mean like this? http://search.cpan.org/author/TJMATHER/Geo-IP-0.26/lib/Geo/IP.pm :) Mike

Re: AuthCookie questions

2002-10-22 Thread Michael Schout
Christian Gilmore wrote: 1. Read data from existing cookie. 1a. Redirect if cookie is non-existent. 2. Accept or reject cookie. 2a. If rejected, redirect. 2b. If accepted, populate environment and return. Sounds to me like you really dont need AuthCookie at all. You could just as eas

Re: protecting and entire site with AuthCookie and its derivatives?

2002-10-22 Thread Michael Schout
George Valpak wrote: Is it possible to protect an entire site, from DocumentRoot, using AuthCookie? Yes. I've never done this myself personally, but people have reported success doing this. The trick is to configure apache so that your LOGIN handler is not inside the authentication realm. S

Re: AuthCookie questions

2002-10-22 Thread Michael Schout
Christian Gilmore wrote: 4. I cannot modify the cookie and should not send additional cookies. [snip] about 4. Can I use an unmodified AuthCookie to ensure that whatever format the inbound cookie is in is sufficient and will not need to be modified or supplemented? I believe the answer is n

Re: Apache::AuthCookie in mod_perl 1.99_5

2002-10-21 Thread Michael Schout
Any comments? AuthCookie has not yet been ported to mod_perl 2.0. Mike

Re: perl script not reloading

2002-10-12 Thread Michael Grant
that as I work on my script, Apache doesn't reload it when > > the script changes on disk. > > > > It seems like it's something that I did because it used to. Is there > > some common well known thing or set of things one can screw up to make > > this happen? > > > (if so, it should be documented in the mod_perl_traps man page). > > > > Michael Grant > >

perl script not reloading

2002-10-03 Thread Michael Grant
ted in the mod_perl_traps man page). Michael Grant

Re: BUG:Apache::Cookie v1.0

2002-09-26 Thread Michael Robinton
>> * Michael McLagan <[EMAIL PROTECTED]> [2002-09-21 11:45]: >> > There is a bug in Apache::Cookie. It doesn't handle a cookie with >> > zero bytes in it! > >> This is because Apache::Cookie is implemented in C, and C uses NULL as >> the end of

Re: mod perl and apache with ssl and openssl

2002-09-25 Thread Michael Robinton
ctory Run: perl Makefile.PL \ APACHE_SRC=/usr/src/apache/src \ DO_HTTPD=1 \ USE_APACI=1 \ PREP_HTTPD=1 \ EVERYTHING=1 \ in apache directory ./configure --with-layout=Apache \ --activate-module=src/modules/perl/libperl.a make make install Michael

Re: Prototypes and $r

2002-09-24 Thread Michael Johnson
What does MasonHandler actually look like? -mj On Tue, 24 Sep 2002, Ken Miller wrote: > Got a phone call yesterday from a user who was complaining that every few > times a link was clicked on they were getting an "Internal Server Error". > They could click back, try again, and be successful. F

Re: BUG: Apache::Cookie v1.0

2002-09-21 Thread Michael McLagan
Once upon a time, I wrote: > There is a bug in Apache::Cookie. It doesn't handle a cookie > with zero bytes in it! A clarification, it's not a zero length cookie that is mishandled, it's a cookie with an embedded NUL (zero) character. Michael

BUG: Apache::Cookie v1.0

2002-09-21 Thread Michael McLagan
-path=>"/"); print $cookie->as_string; The output looks like: oatmeal=ABCD; domain=my.web.server.com; path=/; expires=0 Where did the rest of my cookie go?! Should I not have gotten: oatmeal=ABCD%00EFGH; domain=my.web.server.com; path=/; expires=0 Michael

[ANNOUNCE] Apache::Test::CookieEmulator 0.04

2002-09-03 Thread Michael Robinton
Test::Apache::CookieEmulator - test tool for Cookies without httpd SYNOPSIS use Test::Apache::CookieEmulator; loads into Apache::Cookie namespace DESCRIPTION This module assists authors of Apache::* modules write test suites that would use Apache::Cookie without actually havin

Re: problems installing libapreq-1.0

2002-08-31 Thread Michael Robinton
never mind. It appears that the order in which things are done is important. I finally got it to work by reinstalling mod-perl for the umpteenth time and then again trying libapreq. Strange, the old version that was installed would no re-install until I did this. > I have two identical hosts wit

problems installing libapreq-1.0

2002-08-31 Thread Michael Robinton
that fails :-( Any ideas?? Michael

Re: odd authetication situation

2002-08-28 Thread Michael Robinton
er script can set the same cookie if it is not present. The cookie is always present for scriptA and usually but not always present for scriptB WHY??? Michael

Re: odd authetication situation

2002-08-28 Thread Michael Robinton
lost sometimes, but not as often as the authentication token. This "fuzzy" behavior makes redirects where cookies and tokens are expected very dicey... Michael > - Original Message - > From: "Michael Robinton" <[EMAIL PROTECTED]> > To: <[EMAIL

odd authetication situation

2002-08-28 Thread Michael Robinton
'm scratching my head on this one. Any ideas?? Michael

Re: naming convention

2002-08-13 Thread Michael Robinton
Stas wrote: > Michael Robinton wrote: > > I have a proposed perl / modperl module that will go to CPAN > > > > Graphics::ColorPicker : A perl module for WYSIWYG web > > applications that allow selection of HEX color numbers > > > > I think this is an a

naming convention

2002-08-13 Thread Michael Robinton
://www.bizsystems.net/downloads/graphics/demo.html Thanks, Michael

Re: variables not changing with modperl??

2002-08-13 Thread Michael Drons
Sorry, There is a my in front of the ($cookie,$user) code. I am confused about your second statement about parsing the input. What should I be doing? Do you mean I should use $r->read($content, $r->header_in('Content-length'))? to read in the variables? I use the AuthCookie modules to set t

Re: variables not changing with modperl??

2002-08-12 Thread Michael Drons
se the delete function and delete all of the variables at the end of the script? @pairs is what should change, but sometimes does not. I have tried to add a undef @pairs before the split, but no luck. Mike --- Perrin Harkins <[EMAIL PROTECTED]> wrote: > Michael Drons wrote: > > I

variables not changing with modperl??

2002-08-12 Thread Michael Drons
I am using Apache::Registry (Apache 1.3.26) I am see weird things happen with my scripts. I have have "use strict" in all of the scripts and I use my() for all of my variables. But I still have variables that contain data from previous loads. I see it in hashes and arrays. Especially, if I hav

Re: Modperl! Your private *UNDERAGE* lolitas and boys!

2002-08-04 Thread Michael Poole
s also my normal way of filtering out spam sent to mailing lists, so it is doubly frustrating. -- Michael Poole

Subject: Re: hiding perl code

2002-07-30 Thread Michael Robinton
then use Data::Dumper to reconstruct most of the raw code. This would be about as useful as decompiling 'B' code. If you had access to the intrepreter directly, you could probably even capture the decrypt stream before perl compiles it, but all of that would take a degree of sophistication that is better used to make real money instead of hacking stuff apart. How about BZS::VeryObscure :-) Michael

hiding perl code

2002-07-25 Thread Michael Robinton
tem 4 Specifically for modules like Apache::AuthCookie, this module calls Licensed modules by virtue of the PerlRequire or PerlModule directives in the users config file. B, the AuthCookie module B have a B $ptr2_License inserted in the beginning statements. =item 5 With all this accomplis

Attribute Handlers under mod_perl again

2002-07-24 Thread Michael Schout
Hi everyone. I've revisited using Attribute::Handlers work under mod perl again, and I am still unsuccesful. Looking at Attribute::Handlers, it appears that Attribute::Handlers relies on CHECK blocks to do its work. I verified this by uncommenting one of the debugging warnings in Handlers.pm an

Re: Mount something with my perl script

2002-07-24 Thread Michael Jacob
mmand (with exactly that parameters) 4.) put that mount into your /etc/fstab with parameters "noauto, user" (noauto = don't mount at system boot time, user = allow any user to mount) cu Michael 24.07.2002 13:55:13, "Heiss, Christian" <[EMAIL PROTECTED]> wrot

DBI->connect_cached not playing with Apache::DBI

2002-07-18 Thread Michael G Schwern
An Ima::DBI user recently pointed out that DBI->connect_cached is not using Apache::DBI like DBI->connect does and DBI->connect_cached has slightly different semantics from Apache::DBI. sub connect_cached { # XXX we expect Apache::DBI users to still call connect() my ($class,

Re: Getting mod_perl-1.27 & Apache-2.0.39

2002-07-14 Thread Michael Robinton
src/modules/perl/libperl.a make make install all done :-) Michael

Re: Propogating Errors / E-Toys

2002-07-09 Thread Michael Schout
Perrin Harkins wrote: > > We've actually discussed this on the list. It has to do with closures. > Matt gave a presentation about exception handling which covers it and > shows a workaround. You can see it here: > > http://axkit.org/docs/presentations/tpc2001/ Sorry to chime in a little la

  1   2   3   4   5   6   >