[Q maybe OT] forward

2002-04-23 Thread Martin Haase-Thomas
Hi all, maybe this is going to be a little off topic, but it won't take you much time: I am quite certain that recently I saw a server response code concerning forwarding. It may have looked like HTTP_DOCUMENT_FORWARDED or anything alike. Silly enough I can't recall where I saw it (or whether

full-featured online database apps

2002-04-23 Thread Adi Fairbank
Does anyone know of a good customizable, user-friendly, online database application, preferably mod_perl-based? I want to migrate a small Access database to MySQL with a web interface, for added features and room for growth. Has anyone come across a good open source project or toolkit that would

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

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 runn

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 qu

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

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 a

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.

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 a

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 co

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 be

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

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 didn't aggree with the registry > loaded in startup. That fixed that problem but now it complains about > CGI.pm as fol

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

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

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 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 10:10:00 2002] [e

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

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."); >

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 gett

Q & A: $r->custom_response

2002-04-23 Thread Issac Goldstand
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 like: [Tue Apr 23 19:46:14

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

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 b

Apache::RPC::Server basic config problem

2002-04-23 Thread Bill McCabe
Hi All, I'm trying to get a basic test install of Apache::RPC::Server running on my system, but I'm getting an error which I haven't been able to sort out. I've got all the RPC::XML bits installed ok and the server minimally configured according to the synopsis on the man page: In startup.pl: u

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Slava Bizyayev
I had the similar problem on Solaris about a week ago. I just added manually two 'use URI::URL' to the appropriate test sources (sorry, do not remember exactly the module names). I'm fine since then. Best regards, Slava - Original Message - From: "Einar Roheim" <[EMAIL PROTECTED]> To: "S

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 (de

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

Re: Installing mod_perl 1.26 - URI::URL error

2002-04-23 Thread Stas Bekman
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 of LWP

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

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

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 se

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

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

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

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 pr

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.

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 s each using a different configuration than the others - having backwards compatibillity to pure C

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

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 th

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 `pwd`/t/conf

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.