ANNOUNCE: mod_perl guide ver. 1.31

2001-11-15 Thread Stas Bekman
A new version of the mod_perl guide is now available: - online: o HTML http://perl.apache.org/guide/ o PDF http://perl.apache.org/guide/mod_perl_guide.pdf.gz (665pp) - the source at CPAN: file: $CPAN/authors/id/S/ST/STAS/Apache-mod_perl_guide-1.31.tar.gz size: 472182 bytes md5:

What do these messages mean on startup

2001-11-15 Thread John Michael
I am getting these error messages when I restart apache on a new mod perlinstall.Starting httpd: Subroutine export redefined at/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line 35.Subroutine name redefined at/usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line

Re: mod_perl make test fails

2001-11-15 Thread Marcus Taylor
we had this same problem. make test expects 3 pre-loaded perl modules to be present in order to execute. One of them is LWP::UserAgent (part of libwww-perl) The problem you specify only occurs if you have installed a version of libwww-perl that is 5.53 (probably v. 5.6) If you don't want to

Re: What do these messages mean on startup

2001-11-15 Thread Stas Bekman
John Michael wrote: I am getting these error messages when I restart apache on a new mod perl install. http://perl.apache.org/guide/troubleshooting.html#Constant_subroutine_XXX_redefine Something forces the code reloading since Apache restarts itself on the start. make sure to run the

Apache::DBI usage

2001-11-15 Thread Andrei A. Voropaev
Hi! Apache::DBI is great module of course because it makes things transparent. But it also makes things confusing. In few cases we have to open and close connection to database on each request (in particular Oracle on NT gives a lot of trouble with cached connections). Currently in such cases

clear-1zlib-1sh-utils-2textutils-2crypt-1setuptermcap-20010825-1distributedxp_kircherlambda_calculusgroff-1textutils-2jbigkit-1byacc

2001-11-15 Thread ken.coar

Ken Coar, virus

2001-11-15 Thread Matt Sergeant
Please do not open the last email sent by Ken Coar. It contains the Nimda virus. He has been notified. Matt. -- :-Get a smart net/:- _ This message has been checked for all known viruses by Star Internet delivered through the

RE: Apache::DBI usage

2001-11-15 Thread Geoffrey Young
-Original Message- From: Andrei A. Voropaev [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 6:44 AM To: [EMAIL PROTECTED] Subject: Apache::DBI usage Hi! Apache::DBI is great module of course because it makes things transparent. But it also makes things

RE: mod_perl.so not built after building mod_perl

2001-11-15 Thread Rafiq Ismail
On Wed, 14 Nov 2001, Manjrekar Pratiksha wrote: [Wed Nov 14 21:14:05 2001] [error] [Wed Nov 14 21:14:05 2001] null: Undefined subroutine Apache::ROOT::vswap1_2e1_2e5::index_2eeml::my_start called at /apps/vswap1.1.5/index.eml line 13. I'd guess that you may want to load the module which

Re: [challenge] new mod_perl site

2001-11-15 Thread Robin Berjon
Guys, there have been several prior fits of new website creation threads on this list. And it always seems to bring out the worst out of this list (remember the first time, when someone said Stas was a nazi for trying to make the site better ?). This thread hasn't gotten into the worst bits

RE: [challenge] new mod_perl site

2001-11-15 Thread Matt Sergeant
-Original Message- From: Robin Berjon [mailto:[EMAIL PROTECTED]] there have been several prior fits of new website creation threads on this list. And it always seems to bring out the worst out of this list (remember the first time, when someone said Stas was a nazi for trying

Re: mod_perl make test fails

2001-11-15 Thread Ged Haywood
Hi there, On Wed, 14 Nov 2001 [EMAIL PROTECTED] wrote: I'm trying to compile apache_1.3.22+mod_perl-1.26 on a redhat 7.1 linux box. I replace the original gcc 2.xx with gcc version 3.0.2 and perl 5.6.0 with perl 5.6.1 both compiled in the same box. Get rid of 5.6.0. It's probably not

RE: [challenge] new mod_perl site

2001-11-15 Thread Joe Breeden
I disagree with you both. --Joe Breeden --- If it compiles - Ship It! -Original Message- From: Matt Sergeant [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 7:56 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE:

CVS

2001-11-15 Thread Jonathan M. Hollin
Hi people, I am currently developing a content management system under mod_perl, with data stored in an RDBMS (MySQL at present, but Oracle on the production server). I would like to add version control to published documents (read pages) and wondered if anyone has any experience of this who

Re: CVS

2001-11-15 Thread Ken Y. Clark
On Thu, 15 Nov 2001, Jonathan M. Hollin wrote: Date: Thu, 15 Nov 2001 14:31:57 - From: Jonathan M. Hollin [EMAIL PROTECTED] To: mod_perl Mailing List [EMAIL PROTECTED] Subject: CVS Hi people, I am currently developing a content management system under mod_perl, with data stored in

Re: CVS

2001-11-15 Thread Francesco Pasqualini
it seems that also webdav will have versioning features www.webdav.org Francesco - Original Message - From: Jonathan M. Hollin [EMAIL PROTECTED] To: mod_perl Mailing List [EMAIL PROTECTED] Sent: Thursday, November 15, 2001 3:31 PM Subject: CVS Hi people, I am currently developing

RE: CVS

2001-11-15 Thread Sheth, Niraj
Ken, I am using Rcs.pm in production. Could you give me more details about the flaws you have found and if possible could you post the patch(or code change)? Thanks, -Niraj -Original Message- From: Ken Y. Clark [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 9:43 AM To:

Re: Ken Coar, virus

2001-11-15 Thread The Doctor
On Thu, Nov 15, 2001 at 12:04:18PM -, Matt Sergeant wrote: Please do not open the last email sent by Ken Coar. It contains the Nimda virus. He has been notified. Thnkfull it only affects Windows and not Unix. Matt. -- :-Get a smart net/:-

RE: CVS

2001-11-15 Thread Ken Y. Clark
On Thu, 15 Nov 2001, Sheth, Niraj wrote: Date: Thu, 15 Nov 2001 10:05:29 -0500 From: Sheth, Niraj [EMAIL PROTECTED] To: 'Ken Y. Clark' [EMAIL PROTECTED] Cc: mod_perl Mailing List [EMAIL PROTECTED] Subject: RE: CVS Ken, I am using Rcs.pm in production. Could you give me more details

[OT] Re: CVS

2001-11-15 Thread Nick Tonkin
I assume you are not expecting much to change in the database, and that you are therefore mostly doing selects, so why not continue to use MySQL? If you do, you can use MySQL's Update Log to take snapshots of the database whenever you want (and store them somewhere with date-appropriate names)

[Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Scott Chapman
I'm very interested in making a modular site design but haven't found the tools yet to allow this with the twist I'm looking for. Say I have a page that encapsulates some functionality, such as sending a form then validating the contents that are returned. I'd call that PageB. PageB could be

Re: [Maybe OT] Modular design - calling pages like a subroutine witha twist.

2001-11-15 Thread Matt Sergeant
On Thu, 15 Nov 2001, Scott Chapman wrote: 1) is this possible? I expect that someone would have already implemented this if it were possible because it is so much like regular modular programming with abstraction layers. Sure it's possible. Have a look at SmartWorker, it may be close to

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Kyle Dawkins
Scott There is a system that exists that is very similar to what you describe. It's called WebObjects and was developed by NeXT... it's now offered by Apple. The latest release is (unfortunately) Java only but previous releases (still available) were (Objective) C. Once you scratch the surface

RE: Re: mod_perl make test fails

2001-11-15 Thread mod
Thanks Very Much! That works Jose Albert we had this same problem. make test expects 3 pre-loaded perl modules to be present in order to execute. One of them is LWP::UserAgent (part of libwww-perl) The problem you specify only occurs if you have installed a version of libwww-perl that is

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-15 Thread Jon Robison
Jonathon, I am doing exactly this also. What works is this: Get a copy of Writing Apache modules with perl and C and read it. The most relevant section for you is the Ticket system he describes. (I believe the section header says something about Cookies, but you'll know you have the right one

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Rob Nagler
When PageA calls PageB, as soon as PageB finishes presenting the form it doesn't stop but drops out the bottom and returns immediately to PageA. In bOP http://www.bivio.net/hm/download-bOP we use FormContext to solve this problem. PageB requires context and bOP knows how to return to PageA

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Joachim Zobel
At 08:42 15.11.01 -0800, you wrote: Say I have a page that encapsulates some functionality, such as sending a form then validating the contents that are returned. I'd call that PageB. PageB could be more than one page or a page calling itself, etc. When PageA calls PageB, as soon as PageB

Cookie authentication

2001-11-15 Thread John Michael
This may seem off subject but, If you bare with me, I don't think it is. I am interested in using the cookie based system referred to in the programming the apache api book but oftend wonder this. Can you count on everyone to use cookies. It seems that some surfers are afraid of cookes are

RE: Cookie authentication

2001-11-15 Thread Charles Day
John, We rolled out cookie authentication (Auth::Cookie)for our secured support website around Jan 2001and we never received one complaint (and our people complain about everything:) It seems you can't do anything online without having cookies turned on ( yahoo, bankone, huntington,

Re: Cookie authentication

2001-11-15 Thread Ken Y. Clark
On Thu, 15 Nov 2001, John Michael wrote: Date: Thu, 15 Nov 2001 14:02:04 -0600 From: John Michael [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Cookie authentication This may seem off subject but, If you bare with me, I don't think it is. I am interested in using the cookie based

Re: Cookie authentication

2001-11-15 Thread Andrew Ho
Hello, CDIt seems you can't do anything online without having cookies turned on CD(yahoo, bankone, huntington, ebay, etrade ) and I think internet users CDhave accepted this. Not those clever European governmental folks, though. http://www.vnunet.com/News/107416

Re: Cookie authentication

2001-11-15 Thread Perrin Harkins
I seem to recall at least one major Apache module having an option to use URL-based authentication instead of cookie-based... but I can't seem to find that from a cursory perusal of CPAN. Apache::ASP does this. - Perrin

RE: Cookie authentication

2001-11-15 Thread Joe Breeden
Before I read an article about the European Union POV of cookies I hadn't really thought of myself as someone who would violate basic human rights. I guess this goes to show that one has to be ever vigilant in today's society. The resolution banning cookies did not pass the EU Parliament, this

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Rob Nagler
In my opinion, trying to abstract that stuff away in a web application causes to more problems than it solves, especially where back buttons and bookmarks are concerned. We haven't found this to be the case. Our servers are sessionless, so bookmarks work fine. Back buttons aren't any more

Re: Cookie authentication

2001-11-15 Thread peter
On 15 Nov 2001, at 12:16, Andrew Ho wrote: CDIt seems you can't do anything online without having cookies turned on CD(yahoo, bankone, huntington, ebay, etrade ) and I think internet users CDhave accepted this. Methinks there is a need to write a transparent store cookies on URL module. I

RE: Cookie authentication

2001-11-15 Thread Joe Breeden
Here we insert a session id on all requests, with Apache::Session whether the request is for a static or dynamic page and have a TransHandler to strip the session id and insert it into %ENV which seems to work for us. With this approach we don't necessarily need cookies, but verifying if a user

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Perrin Harkins
In my opinion, trying to abstract that stuff away in a web application causes to more problems than it solves, especially where back buttons and bookmarks are concerned. We haven't found this to be the case. Our servers are sessionless, so bookmarks work fine. These are different

no_cache()

2001-11-15 Thread Rasoul Hajikhani
Hello folks, I am using $request_object-no_cache(1) with no success. Isn't it supported any more? Can some one shed some light on this for me... #set the content type $big_r-content_type('text/html'); $big_r-no_cache(1); # some more code return OK;

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-15 Thread fliptop
Jon Robison wrote: The most relevant section for you is the Ticket system he describes. (I believe the section header says something about Cookies, but you'll know you have the right one when you see TicketAccess.pm, TicketTools.pm, and TicketMaster.pm. One nice addition is the ability to

Re: Cookie authentication

2001-11-15 Thread Perrin Harkins
Here we insert a session id on all requests, with Apache::Session whether the request is for a static or dynamic page and have a TransHandler to strip the session id and insert it into %ENV which seems to work for us. With this approach we don't necessarily need cookies, but verifying if a

RE: Doing Authorization using mod_perl from a programmers perspective

2001-11-15 Thread Joe Breeden
How does this work in an environment with two (or more) computers with the exact same configuration, and probably the same HTTP_USER_AGENT behind the same proxy? How do you know that one user isn't using another users session? --Joe Breeden --- If it

Re: Cookie authentication

2001-11-15 Thread Bill Moseley
At 02:02 PM 11/15/01 -0600, John Michael wrote: This may seem off subject but, If you bare with me, I don't think it is. I am interested in using the cookie based system referred to in the programming the apache api book but oftend wonder this. Can you count on everyone to use cookies.

Re: Cookie authentication

2001-11-15 Thread John Michael
Thanks. I did not know that you could verify that someone has cookies turned on. Can you point me to where i can find out how to do this? Is there a variable that you can check? JM - Original Message - From: [EMAIL PROTECTED] To: mod_perl List [EMAIL PROTECTED] Sent: Thursday,

RE: Cookie authentication

2001-11-15 Thread Joe Breeden
See it always pays to read the Eagle book several times - in this case pages 213-218. Excuse my question if it seems dumb I'm not 100% on NAT and proxies, but the Eagle book says to 1 Choose a secret, 2 Select fields to be user for the MAC. It also suggests to use the remote IP address as one of

Re: Cookie authentication

2001-11-15 Thread Bill Moseley
At 05:20 PM 11/15/01 -0600, John Michael wrote: Thanks. I did not know that you could verify that someone has cookies turned on. Can you point me to where i can find out how to do this? Is there a variable that you can check? You set a cookie and do a redirect (if you need the cookie right

Re: Cookie authentication

2001-11-15 Thread Perrin Harkins
Excuse my question if it seems dumb I'm not 100% on NAT and proxies, but the Eagle book says to 1 Choose a secret, 2 Select fields to be user for the MAC. It also suggests to use the remote IP address as one of those fields. 3 Compute the MAC via a MD5 hash and store in the clients browser.

Re: Cookie authentication

2001-11-15 Thread David Young
I don't think that really solves Joe's proposed problem. Joe wants to ensure that the cookie is coming back from the client he sent it to. If you generate a unique ID, someone can sniff the network, grab the cookie, and send it as their own. The Eagle book does half-heartedly suggest IP address

Re: Cookie authentication

2001-11-15 Thread Tom Bille
The aim of the cookie example in the eagle book is a bit more than just authentication. Most of the answers here to use a session ID here are quite right for most purposes, but the code in the eagle book offers to store information on the client side with the security of a signature. Its NOT

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Rob Nagler
Perrin Harkins writes: breaks caused by the request model of HTTP, and that's what I was commenting on. You're talking about a way to preserve data across multiple page requests. FormContext maintains an HTTP call stack, which holds the parameters (form, query, path_info) and return address

[JOB WANTED] looking for a job!

2001-11-15 Thread brian moseley
hiya. after almost a year off for good behavior in australia, i'm moving back to the states. anybody want to hire me? :) preferred locations include the sf bay area (but not the south bay), portland, and seattle. i'd also consider vancouver and toronto, visa issues permitting. i'm looking for

Re: no_cache()

2001-11-15 Thread Ask Bjoern Hansen
On Thu, 15 Nov 2001, Rasoul Hajikhani wrote: I am using $request_object-no_cache(1) with no success. Isn't it supported any more? Can some one shed some light on this for me... What do you mean with no success? What are you trying to do? -- ask bjoern hansen, http://ask.netcetera.dk/

Re: CVS

2001-11-15 Thread Ask Bjoern Hansen
On Thu, 15 Nov 2001, Jonathan M. Hollin wrote: I am currently developing a content management system under mod_perl, with data stored in an RDBMS (MySQL at present, but Oracle on the production server). I would like to add version control to published documents (read pages) and wondered

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Joshua Chamas
Scott Chapman wrote: I'm very interested in making a modular site design but haven't found the tools yet to allow this with the twist I'm looking for. I'll try to show how Apache::ASP could help here. In Apache::ASP, scripts can be executed as subroutines, even with return values, and I

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Perrin Harkins
I'll try to show how Apache::ASP could help here. In Apache::ASP, scripts can be executed as subroutines, even with return values, and I think this goes to the heart of what you need here. The original e-mail was confusing, but I think what he's after is not so much the ability to call pages

Re: [Maybe OT] Modular design - calling pages like a subroutine with a twist.

2001-11-15 Thread Scott Chapman
On 15 Nov 2001, at 15:33, Perrin Harkins wrote: The original e-mail was confusing, but I think what he's after is not so much the ability to call pages as subs but rather the ability to abstract away the fact that a sub might actually involve multiple user interactions (present a form, get

cvs commit: modperl INSTALL.apaci Changes

2001-11-15 Thread stas
stas01/11/15 00:23:40 Modified:.INSTALL.apaci Changes Log: - explain how perl has to be built in order to use DSO without problems (copied from the guide) based on email from Doug. Revision ChangesPath 1.8 +36 -0 modperl/INSTALL.apaci Index:

cvs commit: modperl-2.0/xs/tables/current/ModPerl FunctionTable.pm

2001-11-15 Thread dougm
dougm 01/11/15 09:52:00 Modified:xs/tables/current/Apache ConstantsTable.pm FunctionTable.pm StructureTable.pm xs/tables/current/ModPerl FunctionTable.pm Log: sync Revision ChangesPath 1.17 +1 -1