apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
Hello, I have problems compiling apache under mac os x. I had no problems without php but with php it doesn't work. Furthermore i need mod_rewrite. I consulted docs at perl.apache.org and the install-guide in practical mod_perl. What i did starting in /usr/local/src: This is a simple installat

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
ib is not prebound make: *** [dummy] Error 1 = End of Error Report = Aborting! As advised i only did make install with sudo. Am 18. Mär 2004 um 18:10 schrieb Ged Haywood: Hi there, On Thu, 18 Mar 2004, Michael wrote: I have problems compiling apache under mac os x. I h

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
/lib/libdl.0.dylib is not prebound ld: Undefined symbols: _actions_module _include_module _log_config_module make[2]: *** [target_static] Error 1 make[1]: *** [build-std] Error 2 make: *** [build] Error 2 Am 18. Mär 2004 um 19:18 schrieb Michael: Hello Ged, I copied all files to my ~ and

Re: apache + mod_perl + mod_php fails

2004-03-18 Thread Michael
? Building apache with modperl and modphp and modwrite is possible? Thanks for Your help Michael Am 18. Mär 2004 um 20:55 schrieb Stas Bekman: Michael wrote: Hello Ged, I copied all files to my ~ and repeated all setps. After make in point 4 i now get: ** A test compilation with your Makefile

Re: Rocks.pm

2004-06-19 Thread michael
d I do to > make the path /home/darnold/httpd/httpd-2.0/perl readable by my apache > user? > It means that the user 'apache' has execute permissions on every directory in that path. Michael Peters -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://per

Re: Trouble getting mp2 to handle only cgi-bin/*.pl files

2004-07-07 Thread michael
be handled as a perl-script > AddHandler perl-script .pl This one tells it to just handle the .pl's > PerlResponseHandler ModPerl::Registry > Options +ExecCGI > > > Michael Peters PlusThree -- Report problems: http://per

Re: Method Handler not working

2004-07-22 Thread Michael
;ve missed somehow? Did you compile with support for method handlers? That has to be enabled. Also, are there any httpd.conf differences? right. Does your httpd.conf say SetHandler MyPackage::handler or SetHandler MyPackage Michael Peters Developer PlusThree -- Report problems: http://perl.

Re: Method Handler not working

2004-07-22 Thread Michael
MARTIN MOSS wrote: Michael <[EMAIL PROTECTED]> wrote:Perrin Harkins wrote: On Thu, 2004-07-22 at 11:26, MARTIN MOSS wrote: This error doesn't occur on machines running the same code (mirrored in the same way as the redhat box), it works perfectly fine. Has anybody seen this type of e

Re: Accessing form mutiples

2004-07-30 Thread Michael
eturn a list using () like this ($r->param('my_param')). But it looks like you are trying to put the values of your params as keys to a hash. You can't have a list be a key to a hash. HTH Michael Peters Developer Plus Three What am I doing wrong?? Sorry if this is a bit OT but I

Re: Embedding another webpage within a web page

2004-10-06 Thread Michael
res - even more fun! http://uk.messenger.yahoo.com -- Michael Peters Developer Plus Three, LP -- 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

Apache::Test problems

2004-10-28 Thread Michael
hread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl -- Michael Peters Developer Plus Three, LP -- 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: Authentication using https

2004-11-10 Thread Michael
> All, > > I'm about to replace the authentication mechanism that > our web site uses. However I wanted to sanity check my > thought process. > > Is it possible to have an Authen handler sitting on > certain areas of a site, and if a user isn't logged in > (i.e. doesn't have an auth session cook

Re: Controlling licensed software?

2005-02-23 Thread Michael
to look through the > source > quite a bit. > I'm more than happy to accept donated documentation to add to the module :-) I'm not a great writer (or tech writer) so any contribution of "actual documentation" would be appreciated and accepted. Michael

[mp2] CGI.pm patch

2003-12-12 Thread Michael Peppler
! $len -= $read; ! $query_string .= $data if $read > 0; !} ! } # Some people want to have their cake and eat it too! # Uncomment this line to have the contents of the query string # APPENDED to the POST data. Michael -- Michael Peppler

[ANNOUNCE] Apache::AuthCookie 3.05

2004-01-27 Thread Michael Schout
. See README.modperl2 for details. Regards, Michael Schout GKG.NET, Inc. -- Reporting bugs: 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: [ANNOUNCE] Apache::AuthCookie 3.05

2004-01-28 Thread Michael Schout
w that http_protocol.c was treating Location differently from other headers :). Thanks for pointing that out. Regards, Michael Schout GKG.NET, Inc. -- Hal 9000 - "Put down those Windows disks Dave Dave? DAVE!!" -- Reporting bugs: http://perl.apache.org/bugs/ Mail list i

simple question

2004-01-29 Thread John Michael
_page'}); clean_up(); return OK;     My question is:  Will the clean_up() routine run, or will the script loose control at the internal redirect and never reach the clean_up routine.   Thanks John Michael  

Apache::AuthenNTLM 2.05 ntlm+basic

2004-02-09 Thread Dooley, Michael
PerlSetVar ntlmauthoritative "off" PerlSetVar ntlmdebug 0 AuthName "testing" AuthUserFile /www/secure/passwd AuthGroupFile /www/secure/group Michael Dooley Integrated Services Manager [EMAIL PROTECTED] [E

RE: Mail bounced thru Kazakhstan -- This list only

2004-02-09 Thread Dooley, Michael
its not a problem with the list. it's a problem w/ one of the users on the list. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 3:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Mail bounced thru Kazakhstan -- This list only

Sections

2004-02-10 Thread Dooley, Michael
Would anyone be able to toss a dog a bone? I have this in my httpd.conf and the server starts up fine, but when I try to access the page it doesn't do any authentication. I also tried it in $DOCUMENT_ROOT/.htaccess and I get a Perl not allowed here. Anyone have any ideas how I can pull this off?

RE: Sections

2004-02-10 Thread Dooley, Michael
CORRECTION: ERROR: [Tue Feb 10 08:26:06 2004] [error] Bad/Missing NTLM/Basic Authorization Header for / [Tue Feb 10 08:26:06 2004] [error] No PDC and no fallbackdomain given for domain DOMAIN if ( $ENV{REMOTE_ADDR} = '192.168.0.24') { $Location{"/"} = { PerlAuthenHandler

Apache::AuthenNTLM 2.05

2004-02-10 Thread Dooley, Michael
I have tried a variety of entries but I cant get this specific perl section to work. does anyone have any suggestions? I cant be the only person to have tried this am i? $Location{"/"} = { PerlAuthenHandler => Apache::AuthenNTLM, AuthType => ntlm, require => valid-user,

RE: [mp2] UDP communications in perl module running under mod_perl2

2004-02-11 Thread Michael Maciag
lient. I need to establish my own UDP conversation with a "third-party" service from where I'll retrieve data which I'll use to compose my response to the client. If I can use APR to do that, great, but I couldn't find docs/samples/tests that create/open/close APR sockets. Than

Re: [mp2] UDP communications in perl module running under mod_perl2

2004-02-16 Thread Michael Maciag
Fortified with the responses from Philippe and Stas, I went back and, after re-examining the entire configuration, found a typo that was causing my error. Now, no problem at all working with the third-party server over UDP from mod_perl2 using IO::Socket::INET. Yours, chagrined, Michael Maciag

[JOB] web application developer

2004-02-16 Thread Michael Schout
We are looking for mod_perl application developers immediately. Who we're looking for: We're in the market for an Application developer with detailed knowledge of web server / web development on Unix systems. You should have 2+ years experience in software development perl/CGI, with a ve

[mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
racteristics of this binary (from libperl):   Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS   Locally applied patches:       ActivePerl Build 804   Built under MSWin32   Compiled at Dec  1 2002 23:15:13   %ENV:     PERL_LWP_USE_HTTP_10="1"   @INC:     D:/Perl/lib     D:/Perl/site/lib     . 3. This is the core dump trace: (if you get a core dump):   [CORE TRACE COMES HERE] This report was generated by -e on Mon Mar 22 15:21:35 2004 GMT. -- Thanks a lot,   Michael Franken -- 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

[mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
libc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -libpath:"D:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (fro

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
ow is deadslow. Anyway it's a hint for some of you to get a real fix, although I've seen many people reporting 'free to wrong pool', and no solutions yet, hope this gets resolved soon. Michael -- Report problems: http://perl.apache.org/bugs/ Mail list info: http:/

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
Hi Randy, Just did upgrade my Perl, but it didn't help much, I get different error messages, but seems to be same problem. Randy Kobes wrote: On Mon, 22 Mar 2004, Michael Franken wrote: The problem seems to be related to threading (free to wrong pool) on Win32. As can be read from ar

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
a minimal code + test that reproduced your problem it would help alot. --Geoff -- -- drs. Michael Franken senior consultant Xebia bv, Melkweg 23a, 1251PP Laren, The Netherlands, www.xebia.com office: +31-35-5381921, mobile: +31-651 149 132, [EMAIL PROTECTED] -- Report

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
Hi Stas, Good idea, but I've tested it, and it doesn't help (I created on alias in my host file with the same length, yes). regards,    Michael Stas Bekman wrote: Geoffrey Young wrote: I have written a OutputFilter that finds a string in a response and replaces

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
for /exchange/mike/Inbox/ (an HTML document) [Mon Mar 22 21:20:55 2004] [info] Exiting Mike:filter.pm Thanks for the testcase, what's next? Stas Bekman wrote: Michael Franken wrote: Hi Stas, Good idea, but I've tested it, and it doesn't help (I created on alias in my host fil

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
only. I'm not using any switches. I'll setup a simple environment 1st, and send you my httpd.conf file Mike Stas Bekman wrote: Michael Franken wrote: Hi Stas, That was close, I got a few responses, but then it crashed again: [...] Thanks for the testcase, what's next? Can we

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
without a known # server name. # # # ServerAdmin [EMAIL PROTECTED] #DocumentRoot /www/docs/dummy-host.example.com #ServerName dummy-host.example.com #ErrorLog logs/dummy-host.example.com-error_log #CustomLog logs/dummy-host.example.com-access_log common # ServerName mda.demon.nl

Re: [mp2] my filter crashes on reverse proxied content

2004-03-22 Thread Michael Franken
proxy_server_conf * conf=0x00585510, apr_bucket_brigade * bb=0x007d4db0, char * server_portstr=0x04b5fe78) Line 921 + 0xeC mod_proxy_http.so!ap_proxy_http_handler(request_rec * r=0x007d4e00, proxy_server_conf * conf=0x00585510, char * url=0x007d4ee0, const char * proxyname=0x, unsigned

[mp2] migrating mp1 RequestRec::notes() to mp2

2004-03-23 Thread Michael Taylor
I am having problems trying to migrate some Perl code (that I didn't write) from mod_perl 1 (and libapreq 1) to mod_perl 2 (and libapreq2). I don't understand why I having problems with this simple code example. package Example; use strict; use mod_perl; use Apache2; use Apache::RequestRec; us

Re: [mp2] my filter crashes on reverse proxied content

2004-03-25 Thread Michael Franken
Filter PerlSetVar FilterSource localhost:86 PerlAddVar FilterDestination mail.franken.ws:80 You can verify it by simply running tomcat in the backend, and reverse proxy http://localhost:8080/manager, you will see the same behavior. Stas Bekman wrote: Michael Franken wrote: Hi Stas, I

Re: [mp2] my filter crashes on reverse proxied content

2004-03-26 Thread Michael Franken
$r->dir_config, which is what I do. Anyway the filter won't work without 'SetHandler modperl'... Michael Stas Bekman wrote: Perrin Harkins wrote: On Thu, 2004-03-25 at 06:45, Michael Franken wrote:   SetHandler modperl PerlOutputFilter

Re: [mp2] my filter crashes on reverse proxied content

2004-03-26 Thread Michael Franken
Hi Stas, Stas Bekman wrote: Michael Franken wrote: Hi Stas, I understand that going thru 40 KB is a pain. Unfortunately I can't seem to get the test suite running, the Perl Makefile does not produce a valid makefile, and I can't seem to fix it (something with DIRFILESEP). As I to

[ANNOUNCE] Apache::AuthCookie 3.06

2004-11-09 Thread Michael Schout
not set. - make some debug log_error() calls conditional on $debug Regards, Michael Schout -- 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

Send ASCII file to the browser

2004-11-12 Thread Michael Stepanov
out->set('Content-Disposition' => "attachment; filename=some_file); $r->sendfile($fname); I call that method from a web page. Problem: source code of the web page is added at the end of downloaded file. Any suggestions? Thanks in a

Re: Send ASCII file to the browser

2004-11-16 Thread Michael Stepanov
Chris Gamache wrote: This might be solution: $r->content_type('text/plain'); Yes, you are right! I should be more careful! Thanks. --- Michael Stepanov <[EMAIL PROTECTED]> wrote: Hi guys, I have a small problem with sending simple ASCII file to the browser. Inside perl mod

Re: Advice needed on custom webapp framework

2004-11-17 Thread Michael Schout
ameWork::SomeSite'; # calling $self->dbh in here calls WebAppFrameWork::SomeSite->dbh # plus you can call any methods provided by WebAppFrameWork ... __END__ Regards, Michael Schout -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/

Re: Handling the User pressed Stop button case - problems

2004-11-29 Thread Michael Peters
d; $i++; sleep 1; } If you had put a 'use strict' in there at the top it might have been easier to see this. -- Michael Peters Developer Plus Three, LP -- 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: the scripts under mod_perl are running as mod_cgi

2004-12-03 Thread Michael Peters
and a whole bunch of other modules. The only drawback is that it doesn't work for apache2/mod_perl2 yet. -- Michael Peters Developer Plus Three, LP -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.or

Re: [pm1] Building mod_perl for Tenon's iTools on Mac OS 10.2

2003-10-04 Thread Michael Chamberlain
1) Why can't "make test" fire up Apache? 2) Why is --without-execstrip necessary on Mac OS X (Darwin/FreeBSD)? 3) Are any other Apache configuration options necessary to replicate Tenon's configuration, if required by mod_perl? Any pointers much appreciated. At the moment it's a bit difficult to

Re: [Fwd: AuthenNTLM and slow web server]

2003-11-02 Thread Michael Parker
r of authentication requests it has to make. Someone mentioned using cookies, which is one way. There have been several discussed over the years on this list. You should check the archives to give you some ideas on how to solve the problem. I found the most success using one of the authentication caching modules. Michael

video pirates

2003-11-03 Thread John Michael
modperl.  The area is protected by mod rewrite using http_referer.  Any thoughts on the subject would be greatly appreciated.   Thanks john Michael  

Problem with startup file

2003-11-07 Thread John Michael
.pm line 266.!Compilation failed in require at /usr/lib/perl5/5.8.0/CGI.pm line 3.!BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CGI.pm line 3.!Compilation failed in require at /etc/httpd/conf/perl/startup.pl line 25.!BEGIN failed--compilation aborted at /etc/httpd/conf/perl/startup.pl line 25.!Compilation failed in require at (eval 1) line 1.! #   Any help. Thanks John Michael      

I got it.

2003-11-07 Thread John Michael
Thanks, But I got it working. JM  

Re: Problem with startup file

2003-11-07 Thread John Michael
The problem was caused from trying to use an old modperl startup file on modperl 2.0. Cya   JM

connection monitoring

2003-11-28 Thread John Michael
appreceiated. Thanks John Michael  

connection monitoring

2003-11-29 Thread John Michael
but want to be sure.   I do a lot of trial and error.  Is that what I have to do to figure this out?   John Michael

Re: connection monitoring

2003-11-29 Thread John Michael
ausner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 29, 2003 2:19 AM Subject: Re: connection monitoring > Hi! > > On Sat, Nov 29, 2003 at 02:00:18AM -0600, John Michael wrote: > > Someone pointed me to checking the connection class for an abort.

connection monitoring still

2003-11-29 Thread John Michael
s this correct. John Michael  

Once more connection monitoring

2003-11-30 Thread John Michael
ntil either the file is through being sent or user terminated connection freeing up services for this user to download another file}Is this correct.John Michael

Re: Persisting data across authenticate <-> authorize ?

2004-12-10 Thread Michael Peters
cation be seen in the authorization phase you could just use $r->pnotes(). http://perl.apache.org/docs/1.0/api/Apache.html#_r_E_gt_pnotes___key____value___ -- Michael Peters Developer Plus Three, LP -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist

Re: site layout

2004-12-15 Thread Michael Peters
control to Apache to serve the image, otherwise it displatches the request to the right module. I think adding this would solve the problem: SetHandler default -- Michael Peters Developer Plus Three, LP -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.or

mod_perl 1.99: sendfile returns empty document

2004-12-30 Thread Michael Heidel
ideas? Thanks in Advance! Regards, Michael Heidel -- Michael HeidelEUC Online Service GmbH HRB Köln 32038 Geschäftsführer Taubengasse 9 Tel. +49 221 58007-20 <[EMAIL PROTECTED]> D-50676 Köln Fax +49 221 58007-28 Tel.-Durchwahl: -22 Public Pg

Re: [mp1] Linking confusion

2005-01-01 Thread Michael Robinton
On Thu, 30 Dec 2004, William McKee wrote: > Hi folks, > > I'm trying to recompile Perl and Apache/mod_perl on a Debian Sarge > system using the following versions: > > Perl 5.8.6 > Apache 1.3.33 > mod_perl 1.29 > > I am compiling mod_perl statically (using Apachetoolbox) with the > following

Re: maintaining state between request cycles....

2005-01-06 Thread Michael Peters
lient to present some token to the server (either in a cookie, or hidden field, etc) telling the server who it is. I'm pretty sure that there is no way around this. Why does it bother you to use cookies or hidden fields? -- Michael Peters Developer Plus Three, LP

Re: File perms problem

2005-01-11 Thread Michael Peters
ory/location. If you decide to put them under the /assetdb, then you will need to tell apache to handle them SetHandler default-handler HTH -- Michael Peters Developer Plus Three, LP

Re: Perl module requiring mod_perl

2005-01-12 Thread Michael Schout
will require mod_perl v1.99_16 or later. Regards, Michael Schout

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Michael Peters
OT of processes running simultaneously. Did you preload the those scripts at server start-up? This would change it so that instead of each apache child having it's own copy of each script they would have been placed in shared (copy-on-write) memory. -- Michael Peters Developer Plus Three, LP

Re: CGI::Session or CGI::Application

2005-01-15 Thread Michael Peters
ion. On a C::A note, I wonder how hard it would be for Cees to add Apache::Session support to C::A::P::Session. -- Michael Peters Developer Plus Three, LP

Re: CGI::Session or CGI::Application

2005-01-15 Thread Michael Peters
le, but then they give you the sql for that) I always go with the faster option :) -- Michael Peters Developer Plus Three, LP

Re: [OSCon 2005] RFC

2005-02-11 Thread Michael Peters
ion: 45 minutes I would also be interested in these 2 as well. Do all 3 :) -- Michael Peters Developer Plus Three, LP

Re: duplicating installation on other server

2005-03-10 Thread Michael Peters
c/cpan-faq.html#How_make_bundle This will also catch the problem of not having some external (to perl) library installed on your system (like GD). -- Michael Peters Developer Plus Three, LP

Re: localized lexical varibles

2005-03-15 Thread Michael Peters
siest/cleanest workaround is to always pass those kind of shared resources to your subroutines as arguments. -- Michael Peters Developer Plus Three, LP

Re: localized lexical varibles

2005-03-15 Thread Michael Peters
time. A good idea is to preload all of your modules and then use Apache::Reload inside of the modules you are still developing. HTH -- Michael Peters Developer Plus Three, LP

Re: Class::DBI + mod_perl? "Can't locate object method 'search' ...

2005-04-09 Thread Michael Peters
to recognize it with any combination of use inforce; with or without the other classes above in 'startup.pl'. I get Can't's locate object method "search" via package 'inforce' ... Obviously this is something simple -- thanks in advance for any guidance whatsoever on this. HTH a little. -- Michael Peters Developer Plus Three, LP

Re: data persistence problem with Class::DBI

2005-04-14 Thread Michael Peters
th this? > > Think it's a feature of Ima::DBI or some other part of Class::DBI? > > Thanks for your time. > > -- > Eric W. Bates > [EMAIL PROTECTED] -- Michael Peters Developer Plus Three, LP

[ANNOUNCE] Apache-AuthCookie 3.07

2005-04-18 Thread Michael Schout
The uploaded file Apache-AuthCookie-3.07.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.07.tar.gz size: 34483 bytes md5: 38672d492c3281893872502f04b4f584 Changes since 3.06: *** mod_perl2 users: THIS RELEASE IS INCOMPATIBLE WITH PAST RELEASES ***

Re: ticketing solutions

2005-04-22 Thread Michael Schout
y. Not sure if this is the type of thing you are referring to, or if you are looking for something else :). Regards, Michael Schout

Re: ticketing solutions

2005-04-22 Thread Michael Schout
nfusion.com.au/labs/mod_auth_tkt/ However, its only for apache 1.x apparently. Regards, Michael Schout

reading post data.

2005-04-23 Thread Michael Schout
proach. The APR::Brigade docs do not really clarify this for me. Does anyone know which of these methods is better and why? Regards, Michael Schout

Re: compiling perl on freebsd to support ithreads

2005-04-26 Thread Michael Peters
uture. One of the biggest complaints I hear (and voice) is that the linux distros ship a perl with ithreads. It's slower and almost noone wants or needs it. It looks like FBSD is doing what the majority of people want it to do, so I wouldn't knock it :) -- Michael Peters Developer Plus Three, LP

Re: compile mod_perl with Apache::DBI support

2005-05-02 Thread Michael Peters
G=1 in your startup, then you wont see anything in the errorlog. from the doc: "To enable debugging the variable $Apache::DBI::DEBUG must be set. This can either be done in startup.pl or in the user script." -- Michael Peters Developer Plus Three, LP

Re: Apache::Session::Store::Postgres FOR UPDATE problems [OT]

2005-05-02 Thread Michael Schout
lient 1 either does COMMIT or ROLLBACK. So if you want to ensure that only one client has the session data at a time, you need FOR UPDATE. Regards, Michael Schout

Re: Newline and tab escaping in Apache's error_log

2005-06-03 Thread Michael Peters
ilding apache like so: CFLAGS="-DAP_UNSAFE_ERROR_LOG_UNESCAPED" ./configure make ... -- Michael Peters Developer Plus Three, LP

[ANNOUNCE] Apache::AuthTicket 0.40

2005-06-06 Thread Michael Schout
The uploaded file Apache-AuthTicket-0.40.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthTicket-0.40.tar.gz size: 20346 bytes md5: a1d0a5650b9deae181effb977c8d71a8 No action is required on your part Request entered by: MSCHOUT (Michael Schout) Request

Re: Any way for a PerlHandler to know what Location block it's in?

2005-06-08 Thread Michael Peters
> I want to ditch the "PerlSetVar MyRoot" line because it will always have > the same value as the "Location" directiv above it. Is there a way MyModule > can get "/foo/bar" using some other means? I feel almost silly saying this, but did you look at $r->loca

Re: Help (Desperate) - Install Bundle::Apache2 catastrophic

2005-06-12 Thread Michael Peters
in the APR::Pool package, so you need to use APR::Pool (); But, since CGI.pm is throwing these errors, I'd say it's because you haven't upgraded it. What version of CGI.pm are you running? It needs to be at version 3.10 for complete compatibility with mod_perl2. -- Michael Peters Developer Plus Three, LP

module requires either Apache::Foo or Apache2::Foo

2005-06-27 Thread Michael Peters
he modules code is the same regardless of the platform. -- Michael Peters Developer Plus Three, LP

Re: Eagle book RandPicture.pm, $r->internal_redirect, and IE 6.0 showing same image every time

2005-07-02 Thread Michael Peters
uses the more forceful 'Pragma: no-cache' and 'Cache-control: no-cache'. These are not showing up in your headers. The only thing I can think of is that no_cache(1) is not being executed? -- Michael Peters Developer Plus Three, LP

Re: module requires either Apache::Foo or Apache2::Foo

2005-07-02 Thread Michael Peters
Geoffrey Young wrote: Michael Peters wrote: Hello all, I have a module that can be run either under mod_perl 1 and 2. This works great when running and testing using Apache-Test, but the bit I'm having problems with is the install. For it to run properly it needs either Apache::Constan

Re: module requires either Apache::Foo or Apache2::Foo

2005-07-05 Thread Michael Peters
is a start :) I don't have a lot of time right now to help, but if he has any ideas or something that partially works, I'd be willing to be a sounding/testing board. > of course, there's nothing preventing you from using Apache::TestConfigData > etc now yourself. however, I don't think that is a viable or wise long-term > solution to the issue at hand. I think you convinced me of how bad an idea this is, so I turn my head and walk the other way :) -- Michael Peters Developer Plus Three, LP

Re: Problems with DBI & modperl on Irix 6.5

2005-07-05 Thread Michael Peters
ation aborted at > /opt/perl-5.8.2/lib/site_perl/5.8.2/Apache/DBI.pm line 7. Do you have DBI successfully installed? Are you using the latest version of Apache::DBI (0.94)? I know that they are currently working on the next release, but I think all of the issues in that case are with mod_perl

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Michael Peters
rning added to the Testing document > for similar cases (unless I overread it of course ;-) A list of directives that launch the interpreter would be pretty cool :) -- Michael Peters Developer Plus Three, LP

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Michael Peters
Geoffrey Young wrote: > > Michael Peters wrote: > >>Thomas Nagel wrote: >> >> >>>>yeah. and that directive launches the interpreter, thus the collision. >>>> >>>>as stas suggested, extra.last.conf.in is the answer in this case. &

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Michael Peters
>"extra.conf.in" I couldn't find any for "extra.last.conf.in". > > > hmm, maybe it isn't documented there, then. I know I wrote about it in an > article I did for perl.com Turns out it was documented, but not as "extra.last.conf.in" bu

Re: initializing global data structures from a db

2005-07-11 Thread Michael Peters
changes. If it's used a lot and isn't really large and rarely changes I would preload at server startup. That way you only need to touch the db once and all of your apache children will have reduced memory (since they will all share it until it's changed) because of Copy-On-Write memory

Re: Apache::AuthCookie Setup

2005-07-26 Thread Michael Schout
Sample/AuthCookieHandler.* Regards, Michael Schout (AuthCookie maintainer)

Re: debugging 'server closed the connection unexpectedly' from PostgreSQL 8.0

2005-08-02 Thread Michael Peters
in your QA env if you run the server in single process mode. This will make it easier to simulate all of the children getting hit and serving requests. -- Michael Peters Developer Plus Three, LP

Re: survey

2005-08-26 Thread Michael Peters
ers moved to Apache2, but mod_perl2 was not officially released until a few short months ago. I know a lot of people were using it before it became official released, but many were avoiding it. -- Michael Peters Developer Plus Three, LP

Re: memory resident config hash

2005-08-26 Thread Michael Peters
t; > Is it possible to store that hash in the memory somehow? Just put it into it's own package and preload it. As long as you don't change the data it'll stay shared. package MyConfig; our %DATA = ( ... ); 1; Then reference it anywhere as MyConfig::DATA{foo}; HTH -- Michael Peters Developer Plus Three, LP

Re: memory resident config hash

2005-08-27 Thread Michael Peters
;}; eval "require $package"; my $LANG_DATA; { no strict 'refs'; $LANG_DATA = ${"${package}::DATA"}; } ==MyConfig= package MyConfig; our $DATA = { other => 'MyConfig::Other', }; 1; =MyConfig::Other=== package MyConfig::Other; our $DATA = { foo => 'more stuff', }; -- Michael Peters Developer Plus Three, LP

Re: Suggestions for creating an archive

2005-08-31 Thread Michael Peters
direct you won't have to bother > figuring it out. If you are generating your own content headers you use the Content-Disposition header. Something like: $r->header_out( 'Content-Disposition' => 'inline; filename=my_cool_stuff.zip' ); -- Michael Peters Developer Plus Three, LP

Re: a faster html::template?

2005-09-09 Thread Michael Peters
Praveen Ray wrote: > Here is a very very simple script comparing three > approaches to build a large html table. would you mind sending this script as an attachment. Email clients tend to garble... Thanks -- Michael Peters Developer Plus Three, LP

FIXED -- [Fwd: Cannot build static mod_perl 2.0.1 / Apache 2.0.54 on Solaris 9]

2005-09-13 Thread Michael Fourneau
Hi, This has been fixed. Thank you very much to Cory Omand who pointed me to http://www.blastwave.org where Solaris builds for lots of applications are already available. Best regards, Michael Original Message Subject:Cannot build static mod_perl 2.0.1 / Apache

  1   2   3   4   5   6   7   >