Re: Perl not allowed here

2004-08-05 Thread Evert Meulie
-Original Message- From: Stas Bekman <[EMAIL PROTECTED]> To: Evert Meulie <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED], "Philippe M. Chiasson" <[EMAIL PROTECTED]> Date: Thu, 05 Aug 2004 11:06:28 -0700 Subject: Re: Perl not allowed here > Evert Meulie wrote: > > Hi everyone! > > > > When tryi

Multiple Aliases in Perl Section name virtual hosts

2004-08-05 Thread Kim Goldov
I'm using a section to configure name virtual hosts. I would like to have multiple aliases defined in each virtual host, however I was only able to define a single alias in the virtual host. This works ... $VirtualHost{"_default_"} = [ {

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 th

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 posti

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 thi

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 > /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/A

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: http://perl.apache.org/maillist/email-etiquette

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, in .htaccess is missing http://marc.theaimsgroup.com/?t=10537008871&r=1&w=2 Owner: geoff sections in .htaccess would be executed on every request, so that's quite DWIM. In oth

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 and

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: Perl not allowed here

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

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 sections changed in mp2? For now, sections are still limited to server scope. I have a patch to open that up to OR_ALL ( .htaccess and all) but I am not sure of exactly what behaviour a user would expect

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 Stas Bekman
Philippe M. Chiasson wrote: [...] Philippe, has the allowed placement of sections changed in mp2? For now, sections are still limited to server scope. I have a patch to open that up to OR_ALL ( .htaccess and all) but I am not sure of exactly what behaviour a user would expect from a section in a

Re: Perl not allowed here

2004-08-05 Thread Stas Bekman
Geoffrey Young wrote: out of the container and it will work. Philippe, has the allowed placement of sections changed in mp2? yes. http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105370080722053&w=2 but I'm sure that we have talked about it since then as well. Hmm, I think we ought to star

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 1.3.31

Re: Perl not allowed here

2004-08-05 Thread Philippe M. Chiasson
Geoffrey Young wrote: out of the container and it will work. Philippe, has the allowed placement of sections changed in mp2? yes. http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105370080722053&w=2 but I'm sure that we have talked about it since then as well. It does make a lot of sense

Re: Perl not allowed here

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

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 o

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 AddHandler perl-script .cgi Perl

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

Re: Perl not allowed here

2004-08-05 Thread Stas Bekman
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 AddHandler perl-script .cgi PerlHandler HTML::Mason

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

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 mod_p

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

Re: AuthenNTLM and login

2004-08-05 Thread Shannon Eric Peevey
Quoting Arnaud Blancher <[EMAIL PROTECTED]>: Hi! I am assuming that the inability to access Active Directory is a network issue, right? not really. the cluster is to heavy loaded (!!!) and he refuse new connection. clearly the AD don't work as is suppose to do ... but i cant change anything els

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 recompi

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 Des

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/, $class->http_hea

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 AddHandler perl-script .cgi PerlHandler HTML::Mason require "/usr/lo

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: Apache/2.0.