Re[2]: Apache::Session and blessed references

2000-05-31 Thread serg gajdajchuk

Re[2]: Apache::Session and blessed references

2000-05-31 Thread serg gajdajchuk

Re: Apache::Session and blessed references

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, Dylan Weed wrote: > > I can't seem to get Apache::Session to save the blessedness of an object. > Is this an oversight on my part, a limitation of the module, a limitation > of the database, or an intentional design decision? > > Conceptually, it seems as though an obje

Re: Human readable flatfiles

2000-05-31 Thread Perrin Harkins
> I have a perl (non-modperl) program that needs some input data. Currently, > it reads in the data by "require"ing another perl script that has > statements to set the variables (as global variables). I did it this way > so that I can easily edit the include file if I want to change values, > and

RE: [ANNOUNCE] Apache::Session 1.51

2000-05-31 Thread Robin Berjon
>The test suite is nonportable. You can safely ignore any database-related >problems. > >Suggestions about making portable database test scripts are welcome. I think that DBD::CSV comes standard with DBI, would testing using that work ? -- robin b. In which level of metalanguage are you now s

RE: [ANNOUNCE] Apache::Session 1.51

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, James Xie wrote: > > Thanks. > > I have the storable module installed but I got the following error messages > when I try to run "make test". > > Do I need to create the sessions database manually? I don't see it when I > run the "mysqlshow" command. I have mySQL install

Human readable flatfiles

2000-05-31 Thread Philip Mak
Hello, I would like to ask a question about maintaining human readable flatfiles in general. I have a perl (non-modperl) program that needs some input data. Currently, it reads in the data by "require"ing another perl script that has statements to set the variables (as global variables). I did i

test for mod_perl? for IIS?

2000-05-31 Thread Tom Roche
I'm working on a project that has been running as CGI on Netscape and IIS. We were told to port to mod_perl on Apache. Now it seems we must also run on CGI on IIS and on Apache: three platforms total. Testing $ENV{'GATEWAY_INTERFACE'} allows us to detect CGI, but (correct me if I'm wrong) not whe

Re: Modifying of Apache::Session File

2000-05-31 Thread Differentiated Software Solutions Pvt. Ltd.
Hi, We've solved the problem. I don't know whether this is the way. We untie every time before we tie again and then change the hash. This seems to work. Is this the correct way of modifying the contents. Our session hash is not global. (Hope session object and hash are the same). Session hash i

Re: %udat persistence problem...S.O.S.

2000-05-31 Thread Hello
never mind.   i turned to $req_rec->hostname() and it finally returned what i wanted, 123.99.88.77.   related API document can be found on the book, "Writing Apache modules with Perl and C".   thanks anyway.   huang-ming   - Original Message - From: ___cliff rayman___ <[EMAIL PROTEC

Re: %udat persistence problem...S.O.S.

2000-05-31 Thread ___cliff rayman___
your right - sorry. i hadn't tried it - i was reading Apache Modules and did not read it correctly. i also tried variations of Apache::URI parse to get a hostname, but that did not seem to work on my development server. it is back several revs however. cliff Hello wrote: > thanks a lot. but, do

Re: Urgent: remove password from server cert?

2000-05-31 Thread Winged Wolf
(Ralf: Documentation bug, see below for details) This is addressed in the FAQ: http://www.modssl.org/docs/2.6/ssl_faq.html#ToC31 . "When you can be sure that your server is secure enough you perform two steps: 1. Remove the encryption from the RSA private key (while perserving the original file

Re: %udat persistence problem...S.O.S.

2000-05-31 Thread Hello
thanks a lot.   but, does the_request() contain the host part (ie. 123.99.88.77 for my case) of entered URL? it seems to contain only method, uri, and protocol only.   huang-ming - Original Message - From: ___cliff rayman___ <[EMAIL PROTECTED]> To: Hello! <[EMAIL PROTECTED]>; <[EMAIL

Re: %udat persistence problem...S.O.S.

2000-05-31 Thread ___cliff rayman___
you might want to try: my $therequest=$r->the_request; my($host,$uri) = $therequest=~m!http://([^/]+)(.*))!; unless($host=~m!xyz\.com!){ $r->content_type('text/html'); $r->header_out(Location => "http://www.xyz.com$uri"); return REDIRECT; } you can probably also get mod_rewrite to do th

Apache::Session and blessed references

2000-05-31 Thread Dylan Weed
I can't seem to get Apache::Session to save the blessedness of an object. Is this an oversight on my part, a limitation of the module, a limitation of the database, or an intentional design decision? Conceptually, it seems as though an objects blessing is stored in a different place in the P

Urgent: remove password from server cert?

2000-05-31 Thread Paul
In a sudden (and late) moment of epiphany, I just realized (while writing a note to our CSA to please put the new server's startup in the machines boot cycle) that when we reboot (*every* monday morning in the wee hours) it's not terribly likely that anyone's going to be around to feed the passwor

RE: Re: Mod_perl X cgi Script

2000-05-31 Thread gomes
Hi guy!! Thanks for your reply!! and sorry for my english :) But, i need to run another script (not embperl script).. ex: I have a script (convert.pl) and any requests calling files with extension .com (ex: index.com) my script calling converte.pl. ex: |

Problem running httpd.. mod_perl 1.24 (DSO) and other DSOs

2000-05-31 Thread Tom Gidden
Hi, I'm building a new box (FreeBSD 4.0-RELEASE, w/ 5.005_03) with a largely DSO-driven Apache. I've got mod_perl 1.24 built as a DSO, and it runs fine. [Since this is a production box located about 100 miles from me, maintained over a modem(!) I'd really rather not reinstall Perl.. 5.005_03's

Re: [OT] Bean::*?

2000-05-31 Thread Perrin Harkins
On Wed, 31 May 2000, DeWitt Clinton wrote: > My question is this -- has anyone written an implementation of the > Java Bean standard in Perl? I don't think we need to have a major > debate about the shortcomings of beans on the mod_perl list. But I am > wondering if anyone has pulled this off ye

RE: Re: Mod_perl X cgi Script

2000-05-31 Thread gomes
Hi guy!! Thanks for your reply!! and sorry for my english :) But, i need to run another script (not embperl script).. ex: I have a script (convert.pl) and any requests calling files with extension .com (ex: index.com) my script calling converte.pl Ok ? do you understand me now ? Thanks agai

installation of GTop and Scoreboard

2000-05-31 Thread Alex Algard
We're trying to install Apache::GTop and Apache::Scoreboard. On our machines, we have RedHat 6.2 (2.2.14-5.0), Perl 5.00503, and mod_perl 1.21. We're having installation problems with both modules. Below is output from the installation of both. If you have any suggestions, my coworkers and I would

[OT] Bean::*?

2000-05-31 Thread DeWitt Clinton
Hi all, Okay, this is a rather ridiculous question. I spent the weekend implementing a property based object model in Java. However, after I finished, someone in my company laughingly pointed out that I had just re-invented Java beans. While there were some minor advantages to the model I came

Re: push_handlers weirdness...

2000-05-31 Thread Kip Cranford
On: Wed, 31 May 2000 17:04:05 EDT Geoffrey Young wrote: >hi all... > > I'm not sure if this is related to some of the get/set handler >strangeness that I have been seeing lately (as I try to do some weird >stacked handler acrobatics), or if it's the result of some closure thing >that I real

push_handlers weirdness...

2000-05-31 Thread Geoffrey Young
hi all... I'm not sure if this is related to some of the get/set handler strangeness that I have been seeing lately (as I try to do some weird stacked handler acrobatics), or if it's the result of some closure thing that I really shouldn't be doing... package Test::Test; use Apache::Cons

RE: [ANNOUNCE] Apache::Session 1.51

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, James Xie wrote: > > Which version of Storable module do I need for Session 1.51? > Storable-0.6.11 ? it's still under beta testing. Any version should work. -jwb

Re: socket problems

2000-05-31 Thread Chuck Goehring
I had similar problems on Windows NT with mod_perl 1.16, Apache 1.3.3 and perl 5.00502. I was connecting to a Linux smtp server from a cgi on an NT web server. On NT, (netstat -s) it showed that "Reset Connections" increased every time the connection failed. It would work the very first time a

Re: hang time, segfaults

2000-05-31 Thread Cliff Woolley
    Cliff WoolleyCentral Systems Software AdministratorWashington and Lee Universityhttp://www.wlu.edu/~jwoolley/   Work: (540) 463-8089Pager: (540) 462-2303>>> [EMAIL PROTECTED] 05/30/00 10:51AM It hangs a lot, especially on page reloads.  Sometimes it delivers>pages perfectly, other tim

Re: elusive, disappearing notes?

2000-05-31 Thread Roger Espel Llima
On Wed, May 31, 2000 at 01:57:20PM -0400, Geoffrey Young wrote: > I've seen this before and always thought to attribute it to mod_dir creating > a new request to properly map / to /index.html > > since any notes set are for the lifetime of the request only, the new > request (representing /index.

Re: Changes to module code only take effect if perl program updated

2000-05-31 Thread Perrin Harkins
On Wed, 31 May 2000, Karl Djemal wrote: > I'm trying to get up to speed with mod_perl and have been playing around > with Apache::StatINC so that any perl modules I update get reloaded. > >From what I can see in the error_log file it does get re-loaded, but the > changes don't seem to take effect

RE: elusive, disappearing notes?

2000-05-31 Thread Geoffrey Young
I've seen this before and always thought to attribute it to mod_dir creating a new request to properly map / to /index.html since any notes set are for the lifetime of the request only, the new request (representing /index.html) would/should have no notes... this makes sense in my head, but my h

elusive, disappearing notes?

2000-05-31 Thread Roger Espel Llima
I have a TransHandler that's setting a note with $r->notes("something", "something") the first time it runs. When I give it a directory ($r->uri is something like "/whatever/"), then Apache runs my TransHandler several times, where $r->uri looks like "/whatever/", then "/whatever/index.html". No

RE: [ANNOUNCE] Apache::Session 1.51

2000-05-31 Thread James Xie
Which version of Storable module do I need for Session 1.51? Storable-0.6.11 ? it's still under beta testing. Thanks James

RE: Wierd problem with redirect

2000-05-31 Thread Jeffrey W. Baker
On Tue, 30 May 2000, Jerrad Pierce wrote: > I'm running into an odd redirect ptoblem myself, I'm issuing: > > HTTP/1.1 302 Moved Temporarily\n\r > Date: Tue 30 May 2000 18:18:07 GMT\n\r > Server: Apache/1.311\n\r > Set-Cookie: SESSION_ID=4177a0c9ae2b278decd6038901b28a2a; path=/; > expires=Thu, 1

Re: Jez 'n' Di?

2000-05-31 Thread Eric Cholet
> I got a very strange response from [EMAIL PROTECTED] in > response to a previous posting to this board. "jez" responded with an > "anti spamming notice"! > > It said the message was tossed into /dev/null, and that it was either > because I sent a "ms-tnef" attachment (I sent no attachment at a

Re: CGI/mod_perl strangeness...

2000-05-31 Thread Bruce W. Hoylman
> "Trevor" == Trevor Phillips <[EMAIL PROTECTED]> writes: Trevor> Thing is, this is from an Apache Perl module using mod_perl, Trevor> not from a CGI using CGI.pm (as this line is printed to Trevor> stderr when you supposedly run a CGI from the command Trevor> prompt). A cod

Jez 'n' Di?

2000-05-31 Thread Paul
I got a very strange response from [EMAIL PROTECTED] in response to a previous posting to this board. "jez" responded with an "anti spamming notice"! It said the message was tossed into /dev/null, and that it was either because I sent a "ms-tnef" attachment (I sent no attachment at all) or becau

Re: Modifying of Apache::Session File

2000-05-31 Thread Jeffrey W. Baker
On Wed, 31 May 2000, Differentiated Software Solutions Pvt. Ltd. wrote: > Hi, > > We've got an application where on initial login we're creating the session > file. > Subsequently, we want to add more hash values into this session file. > > Immediately after creation if we add values to the ses

Changes to module code only take effect if perl program updated

2000-05-31 Thread Karl Djemal
I'm trying to get up to speed with mod_perl and have been playing around with Apache::StatINC so that any perl modules I update get reloaded. >From what I can see in the error_log file it does get re-loaded, but the changes don't seem to take effect until I touch my perl program that 'uses' this m

Re: Help with Apache::SSI Apache::Filter in Apache::ASP

2000-05-31 Thread Ken Williams
[EMAIL PROTECTED] (Joshua Chamas) wrote: >> [Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] state >> 73d41e9eb24306295fa1e2b08f64d311 locks: 9, unlocks: 9 >> [Wed May 31 01:26:44 2000] [error] Can't locate object method "run" via >> package "Apache" at /usr/lib/perl5/site_perl/5.005/A >> p

Re: Help with Apache::SSI Apache::Filter in Apache::ASP

2000-05-31 Thread Joshua Chamas
> [Wed May 31 01:26:44 2000] [error] [asp] [4815] [debug] state > 73d41e9eb24306295fa1e2b08f64d311 locks: 9, unlocks: 9 > [Wed May 31 01:26:44 2000] [error] Can't locate object method "run" via > package "Apache" at /usr/lib/perl5/site_perl/5.005/A > pache/SSI.pm line 181. Great problem report.

socket problems

2000-05-31 Thread Reilly, Thomas
Hi, i'm using mod_perl to run a Unix domain socket client to connect to a server (wriiten in C). When i run the server and run the perl client as a stand-alone perl program it connects to the socket just fine and exchanges the relevant information. When i put the same lines into a mod_perl

Help with Apache::SSI Apache::Filter in Apache::ASP

2000-05-31 Thread montefin
Hi, I'm new here. I apologize in advance if I'm posting this wrongly or to the wrong list and for the messy 'cut and paste' job on the error_log below. I haven't been able to find a solution for a start-up problem I'm having with a new Apache::ASP install and would appreciate any help or clues gr

Perl Section questions

2000-05-31 Thread Kees Vonk 7249 24549
I have two questions about perl sections: 1) Has setting an entry in the %ENV hash in a perl section the same effect as using a SetEnv (or PerlSetEnv) directive (What btw is the difference between SetEnv and PerlSetEnv, both seem to effect %ENV in the same way.) 2) If the order of di

Modifying of Apache::Session File

2000-05-31 Thread Differentiated Software Solutions Pvt. Ltd.
Hi, We've got an application where on initial login we're creating the session file. Subsequently, we want to add more hash values into this session file. Immediately after creation if we add values to the session file, these values get stored. After a few pages we tried to modify the existing s