cvs commit: modperl-2.0/t/response/TestCompat conn_authen.pm

2003-02-19 Thread geoff
geoff 2003/02/19 06:14:36 Modified:.Changes lib/Apache compat.pm t/response/TestCompat conn_authen.pm Log: fixes to Apache::compat. make $r-connection-auth_type interface with r-ap_auth_type. make both $r-connection-auth_type and

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:

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

2003-02-19 Thread Steve Baldwin
Unfortunately, I get the same (as far as I can see) result. Here's my latest perl -V ... [perl-5.8.0]$ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.3.19(0.7132), archname=cygwin-thread-multi-64int

Re: [OT?] Win32 permissions puzzler

2003-02-19 Thread Alessandro Forghieri
Greetings. Alessandro Forghieri wrote: [...] use Bar qw($foo); if($foo) { ... Global symbol $foo requires explicit package name at use vars qw($foo); use Bar qw($foo); [...] Not sure I am following you here. $foo is in the @EXPORT_OK list of module Bar, which is, in turn,an Exporter. It

convert file

2003-02-19 Thread koudjo ametepe
hi everybbody I have a problem about coinverting files. I wanna convert a file in MSword (binary format) to text file so that i can view it with a browser such iexplore netscape. i found something called antiword but i really don't know how to use this for solving my problem Thank you for

ANNOUNCE: CGI::Application::Generator 1.0

2003-02-19 Thread Jesse Erlbaum
Version 1.0 of CGI::Application::Generator is now available via CPAN! Download site for CGI::Application::Generator: http://search.cpan.org/search?dist=CGI-Application-Generator CHANGES SINCE VERSION 0.01: - First release version of CGI::Application::Generator, a module intended to allow

Re: convert file

2003-02-19 Thread Ged Haywood
Hello again, On Wed, 19 Feb 2003, koudjo ametepe wrote: I wanna convert a file in MSword (binary format) to text file This kind of post is not welcome on the mod_perl mailing List. I have already asked you to read the email-etiquette document. Please read it before you post any more

Re: help with Apache::DB

2003-02-19 Thread giorgos
hi stas, thanks for you help. i tried debugging one my non modperl scripts from the command line and it seems to be working as expected. the debugger commands 'w' and 'l' display the source code as expected and i also always see the current line being executed by the debugger. so the problem

Re: help with Apache::DB

2003-02-19 Thread Perrin Harkins
On Tue, 2003-02-18 at 08:07, giorgos zervas wrote: i am using Apache::DB to debug my mod_perl handlers and altough the debugger seems to be working fine it won't display the source code next to the current line being debugged. That's because you are compiling that code before you activate

mod_perl 2 apache::session and or die

2003-02-19 Thread Chris Faust
I'm having a problem since installing Apache::Session All works well except when there is any kind of problem in the script where the condition will die.. For example: $db-execute() or die... open yadda or die.. $db-prepare() or die... etc. When this happens everything to do with that script is

Urgent: DBI::Auth configuration problem

2003-02-19 Thread Scott Chapman
This is the last piece in my implementation. If anyone can help with how to debug this or what is wrong with my configuration, I'd really appreciate it! I'm trying DBI::Auth against a Postgresql database for authentication. It's not working. My postgres debug log shows no activity as well as

Re: mod_perl 2 apache::session and or die

2003-02-19 Thread Perrin Harkins
Chris Faust wrote: All works well except when there is any kind of problem in the script where the condition will die.. [...] When this happens everything to do with that script is unresponsive - I know that is a little vague but that is the best way I can describe it. What happens is the error

Re: mod_perl 2.0 question about $r-connection-auth_type

2003-02-19 Thread Geoffrey Young
I've just about got the Apache::AuthCookieDBI to work with Apache 2.0.44 mod_perl 1.99_09-dev, but I ran into a problem with the $r-connection object not having auth_type or user defined. The $r-auth_type work just fine. Are these the same reference? What should I look for, or use? [snip]

Web Application Developer needed, Denver CO USA

2003-02-19 Thread Theo Petersen
Summit Communication Design has an immediate opening for a Web Application Developer in our South Denver office. This is a full-time, on-site position (no telecommuting). We do not offer relocation. Job focus is e-commerce applications written with Perl, Apache and MySQL. Proficiency with Perl

Apologize

2003-02-19 Thread Franck PORCHER
Hi there, You may have received a message untitled A call against war. I apologize to everyone who feels personally criticized by its content. This was of course not intended. In this time of political agitation, I felt that this message expressed an interesting point of view, so I took upon

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

2003-02-19 Thread Nick Tonkin
server_hostname is not documented on the list. Anyone know the equivalent please? - nick

[mp2] warnings

2003-02-19 Thread Nick Tonkin
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? - nick Nick Tonkin {|8^)

[mp2] handler running twice for one request

2003-02-19 Thread Nick Tonkin
Hi all, I my httpd.conf I have: Location / AddType text/html .html PerlAccessHandler WM::Auth::Access /Location And in my handler I have: package WM::Auth::Access; use strict; use warnings; use Time::HiRes qw(gettimeofday); sub handler { my $r = shift; my

Re: convert file

2003-02-19 Thread Alfred Vahau
Hi, This is an FAQ in the perl beginners mailing list, [EMAIL PROTECTED] Look up Win32::OLE module from CPAN. Alfred, koudjo ametepe wrote: hi everybbody I have a problem about coinverting files. I wanna convert a file in MSword (binary format) to text file so that i can view it with a

[mp2] Cookie behavior discrepancy in Auth* handlers ?

2003-02-19 Thread Nick Tonkin
Hi all, Cookies driving me nuts as usual but I think the problem appears to be related to which handler phase we are in. Basically, the same call to read the cookies works in the PerlHandler but not in the PerlAccessHandler. in Access.pm I have : use CGI; use CGI::Cookie; sub handler { my

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

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
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 'all'; then you can override things in your code using the

Re: [mp2] handler running twice for one request

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: Hi all, I my httpd.conf I have: Location / AddType text/html .html PerlAccessHandler WM::Auth::Access /Location And in my handler I have: package WM::Auth::Access; use strict; use warnings; use Time::HiRes qw(gettimeofday); sub handler { my

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Stas Bekman
Steve Baldwin wrote: Unfortunately, I get the same (as far as I can see) result. Here's my latest perl -V ... You mean, you get a bunch of unresolved symbols, right? from your previous report: Now, make (of mod-perl) gives the following errors ... modperl_env.lo(.text+0x89e):modperl_env.c:

Re: help with Apache::DB

2003-02-19 Thread Stas Bekman
Perrin Harkins wrote: On Tue, 2003-02-18 at 08:07, giorgos zervas wrote: i am using Apache::DB to debug my mod_perl handlers and altough the debugger seems to be working fine it won't display the source code next to the current line being debugged. That's because you are compiling that code

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
Alessandro Forghieri wrote: Alessandro Forghieri wrote: [...] use Bar qw($foo); if($foo) { ... Global symbol $foo requires explicit package name at use vars qw($foo); use Bar qw($foo); [...] Not sure I am following you here. $foo is in the @EXPORT_OK list of module Bar, which is, in

Re: mod_perl 2 apache::session and or die

2003-02-19 Thread Stas Bekman
Perrin Harkins wrote: Chris Faust wrote: All works well except when there is any kind of problem in the script where the condition will die.. [...] When this happens everything to do with that script is unresponsive - I know that is a little vague but that is the best way I can describe

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

2003-02-19 Thread Nick Tonkin
On Thu, 20 Feb 2003, Stas Bekman wrote: 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. I'll have a go as soon as poss. - nick --

[mp2] $mod_perl::VERSION not defined

2003-02-19 Thread User NICKNick Tonkin
Following the docs at http://perl.apache.org/docs/2.0/devel/porting/porting.html#Adjusting_Modules_to_Work_with_1_0_and_2_0_ I am trying to test $mod_perl::VERSION but it is undef. Any clues? Thanks, - nick

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

2003-02-19 Thread Nick Tonkin
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. Or maybe the mail

Re: [mp2] warnings

2003-02-19 Thread Nick Tonkin
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 'all'; then

Re: [mp2] handler running twice for one request

2003-02-19 Thread Nick Tonkin
On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: Hi all, I my httpd.conf I have: Location / AddType text/html .html PerlAccessHandler WM::Auth::Access /Location And in my handler I have: package WM::Auth::Access; use strict; use

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 Nick Tonkin
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 this already, just

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 this

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Randy Kobes
On Thu, 20 Feb 2003, Stas Bekman wrote: Steve Baldwin wrote: Unfortunately, I get the same (as far as I can see) result. Here's my latest perl -V ... You mean, you get a bunch of unresolved symbols, right? from your previous report: Now, make (of mod-perl) gives the following

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

2003-02-19 Thread Stas Bekman
User NICKNick Tonkin wrote: Following the docs at http://perl.apache.org/docs/2.0/devel/porting/porting.html#Adjusting_Modules_to_Work_with_1_0_and_2_0_ I am trying to test $mod_perl::VERSION but it is undef. Any clues? use mod_perl; ?

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:

Re: Building mod-perl 2 for cygwin

2003-02-19 Thread Stas Bekman
I have cygwin (for the tools), but haven't looked into compiling Apache/mod_perl with it. From what I understand, cygwin provides a C library (a dll) to get a unix-style API; this is to be contrasted with MinGW, which produces programs that don't rely on 3rd party dlls. cygwin, as well as having

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 a

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