Re: Fastcgi on win [Was: Re: Documentation patch for mod_perl?]

2001-11-19 Thread Alessandro Forghieri
Greetings. So mod_perl has a slight speed edge over fastcgi (which is overthrottled a little with four servers). Really? Maybe this is because multi-process handling isn't as fast on NT. Does it change much if you vary the number of servers? Well, I am getting a little wary of the numbers I

Documentation patch for mod_perl//win32

2001-11-20 Thread Alessandro Forghieri
Greetings. This documentationpatchaddressesthe single thread snafu on Win32. Comments, corrections and additions (even subtractions) welcome. (Also on the hot topic of the day: where in the doc does this fit?) Cheers, alf modperl_multithread_NT.pod Description: Binary data

Fastcgi on win [Was: Re: Documentation patch for mod_perl?]

2001-11-20 Thread Alessandro Forghieri
Greetings. [following Stas' suggestion I have subscribed to the list and posted the patch there, so I am crossposting] Do you know if FastCGI is multi-threaded or multi-process on Windows? Multi process. Each process speaks tomod_fastcgi over a named pipe. As you mention, this (being

Re: Documentation patch for mod_perl//win32

2001-11-20 Thread Alessandro Forghieri
Greetings. [...] This documentation patch addresses the single thread snafu on Win32. Comments, corrections and additions (even subtractions) welcome. (Also on the hot topic of the day: where in the doc does this fit?) Nice, but please repost it inlined. Otherwise people won't be able to

Re: Documentation patch for mod_perl//win32

2001-11-21 Thread Alessandro Forghieri
Greetings. Randy That's great that you thought this out and put it together; Randy a few comments below appear below ... Thanks for playing editor - and I am accepting all of your suggestions, with the possible exception of what follows. Randy I got confused about which is the first and which

RE: Documentation patch for mod_perl//win32

2001-11-23 Thread Alessandro Forghieri
Greetings. Stas so if Alessandro or Randy volunteers (please say so), please Stas ask winXX Stas users to send you more winXX specific notes/scenarios and you (the Stas volunteer) will be the official maintainer of the doc and send me the Stas new doc and then the future patches. For 2.0 you

Re: Apache - mod_perl - Windows

2001-11-27 Thread Alessandro Forghieri
Greetings. You may be in need of AddModule mod_perl.c After the ClearModuleList somewhere around line 207 of httpd.conf as distributed. (What's ClearModuleList's used for anyway? I never really understood it - but then again, I never really read its documentation...) As for mod_perl on win32,

OT: Converting a ASP request to CGI?

2001-11-28 Thread Alessandro Forghieri
Greetings. I realize this is an Off-Topic with serious flamage potential, so I'll keep it very short. Is anybody aware of any module capable of doing for the ASP environment what Apache::Registry does for mod_perl? (i.e. making an asp request look and feel as if it were an old plain cgi-bin)

Re: OT: Converting a ASP request to CGI?

2001-11-30 Thread Alessandro Forghieri
Greetings. Thanks to all the respondednts - as it looks my original message was too terse, I'll try to clarify a bit. I have an app that already works on Apache CGI.pm, Apache::Registry and FastCGI. It also works under PWS/IIS as CGI - and I'll be testing it under AS's perlex shortly. At

Problems with 1.99_01 build when ap_prefix has blanks (Win32)

2002-04-11 Thread Alessandro Forghieri
Greetings. I found that building with MP_AP_PREFIX=D:\Program Files\Apache2 is problematic. The build process chokes first in TestConfigParse: D:\Program Files\Apache2/bin/Apache.exe -l failed: Bad file descriptor at Apache-Test/lib/Apache/TestConfig.pm line 777, DATA chunk 1. If this is

Several problems for mod_perl2 in compatibility mode (Win32)

2002-04-13 Thread Alessandro Forghieri
Greetings. This is relative to several problems on Win32/NTSP6/AP build 630. Short executive report: nothing seems to work :-) -8-- Start Bug Report 8-- 1. Problem Description: I have tried these with both the released mod_perl *AND* the latest CVS

mod_perl failing on win32 (CVS snapshots)

2002-05-07 Thread Alessandro Forghieri
Greetings. Compiling and running the snapshots for BOTH apache and modperl (May 6th snapshots) on windowsNT sp6, I observe the following: i) the tests punt on conftree.t (it goes on forever) ii) installing and testing in a registry situation the request succeeds on the first invocation, but

RE: mod_perl2: nmake test crashes apache

2002-05-10 Thread Alessandro Forghieri
Greetings. [...] Apache builds and installs fine, mod_perl2 builds fine but running `nmake test` crashes the instance of apache2 created by the TEST script. [...] I have exactly the same behavior with May 6 snapshots (Visual Studio 6SP3, WinNT SP6) - quoting myself from a different thread:

RE: mod_perl2: nmake test crashes apache

2002-05-10 Thread Alessandro Forghieri
Greetings, [...] Hi about combinatorial I think not only compat2 is involved here in test suites I have ran [...] Wow. this is great detective work you have done Pascal. I have tried to go deeper and actually debug the thing. However, while I can get a debug version of apache I am stumped

RE: mod_perl2: nmake test crashes apache

2002-05-13 Thread Alessandro Forghieri
Greetings Doug McEachern wrote: [...] avoiding use of PL_sv_no has cured all segfaults on win32. the fixes have been checked into cvs. there are still a few tests that fail, but none that trigger a segfault. With the latest nodperl CVS snapshot the tally of the tests is much improved.

mod_perl2: nmake test crashes apache

2002-05-13 Thread Alessandro Forghieri
Greetings. Well now... There is a residual crash at dir_config.t (WinNT SP6 - MS Visual Studio 6 SP3). all tests pass for me with both 5.6.1 and bleedperl, httpd-2.0 from cvs on xp with msdev 6.0. i also tried 5.6.1 with no debug symbols, still all pass. would help to know which

RE: mod_perl2: nmake test crashes apache

2002-05-14 Thread Alessandro Forghieri
Greetings. A few updates... i) modperl-2.0_20020514042137.tar.gz Now tests cleanly on: WinNT SP6/MSDEV 6 SP3/AS perl 5.6.1 b630/httpd-2.0_20020506161223.tar.gz ii) It does however crash on my testbed app (which runs as standard CGI, FastCGI and moperl1). The crash itself appears to

RE: mod_perl2: nmake test crashes apache

2002-05-21 Thread Alessandro Forghieri
Greetings. [...] do you have a simple test case to reproduce the problem? No, I do not. I hope I will be able get/build/test the latest CVS this week, and perhaps I'll be able to work on making the problem reproducible/debuggable which may well mean I'll have to build a debugperl. Some

RE: [2.x] test fails on win32 version 1.99_02

2002-06-03 Thread Alessandro Forghieri
reetings. ok to try with perl 5.8.0 but i have many modules installed with ppm from http://theoryx5.uwinnipeg.ca/ppmpackages and those of activestate perl. I am able to install ppm package to a perl 5.8.0 i compile myself , without activestate ppm ? for instance modules that

Failure on modules and core tests for 5.8.0RC1

2002-06-04 Thread Alessandro Forghieri
[ Recipients of this message are either subscribers to the modperl or perlporters lists, or listed as authors of theinvolved modules] -Original Message- From: [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 9:38 PM To: Alessandro Forghieri Cc: [EMAIL PROTECTED] Subject

modperl2 crashes under load (Win32)

2002-06-04 Thread Alessandro Forghieri
Greetings. I am hitting a complex Registry application with a number of almost simultaneous, long running requests (WinNT SP6 - VC++6 SP3 - perl5.8.0 RC1 - latest dev snapshot for modperl - httpd-2.0_20020530041218.tar.gz for apache - everything built debug - a few date.t tests fail on nmake

Thread bug in 5.8RC1 Win32

2002-06-14 Thread Alessandro Forghieri
Greetings. Running NT4SP6, 5.8RC1 compiled debug. The following session: D:\Apache2perl -d -e 42 Loading DB routines from perl5db.pl version 1.19 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(-e:1): 42 DB1 ;{use threads;my

Re: Thread bug in 5.8RC1 Win32

2002-06-15 Thread Alessandro Forghieri
Greetings. On Fri, Jun 14, 2002 at 12:44:50PM +0200, Alessandro Forghieri wrote: Running NT4SP6, 5.8RC1 compiled debug. The following session: D:\Apache2perl -d -e 42 DB1 ;{use threads;my $var=1;threads-create(sub{$var++})-join();} Crashes the intepreter, in perl.c: [...] Sorry

RE: Apache vulnerability: update of uwinnipeg win32 packages planned?

2002-06-25 Thread Alessandro Forghieri
Greetings. Randy Kobes wrote: [...] There is still some demand for the all-inclusive apache/perl/mod_perl perl-win32-bin-x.x.exe binary packages we have, Uhm, yes I would be in that audience :) but I wasn't planning on making a new one of those until perl-5.8 is officially released.

RE: mod_perl 1.99 on Win2k with Apache2

2002-07-01 Thread Alessandro Forghieri
Greetings. Nigel Peck wrote: Thanks for the help. When did I reply to you privately? This was just to reiterate for everybody to keep the threads on the list. Since many times those who respond to the questions, suffer afterwards because people decide that the person answering the

RE: [win32] new perl/apache/mod_perl binary

2002-07-08 Thread Alessandro Forghieri
Greetings [...] there's a better way - if anyone's familiar with this, could you drop me a mine, privately? Thanks. ^ Are you sure this is *really* what you want? : (Sorry I could not resist). Cheers, alf

RE: List files from a share of a windows client

2002-07-18 Thread Alessandro Forghieri
Greetings. on my machine: C:\ perl - e 42 -d Default die handler restored. Loading DB routines from perl5db.pl version 1.07 Editor support available. Enter h or `h h' for help, or `perldoc perldebug' for more help. main::(-e:1): 42 DB1 opendir(DIR,'//webteam/') || warn($!) No such file

RE: while - modperl 2.0/Apache 2.0

2002-07-18 Thread Alessandro Forghieri
Greetings. I have observed the same behavior (on win32). Scripts that are invoked from the same browser through the same URL appear to bind to the same perl thread and are therefore serialized. Changing the URL appears to bind the request to a different thread. (My observation regarded access

perl-5.8-win32-bin.tar.gz missing files

2002-07-19 Thread Alessandro Forghieri
Greetings. I just installed the great perl-5.8-win32-bin.tar.gz package that Randy Kobes mantains on uwinnipeg. Two folders are missing from site/lib/Win32Api : Registry/cRegistry.pc File/cFile.pc This is an installation bug of libwin32 - the files are generated but not installed, so they

Mention LoadFile in the mp2 docs?

2002-07-19 Thread Alessandro Forghieri
Greetings. From: http://perl.apache.org/docs/2.0/user/config/config.html#Enabling_mod_perl [...] Win32 users need to make sure that the path to the Perl binary (e.g., C:\Perl\bin) is in the PATH environment variable. [...] Is it not true that the directive LoadFile C:\foo\perl58.dll makes path

Weird: Perl/Perl [mp2]

2002-08-19 Thread Alessandro Forghieri
Greetings. This happens on win32. If the following is inserted in httpd.conf: Perl /Perl I get, reasonbly enough: Syntax error on line 961 of D:/Apache2/conf/httpd.conf: Perl sections not yet implemented in modperl-2.0 Tough, but fair. But why should the following: IfDefine fubar Perl

RE: HTML::Template

2002-08-20 Thread Alessandro Forghieri
Greetings. On Mon, 19 Aug 2002, Pierre Vaudrey wrote: with the following starnge error (The Title is displayed but not the vignette.gif file) [Mon Aug 19 07:22:24 2002] [error] Missing right curly or square bracket at /Library/WebServer/Documents/perl/vignette.gif line 1, at

RE: Mod_perl Application Development

2002-08-20 Thread Alessandro Forghieri
Greetings. People often seem to get bent out of shape about putting a few Location directives in httpd.conf, I suspect that it may be due to the intimidating length that httpd.conf has reached in these times. I found that separating customizations in breakaway 'Include'd .conf files - and

RE: [OT] Apache::Session and Win32

2002-08-27 Thread Alessandro Forghieri
Greetings. [...] Rob Bloodgood wrote: I tried Apache::Session::File, but after MUCH hair-pulling it seems that the Lock mechanism is COMPLETELY hosed (things are either never locked or never unlocked, or something...) AFAIK, Win32 has no flock. I once ran into the same

RE: [OT] use http-equiv to refresh the page

2002-11-06 Thread Alessandro Forghieri
Greetings. [...] [snip] CS:The W3C's stance on refresh is the same for the header as well as the CS:meta tag: they did not originally intend for it to be used to specify a CS:*different* URL as a rudimentary method of redirection. [...] i was bitten by this assumption recently. case

RE: Trouble using mod_perl and IE5.x, IE6.x

2002-11-07 Thread Alessandro Forghieri
Greetings. Now this is OT'ish but... print(titleTITRE DE LA PAGE\/title); Why are you escaping all your '/'s? There is no need to do it. Cheers, alf P.S: I strongly suspect that the sleep call and its position (what if you move it above the /body tag?) are to blame for the behavior you see

RE: perl's system() w/ apache under win2k

2003-01-08 Thread Alessandro Forghieri
Greetings. -Original Message- [...] Apparently permissions on winNT is something unexpected and new for those who are used to older win32 systems. Moreover, error_log usually tells what the exact problem is when the code is written properly to report errors (e.g., checking the

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

RE: [OT?] Win32 permissions puzzler

2003-02-20 Thread Alessandro Forghieri
Greetings. I am afraid this is rapidly becoming less than relevant, however.. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] [...] You have to declare variables as globals before using them. Agreed Even the imported ones. That's a pure perl issue. Please proceed

RE: Content-Type not working on MSIE

2003-03-20 Thread Alessandro Forghieri
Greetings. [...] The issue: The simplest script I can't think of doesn't work. my $r = shift; $r-send_http_header(text/plain); $r-print(hello world); When I try to access the script, my MSIE 6.0 prompts for download when it should simple print the hello world string.