[mp2]mason ROCKS under mp2

2002-12-07 Thread Beau E. Cox
Hello folks - I know this is slightly OT, but over the past week I have implemented mason under ap2/mp2 on my test server. The mini-HOWTO below also addresses some problems I had installing mp2. I have been successful in getting mason up and running under Apache2 and mod_perl 2. It was

[mp2] failed test building mp2

2003-01-17 Thread Nick Tonkin
Hey all, Building the latest mp2 I get: protocol/echo_filter.ok Failed Test Stat Wstat Total Fail Failed List of Failed --- apr/threadmutex.t3

[mp2]

2003-01-30 Thread Lee Goddard
ve($r->pool, 'conf'); This is Apache 2.0.43, and Perl 5.8.0. One thing - does having Apache::compat mean that all code *has* to be mp1, or can it be half-way between the two...? I can't find any pods for mp2 modules. Thanks in anticipation lee -BEGIN PGP SI

Re: [mp2] failed test building mp2

2003-01-17 Thread Nick Tonkin
On Fri, 17 Jan 2003, Nick Tonkin wrote: > > Hey all, > > Building the latest mp2 I get: > protocol/echo_filter.ok > Failed Test Stat Wstat Total Fail Fail

Re: [mp2] failed test building mp2

2003-01-18 Thread Stas Bekman
Nick Tonkin wrote: On Fri, 17 Jan 2003, Nick Tonkin wrote: Hey all, Building the latest mp2 I get: protocol/echo_filter.ok Failed Test Stat Wstat Total Fail Failed List of Failed

Re: [mp2] failed test building mp2

2003-01-18 Thread Nick Tonkin
On Sun, 19 Jan 2003, Stas Bekman wrote: > Nick Tonkin wrote: > > On Fri, 17 Jan 2003, Nick Tonkin wrote: > > > > > >>Hey all, > >> > >>Building the latest mp2 I get: > >>protocol/echo_filter.ok

Re: [mp2] failed test building mp2

2003-01-19 Thread Stas Bekman
Nick Tonkin wrote: On Sun, 19 Jan 2003, Stas Bekman wrote: Nick Tonkin wrote: On Fri, 17 Jan 2003, Nick Tonkin wrote: Hey all, Building the latest mp2 I get: protocol/echo_filter.ok Failed Test Stat Wstat Total Fail Failed

Weird: [mp2]

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

[mp2]Cookies?

2002-12-05 Thread Beau E. Cox
g an already answered question, sorry. Aloha => Beau. PS: Is it time for a separate mp2 list? It sure would help in searching the archives if you are specifically looking for an mp2 issue.

[MP2] Perl_Tstack_sp_ptr

2003-01-24 Thread Xiaodong Shen
Hi all, Does anyone have experience of seeing from error_log: /usr/local/apache2/bin/httpd: error while loading shared libraries: /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/Apache/Const/Const.so: undefined symbol: Perl_Tstack_sp_ptr I am playing with 2.0.44 (-with-mpm=prefork) with m

Re: [mp2]

2003-01-30 Thread Randy Kobes
On Thu, 30 Jan 2003, Lee Goddard wrote: > I do not understand this, please help: > isn't this a message generated by > something other than me? > > Error message: > > Can't locate object method "server_root_relative" via > package "Apache" at C:/Perl/site/lib/Apache/compa

[mp2] POD

2003-01-30 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Is the pod missing from the mp2 beta, or is it just mine? I've looked on perdoc.org, but nothing there for Apache::Const. I'm trying to find a replacement for Apache::Request::params() on mp2, and struggling furiously since Apache::comp

Re: [mp2]

2003-01-30 Thread Stas Bekman
Lee Goddard wrote: Can't locate object method "server_root_relative" via package "Apache" at C:/Perl/site/lib/Apache/compat.pm line 68. Also it may mean that you haven't loaded Apache::ServerUtil, in which this method resides.

Re: [mp2]

2003-01-30 Thread Stas Bekman
Stas Bekman wrote: Lee Goddard wrote: Can't locate object method "server_root_relative" via package "Apache" at C:/Perl/site/lib/Apache/compat.pm line 68. Also it may mean that you haven't loaded Apache::ServerUtil, in which this method resides. no, no, Apache::compat loads i

[mp2] warnings

2003-02-19 Thread Nick Tonkin
Is it possible to combine the recommended syntax: use warnings FATAL => 'all', NONFATAL => 'redefine'; with the ability to turn warnings on in httpd.conf with PerlSwitches -w? - nick Nick Tonkin {|8^)>

[mp2] Documentation

2003-03-10 Thread beau
Hi - I'm getting frustrated. I'm trying to parse the incoming uri (url) in mod_perl 2, and I can't seem to be able to find documentation. For example, Nick gave me the following snippet of code last week: my $uri = APR::URI->parse($r->pool, $r->construct_url); $uri->scheme('https'); my

MP2 Redirection

2003-07-21 Thread Jamie Krasnoo
What would be the best way to redirect in MP2? How would I set the Location in the header? something like this? my $r = Apache->request; # docs say $r->header_out and family are now deceased. $r->headers_out(Location => '/some/place.html'); return Apache::DECLINED; Jamie Krasnoo

[mp2] Newbie: How to get CGI params using mp2?

2003-06-06 Thread Jack Nerad
How the heck do you get the parameters from a request? I don't see any methods that look right. I'd expect them to be on Apache::RequestRec, but I can't see anything that is close to matching my idea of what it should be named. Help? -- Jack Nerad

Re: Weird: [mp2]

2002-08-28 Thread Doug MacEachern
On Mon, 19 Aug 2002, Alessandro Forghieri wrote: > Greetings. > This happens on win32. > > If the following is inserted in httpd.conf: > > > > > I get, reasonbly enough: > > Syntax error on line 961 of D:/Apache2/conf/httpd.conf: > sections not yet implemented in modperl-2.0 > > Tough, bu

Re: [mp2]Cookies?

2002-12-05 Thread Randy Kobes
On Thu, 5 Dec 2002, Beau E. Cox wrote: > Hi - > > I can't get cookies to work on AP/MP 2. Even in > compat mode. I'm not sure if this is a mod_perl, > apache, or a my stupidity question, but I'm posting it here > anyway. Are you trying a module, or a home-grown solution? -- best regards, randy

RE: [mp2]Cookies?

2002-12-05 Thread Beau E. Cox
e/_small t _est.pm - not found. I have the newbie blues Aloha => Beau. -Original Message- From: Randy Kobes [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 2:40 PM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2]Cookies? On Thu, 5 Dec 2002, Beau E. Cox wrote: >

Re: [mp2]Cookies?

2002-12-05 Thread Stas Bekman
Beau E. Cox wrote: Hi Randy - Sorry, I should have been more explicit. I am trying to use Apache::Cookie. AFAIK, Apache::Cookie won't work under mp2, because Apache::Request wasn't ported yet. Trying using CGI::Cookie for now, as it has the same API and implemented in pure perl. N

RE: [mp2]Cookies?

2002-12-05 Thread Beau E. Cox
Hi Stas - OK! Will do. Aloha => Beau. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 4:07 PM To: Beau E. Cox Cc: Randy Kobes; Modperl Subject: Re: [mp2]Cookies? Beau E. Cox wrote: > Hi Randy - > > Sorry, I should ha

[mp2] Byterange requests

2002-12-14 Thread Nathan Byrd
Hi all, I'm currently attempting to upgrade Apache::PAR to work with mod_perl 2, and one of the issues I am running into is with byterange requests: With mod_perl 1.x, it was possible (using Apache::File) to use byteranges with requests using $r->each_byterange and $r->set_byterange (a good examp

[mp2] input filter

2003-01-07 Thread Steve
**Hi again. I just noticed my last post regarding this was html formatted, so I'm going to try again. Sorry about that everybody! ** I'm having some trouble configuring an input filter.. I'm using Apache 2.0.43, mod_perl 1.99_08-dev and perl 5.8.0. In httpd.conf, I just did this inside a Pe

[mp2] e-Commerce

2003-01-20 Thread Udlei Nattis
hi, sorry my english ;) modperl 2 with apache 2 thread is stable enought for start one big project of ecommerce? []s nattis

Re: [MP2] Perl_Tstack_sp_ptr

2003-01-24 Thread Stas Bekman
Xiaodong Shen wrote: Hi all, Does anyone have experience of seeing from error_log: /usr/local/apache2/bin/httpd: error while loading shared libraries: /usr/local/lib/perl5/site_perl/5.8.0/i686-linux/auto/Apache/Const/Const.so: undefined symbol: Perl_Tstack_sp_ptr I am playing with 2.0.44 (-wi

Re: [MP2] Perl_Tstack_sp_ptr

2003-01-24 Thread Xiaodong Shen
Thanks for the reply. Several things to clear: 1. I have successfully passed the "make && make test && make install" phase. 2. I have moved into "Server configuration" phase and was doing the "mod_perl rocks" thingy, where the error happens. 3. Before seeing your reply, I already found a solut

MP2 and Databases

2003-01-25 Thread Philip M. Gollucci
What is the status of DBI, Apache::DBI and mod_perl-1.99_09-dev, and Apache 2.1.0-dev ? I saw Ask released .89 a few weeks ago to CPAN. I just installed it, but I'm getting errors when trying to load it in the startup.pl [Sat Jan 25 03:15:26 2003] [error] Can't locate Apache.pm in @INC (@INC

Re: [MP2] Perl_Tstack_sp_ptr

2003-01-25 Thread Stas Bekman
Xiaodong Shen wrote: Thanks for the reply. Several things to clear: 1. I have successfully passed the "make && make test && make install" phase. 2. I have moved into "Server configuration" phase and was doing the "mod_perl rocks" thingy, where the error happens. 3. Before seeing your reply,

Re: [MP2] Perl_Tstack_sp_ptr

2003-01-27 Thread Xiaodong Shen
During the weekend I had no connectivity due to the worm, sorry. Okay I tried remove my old perl installation and compiled a new one (5.8.0), and then installed a new mod_perl 1.99_08, and got the exactly same error. So I don't think it was because of my Perl installation as I suspected before.

Re: [MP2] Perl_Tstack_sp_ptr

2003-01-27 Thread Stas Bekman
Xiaodong Shen wrote: During the weekend I had no connectivity due to the worm, sorry. Okay I tried remove my old perl installation and compiled a new one (5.8.0), and then installed a new mod_perl 1.99_08, and got the exactly same error. So I don't think it was because of my Perl installation a

[mp2] no PerlVINC?

2003-01-29 Thread Christopher Hicks
Is there any equivalent to PerlVINC under mod_perl 2? -- "Never offend people with style when you can offend them with substance." - Sam Brown

Re[2]: [mp2]

2003-01-30 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi Randy, On Thursday, January 30, 2003 at 6:26:09 PM, you wrote: RK> On Thu, 30 Jan 2003, Lee Goddard wrote: >> I do not understand this, please help: >> isn't this a message generated by >> something other than me? >> >> Error message: >> >

Re: [mp2] POD

2003-01-30 Thread Randy Kobes
On Thu, 30 Jan 2003, Lee Goddard wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: MD5 > > > Is the pod missing from the mp2 beta, or is it just mine? > > I've looked on perdoc.org, but nothing there for Apache::Const. > > I'm trying to find a replaceme

Re: [mp2] POD

2003-01-30 Thread Stas Bekman
Thanks again, Randy. I did see those docs, but was confused by the prose. If you find things unclear, please post a patch to improve them. Thanks. __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.o

[mp2] Apache::Request

2003-01-31 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Does anyone know when this module might be released? tia lee Lee Goddard mailto:[EMAIL PROTECTED] "What do people like to drink here, then?" The landlord looked sideways at his

Re: [mp2] warnings

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: Is it possible to combine the recommended syntax: use warnings FATAL => 'all', NONFATAL => 'redefine'; with the ability to turn warnings on in httpd.conf with PerlSwitches -w? -w is the same as: use warnings 'all'; then you can override things in your code using the warn

Re: [mp2] warnings

2003-02-19 Thread Nick Tonkin
On Thu, 20 Feb 2003, Stas Bekman wrote: > Nick Tonkin wrote: > > Is it possible to combine the recommended syntax: > > > > use warnings FATAL => 'all', NONFATAL => 'redefine'; > > > > with the ability to turn warnings on in httpd.conf with PerlSwitches -w? > > -w is the same as: > >use warning

Re: [mp2] warnings

2003-02-19 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 20 Feb 2003, Stas Bekman wrote: Nick Tonkin wrote: Is it possible to combine the recommended syntax: use warnings FATAL => 'all', NONFATAL => 'redefine'; with the ability to turn warnings on in httpd.conf with PerlSwitches -w? -w is the same as: use warnings

Re: [mp2] Documentation

2003-03-10 Thread Nick Tonkin
ding in mod_perl from v. 1.0. The docs work best when you know what you want to do and how to do it in mp1, and can then find the equivalent for mp2. > code. I wanted to examine APR, for example, > and look what I found: > > package APR; > use DynaLoader (); > our $VERSION = '

Re: [mp2] Documentation

2003-03-10 Thread beau
documentation... > > > > [...] > > > Yep, not very enlightening if you're not a C guru. > > - nick > > -- > Thanks, Nick... Who would of thought of looking at the mp1 -> mp2 documentaion to find mp2 docs? It's a good start for me; and your right, starting with mp2 IS the hard way :) Aloha => Beau;

Re: [mp2] Documentation

2003-03-10 Thread Stas Bekman
beta 2.0 version, and don't have a grounding in mod_perl from v. 1.0. The docs work best when you know what you want to do and how to do it in mp1, and can then find the equivalent for mp2. Currently, your best source of information: 1) for APIs that haven't changed since mp1 (or have r

Re: [mp2] Documentation

2003-03-10 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I'll get this project out the door, and start with an 'all-you-ever-wanted-to-know-about-uri-parsing' tutorial. Give me 1 week. Great Beau! Though make sure that you write it in pod, and not HTML ;) If you have any questions regarding format please ask (preferrably on the

Re: [mp2] Documentation

2003-03-10 Thread beau
On 11 Mar 2003 at 10:24, Stas Bekman wrote: > Nick Tonkin wrote: > > On Mon, 10 Mar 2003 [EMAIL PROTECTED] wrote: > > > > > >>Hi - > >> > >>I'm getting frustrated. I'm trying to parse the > >>incoming uri (url) in mod_perl 2, and I can't > >>seem to be able to find documentation. For > >>example

[mp2] upload file

2003-04-01 Thread Udlei Nattis
hi, i have problem for upload files testing use CGI and CGI::Simple look file.pm: $cgi = CGI->new; $r->print($cgi->param("test")." xxx "); file .html when i add enctype param("test") return undefined value and wne i remove enctype param("test") print "abcdef" my question is: why when

[mp2] UN-bug!

2003-05-31 Thread Beau E. Cox
Hi Stas and guys - As of Sat May 31 08:38:30 UTC 2003 1) I have the following installed and tested: Server Version: Apache/2.0.46 (Unix) mod_perl/1.99_10-dev (CVS) Perl/v5.8.0 mod_ssl/2.0.46 OpenSSL/0.9.7b 2) Everything is looking good! 3) GOOD JOB FOLKS... Aloha => Beau;

[mp2] Apache::DBI

2003-07-14 Thread Beau E. Cox
Hi - I am running Apache 2.0.47/mod_perl 1.99-dev-10-cvs on SuSE Linux 8.2. I am trying to install and use Apache::DBI. 1) I get this error in make test: is($thread_1, $thread_2, "got the same connection both times"); It seems the I do not get the same connection. 2) The documentation sa

[mp2] Apache::Cookie

2003-07-15 Thread Swen Schillig
Are there any plans to have Apache::Cookie or does mp2 code always has to use CGI if there are cookies needed ? Swen

[mp2] BEGIN blocks

2003-07-19 Thread Issac Goldstand
I seem to be having some trouble that I think may be associated with BEGIN blocks. To make sure I'm not jumping at shadows, could someone tell me what the expected behavior of BEGIN blocks in use()d modules is? How many times are they called (during server startup and/or restarts of any type) and

Re: MP2 variables

2003-07-20 Thread Stas Bekman
[redirecting to the modperl list, as others will want to know the answer as well] Hi Jamie, What is the MP2 equivalent of $Apache::ServerStarting? I'm trying to get Apache::DBI working with MP2. % grep Server::Starting todo/* todo/deprecated_features.txt:- $Apache::Server::Starting, $A

Re: MP2 Redirection

2003-07-22 Thread Stas Bekman
Jamie Krasnoo wrote: What would be the best way to redirect in MP2? How would I set the Location in the header? not any different from mp1 (assuming that you have been working with mp1 before, but the mp1 documentation and literature can be used as a reference for most mp2 things). something

Re: MP2 Redirection

2003-07-22 Thread Jamie Krasnoo
On Tue, 2003-07-22 at 02:50, Stas Bekman wrote: > Jamie Krasnoo wrote: > > What would be the best way to redirect in MP2? How would I set the > > Location in the header? > > not any different from mp1 (assuming that you have been working with mp1 > before, but t

Re: MP2 Redirection

2003-07-22 Thread Jamie Krasnoo
On Tue, 2003-07-22 at 03:10, Jamie Krasnoo wrote: > On Tue, 2003-07-22 at 02:50, Stas Bekman wrote: > > Jamie Krasnoo wrote: > > > What would be the best way to redirect in MP2? How would I set the > > > Location in the header? > > > > not any differen

Re: MP2 Redirection

2003-07-22 Thread Stas Bekman
? The example in the Eagle book uses REDIRECT within a handler for redirection. So I'm assuming it goes the same for MP2. You are right, one returns OK if using parsed headers, as in this example: sub handler { my $r = shift; my $location = $r->args; print "Location: $loca

MP2 Apache Settings

2003-09-18 Thread Chris Faust
If I have MP2 modules and location names that I want to share to specific IPs or Specific Virtual Hosts is there was way to define it once or does it have to be within each virtual host.   For example:   ServerName domain1.com PerlModule YADDA::Login    SetHandler perl-script    PerlHand

Re: [mp2] Newbie: How to get CGI params using mp2?

2003-06-06 Thread Stas Bekman
Jack Nerad wrote: How the heck do you get the parameters from a request? I don't see any methods that look right. I'd expect them to be on Apache::RequestRec, but I can't see anything that is close to matching my idea of what it should be named. Help? http://perl.apache.org/docs/2.0/user/port

mp2: works with NetBSD? was Re: mp2: anyone got mp2 and apache 2.0.44working on any version of OpenBSD?

2003-02-27 Thread Carl Brewer
As no-one seems interested in this after a few weeks, I'm considering NetBSD ... anyone got mod_perl2 and apache2 running nicely on NetBSD 1.6? That's my next-choice O/S for my application, but I don't have a testbed yet to play with. Carl Carl Brewer wrote: Scanning both dev.modperl and here,

[mp2]make test problems

2002-12-03 Thread Beau E. Cox
NOTE: My name servers have been giving me fits today, so I am resending this problem report; If you have already received it, please forgive me => Beau. -8<-- Start Bug Report 8<-- 1. Problem Description: A. Apache 2.0.43: ./configure --enable-layout=Su

[mp2] Documentation/LogHandler question

2002-12-04 Thread Beau E. Cox
Hi - In: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler, the PerlLogHandler documentation, the configuration file sample setup is given as: SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlLogHandler MyApache::LogPerUser Options +Ex

[mp2] LogHandler configuration problems

2002-12-04 Thread Beau E. Cox
Well Stas, you asked for it... :) -8<-- Start Bug Report 8<-- 1. Problem Description: LogHandler configuration problem. In the tests below I start out with the LogHandler configuration in the documentation and keep 'trimming' it down until it works

[mp2] Stability under Windows?

2002-12-05 Thread Andrzej Jan Taramina
I'm getting a lot of strange errors when trying to run my scripts under mp2. Things like: [Thu Dec 05 15:10:33 2002] [error] 1188: ModPerl::Registry: Goto undefined subroutine &Carp::longmess_heavy at D:/Program Files/Perl/lib/Carp.pm line 98. and this is common: [T

[mp2] make install quirk

2002-12-12 Thread Beau E. Cox
Hi - I am posting this message informally - this is not critical (maybe not worth looking at); during the mp2 make install, mod_perl.so is copied to the apache2 tree (on my system) like this: cp mod_perl.so /usr/local/apache2/modules Now, if you haven't configured any apache2 modules

Re: [mp2] Byterange requests

2002-12-15 Thread Stas Bekman
Nathan Byrd wrote: Hi all, I'm currently attempting to upgrade Apache::PAR to work with mod_perl 2, and one of the issues I am running into is with byterange requests: With mod_perl 1.x, it was possible (using Apache::File) to use byteranges with requests using $r->each_byterange and $r->set_byt

Re: [mp2] input filter

2003-01-08 Thread Stas Bekman
Steve wrote: I'm having some trouble configuring an input filter.. I'm using Apache 2.0.43, mod_perl 1.99_08-dev and perl 5.8.0. In httpd.conf, I just did this inside a PerlInputFilterHandler myApache::Filters::filter_in My code looks something like this: package myApache::Filters; #here

[mp2]make test fails

2003-01-20 Thread stevenglaus
Hi, I'm trying to build mod_perl2 with threads enabled. I recompiled apache with the worker mpm, built mod_perl which seemd to build fine.. however, when I go to 'make test' it gives me the following error: Cannot load /root/cvs/modperl-2.0/src/modules/perl/mod_perl.so into server: /root/cvs

Re: [mp2] e-Commerce

2003-01-20 Thread Ged Haywood
Hi there, On Mon, 20 Jan 2003, Udlei Nattis wrote: > hi, sorry my english ;) It's ok. :) > modperl 2 with apache 2 thread is stable enought for start one big > project of ecommerce? If it were my decision I'd say not yet, use mod_perl 1.27 with Apache 1.3.27. 73, Ged.

Re: [mp2] e-Commerce

2003-01-20 Thread Stas Bekman
Ged Haywood wrote: modperl 2 with apache 2 thread is stable enought for start one big project of ecommerce? If it were my decision I'd say not yet, use mod_perl 1.27 with Apache 1.3.27. It depends on your needs. The majority of the features is there and should work just fine. The stability

Re: [mp2] e-Commerce

2003-01-20 Thread Eric Frazier
Hi, On that note, how about just using Apache2 for the proxy front end, and mod_perl /apache 1.x for the back end? I have wanted to try to avoid the thttpd stuff for images and from what I have heard about apache2 it can handle static pages a lot faster than the 1.x did. Thanks, Eric At 04:0

Re: [mp2] e-Commerce

2003-01-20 Thread Perrin Harkins
Eric Frazier wrote: On that note, how about just using Apache2 for the proxy front end, and mod_perl /apache 1.x for the back end? I have wanted to try to avoid the thttpd stuff for images and from what I have heard about apache2 it can handle static pages a lot faster than the 1.x did. You real

Re: [mp2] e-Commerce

2003-01-20 Thread Stas Bekman
Perrin Harkins wrote: Eric Frazier wrote: On that note, how about just using Apache2 for the proxy front end, and mod_perl /apache 1.x for the back end? I have wanted to try to avoid the thttpd stuff for images and from what I have heard about apache2 it can handle static pages a lot faster than

Re: [mp2] e-Commerce

2003-01-21 Thread Eric Frazier
Hi, You know I was all ready on my dev box to start messing around with apache2, when we had a major evil thing happen on our fancy server. So my dev box had to become our server. And because I have not had any personal experence with apache 2, I converted everthing back to 1.x on the dev box.

Re: [mp2] e-Commerce

2003-01-21 Thread Nick Tonkin
On Tue, 21 Jan 2003, Perrin Harkins wrote: > Eric Frazier wrote: > > On that note, how about just using Apache2 for the proxy front end, and > > mod_perl /apache 1.x for the back end? I have wanted to try to avoid the > > thttpd stuff for images and from what I have heard about apache2 it can > >

Re: [mp2] e-Commerce

2003-01-21 Thread Perrin Harkins
Nick Tonkin wrote: Hmm, I think it all depends on the application. It's true that hardware costs have declined since The Days, but you still don't have unlimited RAM. True, there is an upper limit on per-machine scalability with a multi-process server and thttpd would do better there if the net

Re: [mp2] e-Commerce

2003-01-21 Thread Perrin Harkins
Stas Bekman wrote: Where did you see the benchmarks showing that Apache 2.0 has a better performance than 1.3? All over! Joshua's numbers from this list: http://marc.theaimsgroup.com/?l=apache-modperl&m=103238123915307&w=2 Some good graphs, including thttpd: http://www.zeuscat.com/andrew/work/

Re: [mp2] e-Commerce

2003-01-21 Thread Stas Bekman
Perrin Harkins wrote: Stas Bekman wrote: Where did you see the benchmarks showing that Apache 2.0 has a better performance than 1.3? All over! Thanks Perrin. [...] Some good graphs, including thttpd: http://www.zeuscat.com/andrew/work/aprbench/ It shows that threaded mpm's throughput i

[mp2] Sections, Method handlers

2003-01-27 Thread Randy J. Ray
Any indication of when/if these features will make it to mp2? I've been trying to get my RPC::XML code (specifically the Apache::RPC::Server and Apache::RPC::Status modules) to work under Apache2 and mod_perl2 (thanks to Red Hat for pushing up my timetable on this by installing those).

Re: [mp2] no PerlVINC?

2003-01-29 Thread Stas Bekman
Christopher Hicks wrote: Is there any equivalent to PerlVINC under mod_perl 2? Yes, and it's a built-in solution, rather than a hack: http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_ __ Stas BekmanJAm_p

Re[2]: [mp2] POD

2003-01-30 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Hi Randy, On Thursday, January 30, 2003 at 7:06:12 PM, you wrote: RK> On Thu, 30 Jan 2003, Lee Goddard wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: MD5 >> >> >> Is the pod missing from the mp2 beta, or is i

Re: [mp2] Apache::Request

2003-01-31 Thread Nick Tonkin
On Fri, 31 Jan 2003, Lee Goddard wrote: > Does anyone know when this module might be released? No, no one does. They are working on it. Use CGI.pm instead or revert to mod_perl/apache version 1 until it is done. - nick Nick Tonkin {|8^)>

[mp2] Bug : Weird failures

2003-02-13 Thread Lee Goddard
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 Just for the record, in case it helps someone, I'm getting weird failures, unpredictably -- there's not one thing that seems to set it off: sometimes they happen, sometimes they don't. [Thu Feb 13 10:12:28 2003] [notice] Parent: child process exited w

Apache::DBI on mp2

2003-03-03 Thread Haroon Rafique
My setup is as follows: Apache/2.0.44 (Gentoo/Linux) mod_perl/1.99_08 Perl/v5.8.0 mod_perl was built from CVS. I was interested in getting Apache::DBI to run under mp2. I did read Ask's message at http://marc.theaimsgroup.com/?l=apache-modperl&m=104225578207460&w=2 which l

[MP2] Can't dup STDOUT

2003-03-17 Thread Thomas Hilbig
I need to dup the STDOUT handle for a package (Spreadsheet::WriteExcel) to work properly under mod_perl. The code below from the MP1 User documentation now gives an error in MP2: use constant IS_MODPERL => $ENV{MOD_PERL}; if (IS_MODPERL) { tie *OUT, 'Apache';

[mp2] Post-request operations

2003-03-20 Thread Kurt George Gjerde
Hi, In mod_perl 2 under MPM (win32), is there a way of returning the request to the client (browser) and having the script continue doing other (time consuming) operations (without the client having to wait). Under mp1/linux I guess I could fork but how can I do this on win32? A typical example

Re: [mp2] upload file

2003-04-01 Thread Stas Bekman
enctype param("test") print "abcdef" my question is: why when i add enctype, param("test") return undefined value? Does the same program works with mp1? Do you use the latest mp2 (at least 1.99_08), better cvs? The 2.0 test suite has an upload file test (CGI.pm) and

Re: [mp2] upload file

2003-04-02 Thread Udlei Nattis
Hi Stas I used of examples these 2 archives but dont functioned in mp1 i dont have problem my mp2 version is last cvs version thanks nattis Stas Bekman wrote: Udlei Nattis wrote: hi, i have problem for upload files testing use CGI and CGI::Simple look file.pm: $cgi = CGI->new;

Re: [mp2] upload file

2003-04-02 Thread Stas Bekman
I used of examples these 2 archives but dont functioned in mp1 i dont have problem my mp2 version is last cvs version So you have a problem with mp2. Did you upgrade your CGI.pm to the latest version? __ Stas Bekman

Re: [mp2] upload file

2003-04-03 Thread Udlei Nattis
fix problem i need change SetHandler modperl to perl-script, now upload is ok why this happens? i need add any options in SetHandler modperl to use upload ? thanks nattis Stas Bekman wrote: I used of examples these 2 archives but dont functioned in mp1 i dont have problem my mp2 version is

[mp2] make test errors

2003-04-03 Thread Paul Simon
Is this something to be worried about? Or can I continue with make install? Please help. System: FreeBSD 4.8-RELEASE Server version: Apache/2.0.45 I received the following summary from make test: Failed Test Stat Wstat Total Fail Failed List of Failed

Re: [mp2] upload file

2003-04-03 Thread Stas Bekman
Udlei Nattis wrote: fix problem i need change SetHandler modperl to perl-script, now upload is ok why this happens? i need add any options in SetHandler modperl to use upload ? Please read: http://perl.apache.org/docs/2.0/user/config/config.html#C_SetHandler_ Do you say that you have no errors l

[mp2] httpd.conf block problems

2003-05-29 Thread Warren Young
I've got a working Apache::ASP application that has been used mainly on more-or-less stock Red Hat Linux 7.2 and 7.3 systems (Apache 1.3.2x, mod_perl 1.26, perl 5.6.1). I tried moving it to a Red Hat Linux 9 system (Apache 2.0.40, mod_perl 1.99_07, perl 5.8.0) and it failed. The bugs I'm seein

mp2: apache 2.0.46 works

2003-05-29 Thread Carl Brewer
I've just spun up apache 2.0.46 on Solaris 8, and the install of mod_perl 1.99_09 seems fine so far. Carl

[mp2] Authentication/Authorization modules

2003-04-06 Thread Michael L. Artz
application (database backed, user preferences, etc), and would like to use Apache2/mp2 for it. I came to find that AuthCookie doesn't seem to be ported to mp2, so my origianal authorization plan went up in shambles, not to mention all of the other stuff that I have read (eagle book, develo

[MP2 BUG] PerlPassEnv issues

2003-07-07 Thread Sreeji K Das
Looks like PerlSetEnv's are not propagated as expected. I've pasted my original mail to the list. However, after going through the code, it looks like scfg->PassEnv is not synced with Perl's %ENV structure. Following is a simpler example: $ cat /tmp/test.conf ; PerlPassEnv MY_TEST_VAR print "M

Re: [mp2] Apache::DBI

2003-07-14 Thread Haroon Rafique
On Yesterday at 10:01pm, BEC=>Beau E. Cox <[EMAIL PROTECTED]> wrote: BEC> BEC>Should I use 'connect' in my startup.pl? BEC> BEC> Have any of you sucessfully installed and used ADBI under BEC> mod_perl 2? Any advice on what I'm missing? BEC> Hi Beau, I'm using apache 2.0.46, mod_perl 1.990

Re: [mp2] Apache::DBI

2003-07-14 Thread Beau E. Cox
- Original Message - From: "Haroon Rafique" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 14, 2003 3:23 AM Subject: Re: [mp2] Apache::DBI > On Yesterday at 10:01pm, BEC=>Beau E. Cox <[EMAIL PROTECTED]> wrote: > > BEC> > B

Re: [mp2] Apache::DBI

2003-07-15 Thread Stas Bekman
Beau E. Cox wrote: Hi - I am running Apache 2.0.47/mod_perl 1.99-dev-10-cvs on SuSE Linux 8.2. I am trying to install and use Apache::DBI. [...] 2) The documentation says to configure mod_perl with: perl Makefile.PL PERL_CHILD_INIT=1 PERL_AUTHEN=1 PERL_AUTHZ=1 PERL_CLEANUP=1

Re: [mp2] Apache::Cookie

2003-07-15 Thread Stas Bekman
Swen Schillig wrote: Are there any plans to have Apache::Cookie or does mp2 code always has to use CGI if there are cookies needed ? Apache::Cookie is a part of the libapreq-2 library. It'll become available as soon as Apache::Request is released. You are more then welcome to join the lib

Re: [mp2] Apache::Cookie

2003-07-15 Thread Perrin Harkins
On Tue, 2003-07-15 at 06:43, Swen Schillig wrote: > Are there any plans to have Apache::Cookie or does > mp2 code always has to use CGI if there are cookies needed ? Apache::Cookie is part of libapreq (along with Apache::Request), so you should follow libapreq development for this. - Perrin

Re: [mp2] Apache::Cookie

2003-07-15 Thread Joe Schaefer
Perrin Harkins <[EMAIL PROTECTED]> writes: > On Tue, 2003-07-15 at 06:43, Swen Schillig wrote: > > Are there any plans to have Apache::Cookie or does > > mp2 code always has to use CGI if there are cookies needed ? > > Apache::Cookie is part of libapreq (along wi

  1   2   3   4   5   6   7   >