AW: [mp2] Content-Length: 0 / Location:

2004-08-05 Thread Denis Banovic
Hi! I have following config: Apache: PerlResponseHandler ModPerl::Registry AddHandler perl-script .pl Perl script: #!/usr/bin/perl print Location: http://www.mydomain.at\n\n;; Output with headers: HTTP/1.1 200 OK Connection: close Date: Thu, 05 Aug 2004 08:59:59 GMT Server:

Perl not allowed here

2004-08-05 Thread Evert Meulie
Hi everyone! When trying to start Apache I get: Syntax error on line 376 of /usr/local/apache-freeside/conf/Apache-Freeside.conf: Perl not allowed here The relevant paragraph from Apache-Freeside.conf: PerlModule HTML::Mason Directory /usr/local/apache/htdocs/freeside-mason Files ~ (\.cgi)

AW: AW: [mp2] Content-Length: 0 / Location:

2004-08-05 Thread Denis Banovic
Hi Geoffrey! Thanks, that works fine. It would be interresting to know how to do this in mod_perl style! I have a Output object which captures the whole output. On Destroy i'm doing something like this: my @header = split(/\n/,

Re: AW: AW: [mp2] Content-Length: 0 / Location:

2004-08-05 Thread Geoffrey Young
Denis Banovic wrote: Hi Geoffrey! Thanks, that works fine. It would be interresting to know how to do this in mod_perl style! I have a Output object which captures the whole output. sounds like you might want to consider writing a PerlOutputFilterHandler instead. On Destroy i'm

Re: How to use a particular version of perl

2004-08-05 Thread Arnaud Blancher
Thanks Tom and Perrin I ok now I decide mysefl to update to fedora2. And add a perl 5.8.5 in addition of the official perl 5.8.3 from my fedora. in more, i have taken the last apache 2.50 and mod_perl 1.99_14 and reintall all my perl module. Tom Schindl wrote: Hi, Well now you need to

Re: AuthenNTLM and login

2004-08-05 Thread Arnaud Blancher
I don't think that a modification to the module would be the best solution here. It seems that the best solution is going to be at the directory services cluster. If we were to allow the AuthenNTLM module to DECLINE and use another alternative authentication method, then you will need to

Trouble installing Apache::VMonitor

2004-08-05 Thread Nathan L. Kugland
Hi all, I've hit a problem with installing Apache::VMonitor for apache 1.3.31 and mp 1.29: [ error] configure() has failed: find_apache_module: module name argument is required at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache/TestConfig.pm line 702. Some googling of the error

Re: make test hangs

2004-08-05 Thread William Fulmer
I was trying to compile Apache/2.0.50 mod_perl/1.99_14 Perl/v5.6.2 under HP-UX with HP's ANSI C compiler. Everything compiled fine, but during make test, any test that tried to do a stat on __FILE__ would hang. Running the same type of code under perl worked fine. I had previously compiled

Re: make test hangs

2004-08-05 Thread Stas Bekman
William Fulmer wrote: I was trying to compile Apache/2.0.50 mod_perl/1.99_14 Perl/v5.6.2 under HP-UX with HP's ANSI C compiler. Everything compiled fine, but during make test, any test that tried to do a stat on __FILE__ would hang. Running the same type of code under perl worked fine. Was it

Re: Trouble installing Apache::VMonitor

2004-08-05 Thread Stas Bekman
Nathan L. Kugland wrote: Hi all, I've hit a problem with installing Apache::VMonitor for apache 1.3.31 and mp 1.29: [ error] configure() has failed: find_apache_module: module name argument is required at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache/TestConfig.pm line 702.

Re: Perl not allowed here

2004-08-05 Thread Philippe M. Chiasson
Stas Bekman wrote: Evert Meulie wrote: Hi everyone! When trying to start Apache I get: Syntax error on line 376 of /usr/local/apache-freeside/conf/Apache-Freeside.conf: Perl not allowed here The relevant paragraph from Apache-Freeside.conf: PerlModule HTML::Mason Directory

Re: AuthenNTLM and login

2004-08-05 Thread Shannon Eric Peevey
Quoting Arnaud Blancher [EMAIL PROTECTED]: I'll use an openldap server or a local bdd in this case. BUT i wish get the login (and password) without demand again to user (they must log only once on their window) When the AD is down, do you know a way to get login (and pasword) ? Not that I know

Re: Perl not allowed here

2004-08-05 Thread Geoffrey Young
out of the directory container and it will work. Philippe, has the allowed placement of Perl sections changed in mp2? yes. http://marc.theaimsgroup.com/?l=apache-modperl-devm=105370080722053w=2 but I'm sure that we have talked about it since then as well. --Geoff -- Report problems:

Re: Trouble installing Apache::VMonitor

2004-08-05 Thread Nathan L. Kugland
Stas, I'm using Apache::Test 1.12, which appears to be the latest available from CPAN. Force installing appears to have worked, so I'm back in business. Thanks! Cheers, Nathan Stas Bekman wrote: Nathan L. Kugland wrote: Hi all, I've hit a problem with installing Apache::VMonitor for apache

Re: Trouble installing Apache::VMonitor

2004-08-05 Thread Stas Bekman
Nathan L. Kugland wrote: Stas, I'm using Apache::Test 1.12, which appears to be the latest available from CPAN. Force installing appears to have worked, so I'm back in business. Thanks! Good. And I was able to reproduce the problem you have reported. So I'll take care of it. --

Re: Perl not allowed here

2004-08-05 Thread Philippe M. Chiasson
Stas Bekman wrote: Philippe M. Chiasson wrote: [...] Philippe, has the allowed placement of Perl sections changed in mp2? For now, Perl sections are still limited to server scope. I have a patch to open that up to OR_ALL (Location .htaccess and all) but I am not sure of exactly what behaviour a

Re: Perl not allowed here

2004-08-05 Thread Stas Bekman
Philippe M. Chiasson wrote: Hmm, I think we ought to start with: - PerlModule, PerlRequire, Perl in .htaccess is missing http://marc.theaimsgroup.com/?t=10537008871r=1w=2 Owner: geoff Perl sections in .htaccess would be executed on every request, so that's quite DWIM. In other

Re: make test hangs

2004-08-05 Thread William Fulmer
Here's the report: -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** mod_perl version 1.9914 *** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APXS=

RE: ModPerl::Registry: Software caused connection abort

2004-08-05 Thread Jeff Finn
Ok; I have generated a semi-self-contained Apache-test that will produce this error. This only happens on an SSL-enabled server I was't able to get the alarm block working, but we can work around that by starting the test, sleeping for a minute or so, and then in another shell getting the url

Re: Perl not allowed here

2004-08-05 Thread Philippe M. Chiasson
Stas Bekman wrote: Philippe M. Chiasson wrote: Hmm, I think we ought to start with: - PerlModule, PerlRequire, Perl in .htaccess is missing http://marc.theaimsgroup.com/?t=10537008871r=1w=2 Owner: geoff Perl sections in .htaccess would be executed on every request, so that's quite DWIM.

Re: Perl not allowed here

2004-08-05 Thread Geoffrey Young
Philippe M. Chiasson wrote: Unless geoff takes this one, I'll take care of it by tomorrow. it's all yours :) --Geoff -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette:

Re: Trouble installing Apache::VMonitor

2004-08-05 Thread Stefan Cars
On Thu, 5 Aug 2004, Nathan L. Kugland wrote: Hi all, I've hit a problem with installing Apache::VMonitor for apache 1.3.31 and mp 1.29: [ error] configure() has failed: find_apache_module: module name argument is required at

Re: Trouble installing Apache::VMonitor

2004-08-05 Thread Stas Bekman
Stefan Cars wrote: [...] I have come across a problem installing Apache::VMonitor with Apache 2.0.50 and mod_perl-1.99_14. I saw some old posting regarding this which suggested that mod_perl wasn't installed properly. I think it is, it's built from sources and installed properly. What can cause

Re: Trouble installing Apache::VMonitor

2004-08-05 Thread Stefan Cars
Hi! You are correct. I did compile it with MP_APXS and it worked! Thanks! Kind Regards, Stefan Cars On Thu, 5 Aug 2004, Stas Bekman wrote: Stefan Cars wrote: [...] I have come across a problem installing Apache::VMonitor with Apache 2.0.50 and mod_perl-1.99_14. I saw some old posting

Re: make test hangs

2004-08-05 Thread William Fulmer
The first test it hangs on is t/api/request_rec. The line of code it stops on is pretty uncomplicated: my $mtime = (stat __FILE__)[9]; #line 124 adding the -T under perl doesn't change a thing. I'm not quite sure where to remove it for modperl so I haven't tried that. ' I just realized that

cvs commit: modperl-2.0/lib/Apache Build.pm

2004-08-05 Thread stas
stas2004/08/05 17:54:35 Modified:lib/Apache Build.pm Log: improve the diagnostics of failing to find modperl include dir Revision ChangesPath 1.167 +7 -5 modperl-2.0/lib/Apache/Build.pm Index: Build.pm