Re: [OT] UNIX timestamp hits 1,000,000,000 this year!

2001-03-09 Thread Randal L. Schwartz
"Bill" == Bill Desjardins [EMAIL PROTECTED] writes: Bill Just as a FYI about something that caught my attention recently. This year Bill on Saturday September 8, 2001, the unix time stamp flips to 1 billion and Bill gets another digit going from 9 to 10 digits. Not sure if anyone else but Bill

Re: [OT] UNIX timestamp hits 1,000,000,000 this year!

2001-03-09 Thread Tim Bunce
On Fri, Mar 09, 2001 at 12:44:59AM -0500, Bill Desjardins wrote: Just as a FYI about something that caught my attention recently. This year on Saturday September 8, 2001, the unix time stamp flips to 1 billion and gets another digit going from 9 to 10 digits. Not sure if anyone else but me

1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000 thisyear!

2001-03-09 Thread Nigel Hamilton
HI, I'm waiting to see how quickly someone starts the 1 Billion Bug (1BB) Consultancy ... scary. NIge Nigel Hamilton __ http://turbo10.com Turbo10 Search Engine Search Fast. Browse Faster. On Fri, 9 Mar

RE: Easy Newbie mod_perl installation question

2001-03-09 Thread Peter Brown
John Walker writes: layouts seem to be defined in: ../apache_1.3.x/config.layout you can also make your own config layout file and point the configure script at it this is something i discovered v. useful :) for example this in the layout file Layout FunkyLayout prefix:

Re: 1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000 thisyear!

2001-03-09 Thread Gerd Kortemeyer
I will open my consulting business on Mon, Jan 18th, 2038. - Gerd. Nigel Hamilton wrote: HI, I'm waiting to see how quickly someone starts the 1 Billion Bug (1BB) Consultancy ... scary. NIge Nigel Hamilton

Re: [OT] UNIX timestamp hits 1,000,000,000 this year!

2001-03-09 Thread Robin Berjon
At 00:44 09/03/2001 -0500, Bill Desjardins wrote: Just as a FYI about something that caught my attention recently. This year on Saturday September 8, 2001, the unix time stamp flips to 1 billion and gets another digit going from 9 to 10 digits. Not sure if anyone else but me is using the

Passing Objects with PerlSetVar

2001-03-09 Thread Nikolaus Rath
Hello! Location Bla Perl my $o = { "bar" = 1, "foo" = "com", "other" = 0 }; push @PerlSetVar, "Objekt, $o; /Perl PerlHandler Bla /Location And inside the Bla Handler: my $o = $r-dir_config("Objekt"); Is $o now still a complex

sending USR2 signal to refresh cached data?

2001-03-09 Thread Richard Chen
I am testing the following idea to refresh sporadically changed read-only data cache. The parent modperl process first cache a data hash %foo. Now all the child modperl processes will inherit this data hash. We install a signal handler in the parent process to reload the hash when a USR2 signal

RE: Passing Objects with PerlSetVar

2001-03-09 Thread Geoffrey Young
-Original Message- From: Nikolaus Rath [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 10:00 AM To: [EMAIL PROTECTED] Subject: Passing Objects with PerlSetVar Hello! Location Bla Perl my $o = { "bar" = 1, "foo" = "com",

Re: Passing Objects with PerlSetVar

2001-03-09 Thread darren chamberlain
Nikolaus Rath ([EMAIL PROTECTED]) said something to this effect on 03/09/2001: Location Bla Perl my $o = { "bar" = 1, "foo" = "com", "other" = 0 }; push @PerlSetVar, "Objekt, $o; /Perl PerlHandler Bla /Location And

Testing problems with apache::asp 2.03

2001-03-09 Thread Gareth Westwood
Hi Everyone, I hope I am writing to the correct address. If I am wrong will someone please let me know so that I can remove this address and not bother you all again. My problem is as follows, I have installed Apache 1.3.17 with Mod_perl 1.25, I have also installed several (38 in

Forbidden ASP.

2001-03-09 Thread Ryan McKee
Hi everyone, At first I had problem figuring out that there were actually 2 servers running, a perl server on 8200 and the regular server on 80. I changed the mod-perl to run on port 80 along with httpd. I also set the documentroot's to both being /var/www/html/. I've been testing stuff in

Re: 1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000thisyear!

2001-03-09 Thread Bill Desjardins
On Fri, 9 Mar 2001, Gerd Kortemeyer wrote: I will open my consulting business on Mon, Jan 18th, 2038. - Gerd. Well, I thinks we should be fine after this change. it will be ~310 YEARS till we have to worry about an extra digit again! We can let them worry about legacy code then :) Bill

Read on closed file handle?

2001-03-09 Thread David Jourard
Hi, In my startup.pl I'm calling a function that initializes read-only variables - read in from several text files. After it reads in the first it fails on every one thereafter with the message: Read on closed filehandle SYS1 at lpinit.pl line 78 Read on closed filehandle SYS2 at lpinit.pl

Re: Read on closed file handle?

2001-03-09 Thread David Jourard
Hi, Found my error after I had my sandwich. The files weren't there. oops David At 12:07 PM 3/9/01 -0600, David Jourard wrote: Hi, In my startup.pl I'm calling a function that initializes read-only variables - read in from several text files. After it reads in the first it fails on

(Beginner) Problems with mod_perl

2001-03-09 Thread John Whitnack
We are running Apache 1.3.17 and mod_perl 1.25 on Solaris 7. I have just installed mod_perl onto my server and it has created a big problem. When I type http://my.domain.name I get a error message: The document contained no data. Try again later, or contact the server's administrator

Installing global handler breaks CGI

2001-03-09 Thread Fred Toth
Hi, I'm lost on this one. I'm trying to install a simple handler that will get called on every request. My first try at this is: Location / SetHandler perl-script PerlAccessHandler My::Access /Location Right now the handler does nothing except write to the log and return DECLINED. It works

Re: Read on closed file handle?

2001-03-09 Thread Pierre Phaneuf
David Jourard wrote: Found my error after I had my sandwich. Lesson to keep from this: eat your sandwich! :-) -- Pierre Phaneuf http://www3.sympatico.ca/pphaneuf/

RE: Installing global handler breaks CGI

2001-03-09 Thread Geoffrey Young
-Original Message- From: Fred Toth [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 1:03 PM To: [EMAIL PROTECTED] Subject: Installing global handler breaks CGI Hi, I'm lost on this one. I'm trying to install a simple handler that will get called on every request.

why can't my apache load libperl.so?

2001-03-09 Thread Steven Sweet
I just built Apache 1.3.19 on a RedHat 6.2 machine with mod_so enabled. There had previously been RedHat secureweb installed (apache-ssl 1.3.12), but that had been removed before I started this process. Immediately after being built, the Apache server started fine. I then built mod_info using

RE: Passing Objects with PerlSetVar

2001-03-09 Thread Geoffrey Young
-Original Message- From: Nikolaus Rath [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 12:29 PM To: Geoffrey Young Subject: Re: Passing Objects with PerlSetVar I don't thing that will work. dir_config() is an Apache::Table object, which stringifies everything

Re: 1 Billion Bug 1BB - [OT] UNIX timestamp hits 1,000,000,000 thisyear!

2001-03-09 Thread Robert Landrum
I can see the headlines now "New Miracle Drug to Extend Life by 310 Years" It's those exact same thoughts that got us in to trouble in 2000. Oh well Rob At 11:04 AM -0500 3/9/01, Bill Desjardins wrote: On Fri, 9 Mar 2001, Gerd Kortemeyer wrote: I will open my consulting business on

Re: Forbidden ASP.

2001-03-09 Thread Joshua Chamas
Ryan McKee wrote: Hi everyone, At first I had problem figuring out that there were actually 2 servers running, a perl server on 8200 and the regular server on 80. I changed the mod-perl to run on port 80 along with httpd. I also set the documentroot's to both being /var/www/html/. I've

Re: Testing problems with apache::asp 2.03

2001-03-09 Thread Joshua Chamas
Gareth Westwood wrote: Could you please advise me of what is going wrong (am I being to impatient) and how I can go about fixing the problem. I am still a little bit of a newbie so please don't be to technical (or if you are, could you Hold onto your patience, these things can be

signal delivered to a different process?

2001-03-09 Thread Richard Chen
This is pretty weird situation. I have installed a signal handler in startup.pl which showed that the signal is delivered to a different process! Here are the demo files: $ cat conf/startup.pl #!/usr/local/bin/perl use lib '/usr/local/apache/modules'; $SIG{USR2}=sub { print STDERR

Newbie Questions

2001-03-09 Thread julie wang
HI! I'm new to Modperl. I been programming as a perl programmer (not the best, but I'm trying to improve) and been told to try and code using mod_perl. I got ORA's book on Apache Modules and was reading about how to code using mod_perl. Am I right to assume mod_perl is more Apache conf. than

Re: Newbie Questions

2001-03-09 Thread Pierre Phaneuf
julie wang wrote: I'm new to Modperl. I been programming as a perl programmer (not the best, but I'm trying to improve) and been told to try and code using mod_perl. I got ORA's book on Apache Modules and was reading about how to code using mod_perl. Am I right to assume mod_perl is more

Re: Newbie Questions

2001-03-09 Thread Sean C. Brady
julie wang wrote: HI! I'm new to Modperl. I been programming as a perl programmer (not the best, but I'm trying to improve) and been told to try and code using mod_perl. I got ORA's book on Apache Modules and was reading about how to code using mod_perl. Am I right to assume mod_perl

These students are asking for help. Be nice to them.

2001-03-09 Thread Galactic Geek
*** Please help a group of students gain practical experience *** We are a group of students with varying degrees of technical expertise. We are studying computer programming in an engineering college in India and want to gain some practical experience. In a bid to gain experience, we are

Re: Newbie Questions

2001-03-09 Thread ___cliff rayman___
julie wang wrote: replace that with if it is advise not to do so when using mod_perl?? The FAQ suggests using "goto" kind of statement. I rather not use that. What other alternatives do I have? Thanks! which FAQ suggested a goto statement? if u are thinking that something like: return

Re: These students are asking for help. Be nice to them.

2001-03-09 Thread Buddy Lee Haystack
If this idea catches on, some of us are going to have to change careers. ;-) Galactic Geek wrote: *** Please help a group of students gain practical experience *** We are a group of students with varying degrees of technical expertise. We are studying computer programming in an

Re: mod_perl shared memory with MM

2001-03-09 Thread Christian Jaeger
For all of you trying to share session information efficently my IPC::FsSharevars module might be the right thing. I wrote it after having considered all the other solutions. It uses the file system directly (no BDB/etc. overhead) and provides sophisticated locking (even different variables

Re: wheris @INC defined ?

2001-03-09 Thread Asaf Klibansky
define a system variable caleld PERL5LIB which will hold all of the paths to perl libs. -Original Message- From: Henri Delebecque [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Tuesday, March 06, 2001 12:41 AM Subject: wheris @INC defined ? hello, I'm a mod_perl

virtual hosts on Red Hat

2001-03-09 Thread Boris Lipsman
Hi guys Thanks for any help on advance I have Linux RedHat 6.1 and Apache 1.3.14..mod_perl/1.24-01 I am trying to run 3 name-based virtual hosts on my machine that is a standlone machine I have 3 files in my /usr/local/apache/conf/httpd.conf directory virthost1.conf, virthost2.conf,

Dynamic package name

2001-03-09 Thread Andrew Maltsev
Hi! Strictly speaking this has nothing to do with mod_perl, I just got into that problem writing mod_perl application. I want some module to decide its namespace at loading time. Obviously it can be solved with one big eval over entire module text, but this is not an option in my case - the code

Re: virtual hosts on Red Hat

2001-03-09 Thread hunter
Take a look at the "ServerName" parameter in each of the httpd.conf files of each virtual host. These must match what you have in your hosts file in order for what you are trying to do, to work. HTH Michael Weiner Systems Administrator/Partner The UserFriendly Network -- Boris Lipsman wrote:

Re: [OT] Dynamic package name

2001-03-09 Thread Andrew Ho
Andrew, AMIs there any way to tell perl that from now on the namespace is AM$namespace? `package' does not accept scalars, and its scope is AMeval block, so if I use eval to pass scalar to "package" I have to AMinclude entire program text into that eval as well. You can kind of do this via XS,

Re: Installing global handler breaks CGI

2001-03-09 Thread Stas Bekman
On Fri, 9 Mar 2001, Fred Toth wrote: Hi, I'm lost on this one. I'm trying to install a simple handler that will get called on every request. My first try at this is: Location / SetHandler perl-script PerlAccessHandler My::Access /Location Right now the handler does nothing except

Re: Newbie Questions

2001-03-09 Thread Stas Bekman
On Fri, 9 Mar 2001, julie wang wrote: HI! I'm new to Modperl. I been programming as a perl programmer (not the best, but I'm trying to improve) and been told to try and code using mod_perl. I got ORA's book on Apache Modules and was reading about how to code using mod_perl. Am I right

Re: signal delivered to a different process?

2001-03-09 Thread Stas Bekman
On Fri, 9 Mar 2001, Richard Chen wrote: This is pretty weird situation. I have installed a signal handler in startup.pl which showed that the signal is delivered to a different process! Here are the demo files: $ cat conf/startup.pl #!/usr/local/bin/perl use lib

Re: Installing global handler breaks CGI

2001-03-09 Thread Andrew Ho
Stas, SBTry adding: SBLocation /cgi-bin/ SB Options +ExecCGI SB/Location This is a fine fix; I'm actually curious, now that it's been brought up, as to why ScriptAlias suddenly breaks. In my config if I have this outside of a Directory, Location, or other container: FilesMatch "\.pl$"

Re: Installing global handler breaks CGI

2001-03-09 Thread Stas Bekman
On Fri, 9 Mar 2001, Andrew Ho wrote: Stas, SBTry adding: SBLocation /cgi-bin/ SB Options +ExecCGI SB/Location This is a fine fix; I'm actually curious, now that it's been brought up, as to why ScriptAlias suddenly breaks. In my config if I have this outside of a Directory, Location,

cvs commit: modperl-2.0/src/modules/perl modperl_mgv.c modperl_mgv.h

2001-03-09 Thread dougm
dougm 01/03/09 15:42:05 Added: src/modules/perl modperl_mgv.c modperl_mgv.h Log: module for pre-computing gv_fetchpv lookups of handlers Revision ChangesPath 1.1 modperl-2.0/src/modules/perl/modperl_mgv.c Index: modperl_mgv.c

cvs commit: modperl-2.0/src/modules/perl modperl_pcw.c modperl_pcw.h

2001-03-09 Thread dougm
dougm 01/03/09 15:42:28 Added: src/modules/perl modperl_pcw.c modperl_pcw.h Log: module for walking the parsed Apache configuration Revision ChangesPath 1.1 modperl-2.0/src/modules/perl/modperl_pcw.c Index: modperl_pcw.c

cvs commit: modperl-2.0/src/modules/perl mod_perl.c mod_perl.h modperl_callback.c modperl_callback.h modperl_config.c modperl_config.h modperl_filter.c modperl_interp.c modperl_types.h modperl_util.c modperl_util.h

2001-03-09 Thread dougm
dougm 01/03/09 15:46:38 Modified:lib/ModPerl Code.pm src/modules/perl mod_perl.c mod_perl.h modperl_callback.c modperl_callback.h modperl_config.c modperl_config.h modperl_filter.c modperl_interp.c