On Fri, 9 Mar 2001, Andrew Ho wrote:
> Stas,
>
> SB>Try adding:
> SB>
> SB> Options +ExecCGI
> SB>
>
> 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 , , or other container:
>
>
>
Stas,
SB>Try adding:
SB>
SB> Options +ExecCGI
SB>
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 , , or other container:
SetHandler perl-script
PerlHandler Apache::Reg
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 '/usr/local/apac
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 ri
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:
>
>
> SetHandler perl-script
> PerlAccessHandler My::Access
>
>
> Right now the handler does nothing except write to
Andrew,
AM>Is there any way to tell perl that from now on the namespace is
AM>$namespace? `package' does not accept scalars, and its scope is
AM>eval block, so if I use eval to pass scalar to "package" I have to
AM>include entire program text into that eval as well.
You can kind of do this via X
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:
>
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
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, a
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
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 fr
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 engi
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:
ret
*** 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
offer
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_
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 mo
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 a
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 "Recei
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
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 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
> -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 everyt
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 a
> -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 r
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/
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:
SetHandler perl-script
PerlAccessHandler My::Access
Right now the handler does nothing except write to the log
and return DECLINED. It works fine.
However, wha
I've also been experiencing segmentation faults. I reported it,
yesterday, some, not fully detailed, (ie: no stack trace since no
debugging symbols...) to the mod_perl mailing list.
What I did was run "gdb", then used the "ps wauxf" output to get the
PID of an Apache child process. I used
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
And
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
On Fri, 9 Mar 2001, 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 every one thereafter with the message:
>
> Read on closed filehandle at lpinit.pl line
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 at lpinit.pl line 78
Read on closed filehandle at lpinit.pl line 99
et
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
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
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 :)
Bil
Nikolaus Rath ([EMAIL PROTECTED]) said something to this effect on 03/09/2001:
>
>
> my $o = { "bar" => 1,
>"foo" => "com",
>"other" => 0 };
> push @PerlSetVar, "Objekt, $o;
>
>PerlHandler Bla
>
>
> And inside the Bla Hand
> -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!
>
>
>
> my $o = { "bar" => 1,
>"foo" => "com",
>
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
Hello!
my $o = { "bar" => 1,
"foo" => "com",
"other" => 0 };
push @PerlSetVar, "Objekt, $o;
PerlHandler Bla
And inside the Bla Handler:
my $o = $r->dir_config("Objekt");
Is $o now still a complex object, so i could do $o->
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 times
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
> _
Bill Desjardins <[EMAIL PROTECTED]> writes:
> 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 timesta
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
prefix:/usr/local
exec_
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 2
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
>
> "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
45 matches
Mail list logo