cannot run make test

2002-04-23 Thread Carlo Giomini
Hallo everybody, I made an installation of mod_perl with apxs and everything seems to work fairly well BUT I cannot run make test! When I try to, I get the message Can't make test with apxs (yet). Any suggestions? Thanks in advance, Carlo.

Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Einar Roheim
Hi everyone, I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do the make test I'm getting this in the end before it aborts: make[1]: Leaving directory `/usr/local/src/mod_perl-1.26/Util' cp t/conf/mod_perl_srm.conf t/conf/srm.conf ../apache_1.3.24/src/httpd -f

RE: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Nicolai Schlenzig (DXD)
Hi Einar, I just did some digging in my mailbox and found the following: (btw - mod_perl 1.26 has been around for some time, and it looks like you're using it - but not in your spec. list) // Nicolai --- OLD MESSAGE --- Hi, For what it's worth it, I always have to add use URI::URL; to the

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Stas Bekman
Einar Roheim wrote: Hi everyone, I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do the make test I'm getting this in the end before it aborts: You have a mismatching version of LWP and URI packages, update both and the problem should disappear. make[1]: Leaving

SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Sören Stuckenbrock
Hi, thanks to all of your help, I found a way to achieve the following goal: - have a couple of instances of a web application running under the same (name based) virtual host, under different Locations each using a different configuration than the others - having backwards compatibillity

two distinct installations

2002-04-23 Thread Carlo Giomini
Hi there! I wonder if it is possible to have two distinct installations of mod_perl on the same machine, let's say one made as root user and another as normal user. Thanks for helping, Carlo.

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Einar Roheim
At 17:00 4/23/2002 +0800, you wrote: Einar Roheim wrote: Hi everyone, I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do the make test I'm getting this in the end before it aborts: You have a mismatching version of LWP and URI packages, update both and the problem should

Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Stas Bekman
Sören Stuckenbrock wrote: Hi, thanks to all of your help, I found a way to achieve the following goal: Nice, but see below somescript.pl --- #!/usr/bin/perl -wT use strict; use lib .; use lib_netContest; use DBI; use CGI (qw:standard:); use vars

Re: two distinct installations

2002-04-23 Thread Stas Bekman
Carlo Giomini wrote: Hi there! I wonder if it is possible to have two distinct installations of mod_perl on the same machine, let's say one made as root user and another as normal user. Of course, see the installation chapter in the guide.

Re: two distinct installations

2002-04-23 Thread Enrico Sorcinelli
On Tue, 23 Apr 2002 12:28:24 +0200 (MEST) Carlo Giomini [EMAIL PROTECTED] wrote: Hi there! I wonder if it is possible to have two distinct installations of mod_perl on the same machine, let's say one made as root user and another as normal user. Thanks for helping, Carlo. You

Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Sören Stuckenbrock
Nice, but see below somescript.pl --- #!/usr/bin/perl -wT use strict; use lib .; use lib_netContest; use DBI; use CGI (qw:standard:); use vars qw(%c $config_module $db_handle); my $r = shift; if (defined $r $r-dir_config('ConfigMod')) {

Global (to page) variables under Apache::ASP

2002-04-23 Thread Simon Oliver
In my httpd.conf I have set 'PerlSetVar UseStrict 1' because I always use sctict anyway and I see in the docs that this might become the default too. So I always declare my variables with my(). Suppose I have a master ASP file that includes other scripts and these other scripts need access to

Re: Global (to page) variables under Apache::ASP

2002-04-23 Thread Joshua Chamas
Simon Oliver wrote: The Apache::ASP mailing list is at [EMAIL PROTECTED] ... please subscribe to it to post questions on this topic by emailing [EMAIL PROTECTED] Apache::ASP dev issues are officially off-topic on the mod_perl list now. More below on this issue... In my httpd.conf I have set

Re: two distinct installations

2002-04-23 Thread Ade Olonoh
I wonder if it is possible to have two distinct installations of mod_perl on the same machine, let's say one made as root user and another as normal user. Also see Stas' article, Installing mod_perl without superuser privileges, at http://www.perl.com/pub/a/2002/04/10/mod_perl.html --Ade.

Re: SOLVED: Problem using Perl Modules under mod_perl

2002-04-23 Thread Stas Bekman
Sören Stuckenbrock wrote: Nice, but see below somescript.pl --- #!/usr/bin/perl -wT use strict; use lib .; use lib_netContest; use DBI; use CGI (qw:standard:); use vars qw(%c $config_module $db_handle); my $r = shift; if (defined $r $r-dir_config('ConfigMod'))

[SOT] C/F77 Wrapper for Perl

2002-04-23 Thread Vuillemot, Ward W
Since I have been unable to use Open3 effectively on my Win32, I am looking for some alternatives. BTW, one of my goals is to make the scripts relatively platform independent -- and therefore I am leaving Open3 and its IPC::Run cousin behind. I have a set of f77 libraries that I know can be

Re: framesets/AuthCookie question

2002-04-23 Thread Michael Schout
On Mon, 22 Apr 2002, Fran Fabrizio wrote: It seems that even if AuthCookie returns a FORBIDDEN with a custom_error page set, the $r-notes() don't propagate. Does apache consider the display of the custom_response page to be a completely new request? Its a subrequest, so the notes shold be

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Silvio Wanka
Stas Bekman wrote: Einar Roheim wrote: At 17:00 4/23/2002 +0800, you wrote: Einar Roheim wrote: Hi everyone, I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do the make test I'm getting this in the end before it aborts: You have a mismatching version

Re: Q A: $r-custom_response

2002-04-23 Thread Perrin Harkins
Issac Goldstand wrote: Reposting a question (and the answer) that geoff and I discussed in the IRC room, as I think it's worthwhile to mention... I had the following line of code (actually many of the sort): $r-custom_response(FORBIDDEN=File size exceeds quota.); And kept getting errors

Re: Q A: $r-custom_response

2002-04-23 Thread Per Einar Ellefsen
At 19:29 23.04.2002, Issac Goldstand wrote: Reposting a question (and the answer) that geoff and I discussed in the IRC room, as I think it's worthwhile to mention... I had the following line of code (actually many of the sort): $r-custom_response(FORBIDDEN=File size exceeds quota.); And kept

Re: Q A: $r-custom_response

2002-04-23 Thread Per Einar Ellefsen
At 19:38 23.04.2002, Perrin Harkins wrote: Issac Goldstand wrote: Reposting a question (and the answer) that geoff and I discussed in the IRC room, as I think it's worthwhile to mention... I had the following line of code (actually many of the sort): $r-custom_response(FORBIDDEN=File size

Re: startup for Apache 2.0/mod_perl 1.99

2002-04-23 Thread Chuck Goehring
Stas, First, there was no mod_perl 1.2x installed on this machine. I didn't think I would need it, but I'm guessing. This was as you say. The Location /perl didn't aggree with the registry loaded in startup. That fixed that problem but now it complains about CGI.pm as follows: [Tue Apr 23

Re: Q A: $r-custom_response

2002-04-23 Thread Perrin Harkins
Per Einar Ellefsen wrote: Well, this one is exported by Apache::Constants, so if you don't want to do $FORBIDDEN = FORBIDDEN; somewhere at the top of your code, you're bound to continue using constants, right? That's still safer. I used the constants pragma on a big project and I saw

hub.org virtual machine for mod_perl?

2002-04-23 Thread Barry Hoggard
Does anyone of the list have experience with using hub.org's virtual machine setup for a mod_perl site? I'm doing a proof of concept site for a new business that needs to be hosted somewhere other than my machine at home for people to bang on, and I don't want to pay for a dedicated server

Re: Q A: $r-custom_response

2002-04-23 Thread Geoffrey Young
Can anyone tell us if the Apache::Constants all just standard HTTP response codes, or are some of them actually Apache-specific? there are over 90 constants in Apache::Constants, which range from HTTP constants (like FORBIDDEN for 403) to Apache specific ones (like DECLINED for -1 and

Re: Q A: $r-custom_response

2002-04-23 Thread Per Einar Ellefsen
At 19:51 23.04.2002, Perrin Harkins wrote: Per Einar Ellefsen wrote: Well, this one is exported by Apache::Constants, so if you don't want to do $FORBIDDEN = FORBIDDEN; somewhere at the top of your code, you're bound to continue using constants, right? That's still safer. I used the constants

Re: startup for Apache 2.0/mod_perl 1.99

2002-04-23 Thread Stas Bekman
Chuck Goehring wrote: Stas, First, there was no mod_perl 1.2x installed on this machine. I didn't think I would need it, but I'm guessing. This was as you say. The Location /perl didn't aggree with the registry loaded in startup. That fixed that problem but now it complains about

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Stas Bekman
Silvio Wanka wrote: BTW, have you tried the latest mod_perl CVS? I think your problem has been solved long time ago. Sometimes I forget that others don't use the cvs version all the time :) From Changes: =item 1.26_01-dev ... require URI::URL to work with newer libwww-perl ... Stas

Re: startup for Apache 2.0/mod_perl 1.99

2002-04-23 Thread Chuck Goehring
You're right. I'm getting impatient and jumping ahead. Pasted directly from your post, restarted Apache and get same thing [Tue Apr 23 12:16:54 2002] [notice] Parent: Created child process 2560 [Tue Apr 23 12:16:58 2002] [notice] Child 2560: Child process is running [Tue Apr 23 12:16:58 2002]

Re: Q A: $r-custom_response

2002-04-23 Thread Perrin Harkins
Per Einar Ellefsen wrote: I suppose Apache::Constants could have been extended to return globals if requested... But is there really any gain in that? Only in that people will not get tripped up by the possible bugs that using subroutines as constants causes. I guess Apache::Constants is

Re: Q A: $r-custom_response

2002-04-23 Thread Per Einar Ellefsen
At 22:04 23.04.2002, Perrin Harkins wrote: Per Einar Ellefsen wrote: I suppose Apache::Constants could have been extended to return globals if requested... But is there really any gain in that? Only in that people will not get tripped up by the possible bugs that using subroutines as constants

Applications/Products compatible with/running under mod_perl?

2002-04-23 Thread Per Einar Ellefsen
Hi, For the mod_perl site I've started collecting different applications which run under mod_perl (either required or under Apache::Registry as a complement to CGI). I was thinking more in the way of things like content management systems, entire applications, we already know about all our

Re: [SOT] C/F77 Wrapper for Perl

2002-04-23 Thread Ged Haywood
Hi there, On Tue, 23 Apr 2002, Vuillemot, Ward W wrote: Is it possible to write a simple C wrapper to the f77 library, and then link to Perl as a module? Have a look at Inline.pm. 73, Ged.

Re: two distinct installations

2002-04-23 Thread Andrew McNaughton
Certainly. You can run as many separate apache instances as you want, each with it's own configuration. These cannot share the same IP/port directly, but If you want these to share the same server name space then you can set up an apache instance which proxies requests to different servers as

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Andrew McNaughton
On Tue, 23 Apr 2002, Silvio Wanka wrote: Stas Bekman wrote: Einar Roheim wrote: At 17:00 4/23/2002 +0800, you wrote: Einar Roheim wrote: Hi everyone, I have a problem installing mod_perl 1.26 with Apache 1.3.24. When I do the make test I'm getting this in the end

Re: startup for Apache 2.0/mod_perl 1.99

2002-04-23 Thread Chuck Goehring
Stas/Everyone, To follow up. With the starting and stopping of Apache and looking at the log, I see entries like Child 1032: Waiting for 250 worker threads to exit. I was gettiong Low virtual memory errors from Win/2000, so I added ThreadsPerChild 24 to the http.conf. This makes it stop

Re: startup for Apache 2.0/mod_perl 1.99

2002-04-23 Thread Stas Bekman
Chuck Goehring wrote: You're right. I'm getting impatient and jumping ahead. Pasted directly from your post, restarted Apache and get same thing [Tue Apr 23 12:16:54 2002] [notice] Parent: Created child process 2560 [Tue Apr 23 12:16:58 2002] [notice] Child 2560: Child process is running

Re: startup for Apache 2.0/mod_perl 1.99

2002-04-23 Thread Stas Bekman
Chuck Goehring wrote: Stas/Everyone, To follow up. With the starting and stopping of Apache and looking at the log, I see entries like Child 1032: Waiting for 250 worker threads to exit. I was gettiong Low virtual memory errors from Win/2000, so I added ThreadsPerChild 24 to the