Re: Apache::DBI on mp2

2003-03-07 Thread Stas Bekman
Ask Bjoern Hansen wrote: On Fri, 7 Mar 2003, Stas Bekman wrote: If the physical connection is still there, would the database server do a rollback? If earlier the rollback worked correctly with $dbh ||= connect();, this will work the same, since it performs the same operation, but rips off only

Re: DECLINE, ERRORs in the middle of hanlers stack

2003-03-07 Thread Stas Bekman
of stuffing the content there, you are probably better off (more efficient?) to create a buffering class, instantiate an instance, and store it in $r-pnotes between invocations. __ Stas BekmanJAm_pH -- Just Another

Re: [mp2] What happened to $r-connection-remote_addr?

2003-03-07 Thread Stas Bekman
stock with RedHat 8.0 linux: httpd-2.0.40-11 I'm using the perl 5.8.0 rpm that comes stock with RedHat 8.0 linux: perl-5.8.0-55 -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide

Re: [mp2] $r-document root(/my/hacked/path);

2003-03-07 Thread Stas Bekman
. Patches are welcome. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http

[mp2] automatic Apache::compat preloading in CPAN modules is a no-no

2003-03-06 Thread Stas Bekman
. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: [mp2] integration with apache threads

2003-03-06 Thread Stas Bekman
). __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-05 Thread Stas Bekman
Beau E. Cox wrote: Yea, Stas, I clearly see your reasoning. However, this is not a change of behaviour between mp1 and mp2, but rather between mp2-08 and the current cvs (09). since 09 08, it *is* a change in behaviour between mp1 and mp2 ;) though potentially not the final one. I

Re: Apache::DBI on mp2

2003-03-05 Thread Stas Bekman
Ask Bjoern Hansen wrote: On Wed, 5 Mar 2003, Stas Bekman wrote: Great. I've already committed that patch. Perhaps Ask could load 'Apache::compat' inside Apache::DBI if mp2 is used. Or to use the mp2 API if mp2 is used. That seems like it'll be an easy solution. I thought loading Apache

Re: Reading an array from perl script

2003-03-05 Thread Stas Bekman
;) As suggested by Mark, IPC::Shareable might work if the data set is small. If it's big you can use a simple dbm to store the data in and with proper locking read/write to/from it without disturbing each other. __ Stas BekmanJAm_pH

Re: [mp2] CGI redirects incorrectly handled?

2003-03-05 Thread Stas Bekman
*bucket; const char *work_buf = buf; -if (wb-header_parse !wb-r-content_type) { +if (wb-header_parse) { request_rec *r = wb-r; const char *bodytext = NULL; int status; __ Stas Bekman

Re: Can anyone Rcommend a good Apache mailing list

2003-03-05 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: register_cleanup on mod_perl 2.0

2003-03-05 Thread Stas Bekman
from Apache/compat.pm: sub register_cleanup { shift-pool-cleanup_register(@_); } if you use Apache::compat, your mp1 code will work under mp2 unmodified. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http

Re: Tracing double accesshandler invocation

2003-03-05 Thread Stas Bekman
until you break it. if you succeed to break it, that would be the easiest for me to reproduce your problem. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http

Re: register_cleanup on mod_perl 2.0

2003-03-05 Thread Stas Bekman
Stas Bekman wrote: Denis Banovic wrote: Hi! I've a script that looks like this: if ($runnung_on_mod_perl) { Apache-request-register_cleanup(\init_globals); } Under mod_perl 1.0 works fine with Apache::Registry. Can someone give me an Example how to make a register_cleanup with mod_perl 2

Re: Apache::DBI on mp2

2003-03-05 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: FWIW, we are discussing the internal DBI pooling mechanism at the dbi-dev list and having already a sort-of-working prototype. So hopefully there will be no need for Apache::DBI in the near future, as DBI will be able to handle pooling internally

Re: [mp2] CGI redirects incorrectly handled?

2003-03-05 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Mark James wrote: I'm having CGI redirect problems mp2 (cvs). as the comment just above this line says, that code was copy-n-pasted from mod_cgi. Can you reproduce the same problem while running a cgi script? No, them problem only manifests under

Env::C threads env flashback

2003-03-05 Thread Stas Bekman
that before threads are started. (e.g. for mod_perl 2.0, at the server startup). --- Also see: http://perl.apache.org/docs/2.0/user/coding/coding.html#Thread_environment_Issues __ Stas BekmanJAm_pH -- Just Another mod_perl

Re: Apache::DBI on mp2

2003-03-04 Thread Stas Bekman
Haroon Rafique wrote: On Today at 11:16am, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB FWIW, we are discussing the internal DBI pooling mechanism at the SB dbi-dev list and having already a sort-of-working prototype. So SB hopefully there will be no need for Apache::DBI in the near future, as SB

Re: Trouble with sysread in modperl

2003-03-04 Thread Stas Bekman
is the last byte of the scalar after the read. [...] can you try whether you get all the data, by reading via STDIN (even though you have no control over chunks size) __ Stas BekmanJAm_pH

Re: SubRequest weirdness

2003-03-04 Thread Stas Bekman
. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http

Re: [mp2] Latest mod_perl funny test results

2003-03-04 Thread Stas Bekman
in a different way. So please bear with me. I want to finish first the update of the filters tutorial, and then will be back to fixing things. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Stas Bekman
. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Stas Bekman
it should behave differently if you think that my idea is wrong. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: Problem with mod_perl and subroutines in multiple files.

2003-03-04 Thread Stas Bekman
(or to what I thought was properly configured), I got strange errors like: ModPerl::PerlRun: Not a CODE reference at /var/www/cgi-bin/main.pl line 31. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org

Re: WEb hosting..

2003-03-03 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: WEb hosting..

2003-03-03 Thread Stas Bekman
Fco. Valladolid wrote: http://www.upnix.com David Emery wrote: http://www.mediatemple.net please specify where the companies are based, since our list is sorted by country. Thanks. __ Stas BekmanJAm_pH -- Just

Re: Apache::DBI on mp2

2003-03-03 Thread Stas Bekman
(@_); +} + package Apache::Constants; use Apache::Const (); __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: [mp2] disabling a perl handler within a specific location

2003-03-03 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Apache dies when configure mod_perl for use with Apache::DBI

2003-03-02 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: WEb hosting..

2003-03-02 Thread Stas Bekman
Thank you! I've committed the isps you have submitted so far. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: Help needed to set up Apache, PERL, PHP and MySQL

2003-03-01 Thread Stas Bekman
, that will provide the help-desk-like service for you. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http

Re: mp2 runs scripts as root?

2003-03-01 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Mark James wrote: Some of my scripts break when running under mp2 (cvs) because the UID is set as root rather than the Apache user (which for me is web). The problem manifests with RCS file locking. Is there some switch to set so that I can run scripts as web

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-28 Thread Stas Bekman
/CORE Thanks. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http

Re: register_cleanup

2003-02-28 Thread Stas Bekman
: if ($runnung_on_mod_perl) { Apache-request-register_cleanup(\init_globals); } should work unmodified, under Apache::compat. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http

Re: mp2 runs scripts as root?

2003-02-28 Thread Stas Bekman
' or installed mod_perl? If the former, use the latest cvs where this should work if the latter, modify httpd.conf. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http

Re: [mp1] Help with Apache::MP3

2003-02-27 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org

Re: Approaches to upgrading Apache but not mod_perl

2003-02-27 Thread Stas Bekman
. To upgrade Apache you are better off to do the whole installation from scratch. Mainly for binary compatibility reasons. e.g. in the 2.0 world, Apache won't start if you have a modperl module built with a previous Apache version. __ Stas

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-27 Thread Stas Bekman
Mark James wrote: Stas Bekman wrote: Mark James wrote: 1. In http://perl.apache.org/docs/1.0/guide/getwet.html , use of x.x.x for both the Apache and mod_perl version numbers made me think that the version numbers had to be matched. Maybe y.y.y should be used for one. Please get used

Re: mod_perl Developer's Cookbook

2003-02-27 Thread Stas Bekman
to come out any time soon, if at all. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com

Re: Problem headers_out

2003-02-27 Thread Stas Bekman
/2.0/user/compat/compat.html#Code_Porting also please remember to mark your subject with mp2 when asking mp2 questions. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-27 Thread Stas Bekman
@@ return unless $flags; for my $flag (split /\s+/, $flags) { +next if /^-/; # skip -foo flags my($name, $val) = split '=', $flag; $val ||= ''; $name =~ s/^-D//; __ Stas Bekman

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-27 Thread Stas Bekman
Stas Bekman wrote: Priest, Darryl - BALTO wrote: Thanks for the quick response, additional information as requested is below. Cool, please let me know whether this patch solves the problem (you need to apply the patch: cd modperl-2.0 patch -p0 patch_itself rebuild mod_perl from scratch oops

Re: mp2: works with NetBSD? was Re: mp2: anyone got mp2 and apache2.0.44 working on any version of OpenBSD?

2003-02-27 Thread Stas Bekman
anyone been able to get it to run? (it seems to work well on SunOS 5.8 with the same apache perl versions) Carl -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http

Re: mp2: works with NetBSD? was Re: mp2: anyone got mp2 and apache2.0.44 working on any version of OpenBSD?

2003-02-27 Thread Stas Bekman
Carl Brewer wrote: Stas Bekman wrote: Carl Brewer wrote: As no-one seems interested in this after a few weeks, It's not about not being interested, but lacking the access to the system and/or lacking the expertise on these platforms. We really need to have at least one person taking care

Re: [error] Insecure dependency in unlink while running with -T switchat /usr/lib/perl5/site_perl/5.6.0/Apache/Session/Store/File.pm line 106

2003-02-27 Thread Stas Bekman
/taintmode.html#clear_taint __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http

Re: WEb hosting..

2003-02-27 Thread Stas Bekman
. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Help: Can't coerce GLOB to string...

2003-02-26 Thread Stas Bekman
Kurt George Gjerde wrote: On Wed, 26 Feb 2003, Stas Bekman wrote: use threads; use threads::shared; why do you need to load threads? Do you plan to spawn your own threads? No, they're not supposed to be there. ### TRANSFORM my $results; eval { $results = $stylesheet-transform($document

Re: subrequest-run() doesn't send HTTP headers

2003-02-26 Thread Stas Bekman
/ __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: perl 5.8.0/modperl 1.99/apache2/HPUX 11.00 config problem

2003-02-26 Thread Stas Bekman
of the resources listed here: http://perl.apache.org/docs/offsite/other.html#Perl __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: Invalid command 'PerlCleanupHandler'

2003-02-26 Thread Stas Bekman
: http://perl.apache.org/docs/2.0/user/install/install.html#Installing_mod_perl_from_Source You need the 'CVS Bleeding-Edge Version' section __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org

Re: make errors with mod_perl-1.99_08 on aix 4.3.3

2003-02-26 Thread Stas Bekman
{ccflags_uselargefiles}' __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org

Re: Scripts and HTML docs in the same directory (+ modperl newbieexperiences)

2003-02-26 Thread Stas Bekman
mod_perl coders! Thanks for the comments. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http

Re: [MP2] Apache::Reload date bug

2003-02-25 Thread Stas Bekman
Ron Savage wrote: On Tue, 25 Feb 2003 09:40:05 +1100, Stas Bekman wrote: And what your error_log says? Nothing is output to the error_log. Have you tried the current mod_perl cvs? __ Stas BekmanJAm_pH -- Just

Re: Help: Can't coerce GLOB to string...

2003-02-25 Thread Stas Bekman
] -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: [MP2] Apache::Reload date bug

2003-02-24 Thread Stas Bekman
Ron Savage wrote: On Wed, 19 Feb 2003 10:04:02 +1100, Stas Bekman wrote: Ron Savage wrote: On Tue, 18 Feb 2003 12:56:38 +1100, Stas Bekman wrote: Hi Folks In endeavouring to reproduce this problem, I've encountered another: main.cgi: -8- #!/usr/bin/perl use strict; use warnings; use

Re: Redirects: relative vs absolute

2003-02-24 Thread Stas Bekman
= $r-construct_url(); __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http

mp2: a new helper module: ModPerl::MethodLookup

2003-02-23 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: HELP - Problem installing modperl

2003-02-23 Thread Stas Bekman
mod_perl, with CC=gcc perl Makefile ... __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http

Re: [mp2.0] Can't locate object method push_handlers via packageApache::RequestRec

2003-02-23 Thread Stas Bekman
of mod_perl to get this functionality. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Stas Bekman
print was forgotten in the modperl source code. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http

FYI: Apache Modeling Portal

2003-02-20 Thread Stas Bekman
#Apache __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: HELP - Problem installing modperl

2003-02-20 Thread Stas Bekman
-V'? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: [mp2] porting tip - DefaultType text/html

2003-02-20 Thread Stas Bekman
compatibility layer Apache::compat. So if you choose to use Apache::compat you can keep it, if you don't use Apache::compat you have to remove it. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org

Re: [OT?] Win32 permissions puzzler

2003-02-20 Thread Stas Bekman
at will? Does it behave the same with and without mod_perl? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http

Re: libapreq

2003-02-20 Thread Stas Bekman
David Wilde wrote: Is there a beta version of libapreq available for Apache 2? No, but subscribe to [EMAIL PROTECTED] to stay up to date with the new developments. __ Stas BekmanJAm_pH -- Just Another mod_perl

Re: Help with Apache 1.3.27 + mod_perl 1.27 installation

2003-02-20 Thread Stas Bekman
be very helpful. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: On Thursday, February 20, 2003, at 07:04 PM, Stas Bekman wrote: PerlChildInitHandler? e.g. used by Apache::DBI to pre-connect to the db. Yeah, but I was looking for something pre-fork. Anything come to mind? startup.pl? in 2.0 you have: PerlPostConfigHandler http

Re: [mp1] Alternative for CHECK

2003-02-20 Thread Stas Bekman
David Wheeler wrote: On Thursday, February 20, 2003, at 09:41 PM, Stas Bekman wrote: startup.pl? Won't work too well in a module, I think. I have a workaround for my problem for now, but it ain't pretty. Why not? Use a separate module to drive the others? package My::PostConfig; BEGIN

Re: cvs commit: modperl Makefile.PL

2003-02-20 Thread Stas Bekman
[EMAIL PROTECTED] wrote: randyk 2003/02/20 08:42:46 Modified:.Makefile.PL Log: Reviewed by: stas Use Perl's touch(), in case a system touch() isn't available. Revision ChangesPath 1.208 +5 -1 modperl/Makefile.PL Index: Makefile.PL

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2003-02-19 Thread stas
stas2003/02/19 15:55:23 Modified:.Changes lib/Apache compat.pm t/response/TestCompat apache.pm xs/Apache/Response Apache__Response.h xs/maps modperl_functions.map xs/tables/current/ModPerl

cvs commit: modperl-2.0 STATUS

2003-02-19 Thread stas
stas2003/02/19 16:41:51 Modified:.STATUS Log: need to resolve the issue with END blocks Revision ChangesPath 1.34 +5 -1 modperl-2.0/STATUS Index: STATUS === RCS file: /home/cvs

cvs commit: modperl-2.0 Changes

2003-02-19 Thread stas
stas2003/02/19 17:28:25 Modified:t/response/TestAPI uri.pm xs/APR/URI APR__URI.h .Changes Log: fix a bug for apr 0.9.3, where it segfaults in apr_uri_unparse, if hostname is set, but not the scheme. Revision ChangesPath 1.9

Re: Building mod-perl 2 for cygwin: taint cleanup

2003-02-19 Thread Stas Bekman
[splitting the thread in two] Stas Bekman wrote: Steve Baldwin wrote: I've got Apache2 installed and as far as I can tell, it is functional. I'm trying to build mod-perl from source (as I couldn't find any binaries for cygwin). When I initially ran the command : perl Makefile.PL MP_AP_PREFIX

Re: [mp2] $r-server()-server_hostname compatibility?

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: server_hostname is not documented on the list. Anyone know the equivalent please? it hasn't changes from 1.0. I thought we have been through this already, just yesterday. __ Stas BekmanJAm_pH

Re: [mp2] warnings

2003-02-19 Thread Stas Bekman
the warnings pragma. Though I should add a note that NONFATAL was introduced only in 5.8, so you probably don't want to use it. Instead use: use warnings FATAL = 'all'; no warnings 'redefine'; __ Stas BekmanJAm_pH -- Just

Re: [mp2] handler running twice for one request

2003-02-19 Thread Stas Bekman
and you will be able to debug it easily: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlTrace_ __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Stas Bekman
us here? Hopefully Per Einar is around and can help. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org

Re: help with Apache::DB

2003-02-19 Thread Stas Bekman
__ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org

Re: [mp2] send_http_header() can't be called before the responsephase

2003-02-19 Thread Stas Bekman
Stas Bekman wrote: Nick Tonkin wrote: [...] send_http_header() can't be called before the response phase Nick, I've just committed a better solution. Please verify that it works for you. __ Stas BekmanJAm_pH

Re: [OT?] Win32 permissions puzzler

2003-02-19 Thread Stas Bekman
for further discussion. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http

Re: mod_perl 2 apache::session and or die

2003-02-19 Thread Stas Bekman
to it. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http

Re: [mp2] $r-server()-server_hostname compatibility?

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: server_hostname is not documented on the list. Anyone know the equivalent please? it hasn't changes from 1.0. I thought we have been through this already, just yesterday. We did. The list is resending mail

Re: [mp2] warnings

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: Is it possible to combine the recommended syntax: use warnings FATAL = 'all', NONFATAL = 'redefine'; with the ability to turn warnings on in httpd.conf with PerlSwitches -w? -w is the same as: use warnings

Re: [mp2] $r-server()-server_hostname compatibility?

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: server_hostname is not documented on the list. Anyone know the equivalent please? it hasn't changes from 1.0. I thought we have been through

Re: [mp2] $mod_perl::VERSION not defined

2003-02-19 Thread Stas Bekman
; ? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Re: Program received signal SIGBUS, Bus error. 0x80b2953 in ap_unescape_url()

2003-02-19 Thread Stas Bekman
Stas Bekman wrote: Richard Clarke wrote: Stas, Doesn't seem like an apreq problem. It happens in the modperl function. Any chance you can rebuild mod_perl with debug mode enabled (PERL_DEBUG=1), so we can see the arguments and file/linenumbers? See: http://perl.apache.org/docs/1.0

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Stas Bekman
compile the threaded modperl. we will look at resolving the MULTIPLICITY alone, later. __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL

cvs commit: modperl Changes

2003-02-19 Thread stas
stas2003/02/19 21:21:56 Modified:src/modules/perl Apache.xs .Changes Log: can't let the default typemap rule to convert sv into char* in unescape_url, since it doesn't handle correctly undefs (returns an unallocated string, which then causes

cvs commit: modperl/t/net/perl util.pl

2003-02-19 Thread stas
stas2003/02/19 22:48:05 Modified:t/net/perl util.pl Log: add tests for Apache::unescape_url Revision ChangesPath 1.16 +20 -1 modperl/t/net/perl/util.pl Index: util.pl === RCS file

cvs commit: modperl/Apache Apache.pm

2003-02-19 Thread stas
stas2003/02/19 22:52:10 Modified:Apache Apache.pm Log: add a note that the original string passed to Apache::unescape_url is mangled, so only the return value should be used. Revision ChangesPath 1.73 +6 -1 modperl/Apache/Apache.pm Index: Apache.pm

cvs commit: modperl/Apache Apache.pm

2003-02-19 Thread stas
stas2003/02/19 22:54:23 Modified:Apache Apache.pm Log: add the reason why the variable gets rendered invalid on Apache::unescape_url Revision ChangesPath 1.74 +2 -1 modperl/Apache/Apache.pm Index: Apache.pm

cvs commit: modperl/t/net/perl util.pl

2003-02-19 Thread stas
stas2003/02/19 23:09:14 Modified:t/net/perl util.pl Log: s/no warnings/local $^W = 0/, I forgot that we have to deal with perl 5.6 on the mod_perl 1.0 land. Revision ChangesPath 1.17 +1 -1 modperl/t/net/perl/util.pl Index: util.pl

cvs commit: modperl-2.0/lib/Bundle - New directory

2003-02-18 Thread stas
stas2003/02/18 16:32:14 modperl-2.0/lib/Bundle - New directory

cvs commit: modperl-2.0 Changes

2003-02-18 Thread stas
stas2003/02/18 16:32:45 Modified:.Changes Added: lib/Bundle Apache2.pm Log: add Apache::Bundle2 Revision ChangesPath 1.1 modperl-2.0/lib/Bundle/Apache2.pm Index: Apache2.pm

cvs commit: modperl-2.0/todo api.txt

2003-02-18 Thread stas
stas2003/02/18 20:07:17 Modified:todo api.txt Log: $uri-rpath is missing from APR::URI Revision ChangesPath 1.33 +3 -0 modperl-2.0/todo/api.txt Index: api.txt === RCS file: /home

Re: modperl segfault with threaded Perl 5.8

2003-02-18 Thread Stas Bekman
, you should be fine with stacked handlers. If performance is critical and you don't need the threads functionality, you are better off with non-threaded perl. Many thanks, and thaks for modperl. ;) __ Stas BekmanJAm_pH

Re: [mp2] $r-server-server_hostname() compatibility?

2003-02-18 Thread Stas Bekman
Nick Tonkin wrote: Does anyone know the equivalent directive for $r-server()-server_hostname() it's right there: use Apache::Server; $r-server-server_name; __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http

Re: [mp2] $r-server_name not working

2003-02-18 Thread Stas Bekman
to focus on getting a 1.x installation built on this box ... no, it's get_server_name(): use Apache::RequestUtil; $server_name = $r-get_server_name; __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http

Re: HELP - Problem installing modperl

2003-02-18 Thread Stas Bekman
to wait another year until the one arises you are looking for.'' A. Tanenbaum, ``Introduction to Computer Networks' -- __ Stas BekmanJAm_pH

<    1   2   3   4   5   6   7   8   9   10   >