Re: Apache::Registry RFE

2000-05-31 Thread Michael Blakeley
Of course there was an error... At 9:54 PM -0700 5/30/2000, Michael Blakeley wrote: $r-log_error($errsv) if $Apache::RegistryYA::AutoLog; s/RegistryYA/Registry I'm also having second thoughts about the binary nature of this thing... I'd forgotten that $errsv might well be a text

Fw: Re: Wierd problem with redirect

2000-05-31 Thread serg gajdajchuk
-Original Message- From: Eric Cholet [EMAIL PROTECTED] To: ___cliff rayman___ [EMAIL PROTECTED] Date: Tue, 30 May 2000 23:57:13 +0200 Subject: Re: Wierd problem with redirect On Tue, May 30, 2000 at 02:30:36PM -0700, ___cliff rayman___ wrote: actually \n\r\ is really how it is

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

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

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

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

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

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

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

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 session

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

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 code clip

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 all)

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,

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

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

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

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

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

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 really

[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

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

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

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

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

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 this

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.77for 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___
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,

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

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

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

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

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

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

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 I

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

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

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 deliverspages perfectly, other times it