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

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/g

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 a

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 t

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: 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

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: > > > > > > AddType text/html .html > > PerlAccessHandler WM::Auth::Access > > > > > > And in my handler I have: > > > > package WM::Auth::Access; > > > > use strict

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 warning

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

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: AddType text/html .html PerlAccessHandler WM::Auth::Access 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: [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 warn

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] $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: 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 follo

[mp2] handler running twice for one request

2003-02-19 Thread Nick Tonkin
Hi all, I my httpd.conf I have: AddType text/html .html PerlAccessHandler WM::Auth::Access 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 $s = $r->server;

[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] $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] $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] 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 -- ~

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 it.

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: [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: 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: 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: va

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=

[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: 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

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

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? [

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

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

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 i

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

Re: convert file

2003-02-19 Thread Enrico Sorcinelli
On Wed, 19 Feb 2003 12:01:02 + (GMT) Ged Haywood <[EMAIL PROTECTED]> wrote: > 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 alrea

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 t

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 must

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 messages

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 id

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

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 uname='cygwin_nt-5.1