Following the beginners directions in Stein and MacEachern(SM),
I have built mod_perl 1.24_01for apache 1.3.14 on AIX.
I checked the perl.conf is being read.
My perl.conf contains: (according to page 31 of SM)
(Note: I have changed less-than to [ so that html-style mail and newreaders will
Hi there,
On Wed, 10 Jan 2001 [EMAIL PROTECTED] wrote:
SM
I'd never looked at it that way before...
(Note: I have changed less-than to [ so that html-style mail and
newreaders will show the symbol.)
You don't have to worry about that on this List.
I get 404 when I enter
Hi Dave,
On Wed, 10 Jan 2001, Dave Rolsky wrote:
Is there any way to distinguish between a child being shutdown (say
maxrequests has been exceeded) versus all of Apache going down (kill
signal sent to the original process or something).
Don't you get a message in error_log to the effect
Good question. That was just an extra '/' in my email.
I really did just use
http://myserver/hello/world
"G.W. Haywood" [EMAIL PROTECTED] le 01/10/2001 10:15:17 AM
Pour :Robert ABARBANEL/exterieur@FRANCE
cc : [EMAIL PROTECTED]
Objet : Re: location not working
Hi there,
On Wed,
John D Groenveld wrote:
No, I know how to use the modules in my home dir well enough.
I don't see where you set PREFIX=/home/eedalf/lib/perl per perlfaq8. Are
you sure you read it?
John, you are very correct - thanks! I was in fact missing the PREFIX.
perl Makefile.PL
I am trying to implement Example 2-14 in Stein and MacEachern.
Here's my code:
#!/usr/bin/perl
# file: hello.cgi
use CGI qw(:standard);
use strict;
my $name = param('name') || 'Anonymous';
print header(),start_html(-title='Yo!', -bgcolor='yellow'),
h1("Hello $name"),
p( "To change your
Hello,
anybody knows where can I get information
about work with corba and mod_perl?
thanks
Jesús
__Jesús
Lasso - Ya.com Internet Factory[EMAIL PROTECTED] - www.globalya.comTfno: +34
912917675
Hi all,
Is your Apache::Hello loaded?
( look at perl-status )
If not
Replace PerlHandler Apache::Hello
By perlHandler +Apache::Hello
Is your handler perform an internal_redirect?
[EMAIL PROTECTED] wrote:
Following the beginners directions in Stein and MacEachern(SM),
I have
-Original Message-
From: Gerd Kortemeyer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 6:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: How do you run libapreq-0.31/eg/perl/file_upload.pl
might help the browser to figure out that the first page
What is the proper method to unsubscribe from the modperl list?
Thanks,
- Vaughn
-Original Message-
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 5:47 PM
To: [EMAIL PROTECTED]
Subject: difference in 123, 124 = 124_01
In upgrading to 1.24_01 I notice some warnings when the apache starts
that I don't remember being present.
On Wed, 10 Jan 2001, Jess Lasso Snchez wrote:
Hello,
anybody knows where can I get information about work with corba and
mod_perl?
Its just like working with corba and ordinary perl. Try a search on
http://search.cpan.org for CORBA. If you're on linux you probably want to
check out
=?iso-8859-1?Q?Jes=FAs_Lasso_S=E1nchez?=
Hello,
anybody knows where can I get information about work with corba and =
mod_perl?
The only Perl CORBA I know of is COPE. It didn't work with mod_perl
the last time that I checked, about a year ago.
Hi,
I have read
http://perl.apache.org/guide/debug.html#Handling_the_User_pressed_Stop_
but still don't know the best solution for my problem:
I would like to port a bigger CGI-script to mod_perl.
This script uses DBD::Sybase and creates few temporary
tables (#temp1, #temp2) which are filled
-Original Message-
From: Joe Grastara [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 7:02 PM
To: [EMAIL PROTECTED]
Subject: Can't get DBI to work with mod_perl
I'm having trouble getting a script that uses the DBI module
to work under
mod_perl. It works fine at
I am looking for a jump start building perl, Apache, mod_perl (on NT) with
mod_perl built into Apache.
My task is to find out how to build the latest versions perl 5.6.0, Apache
1.3.14 and mod_perl 1.24_01.
I have down loaded the sources from www.perl.com, www.apache.org and
perl.apache.org.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 6:01 AM
To: [EMAIL PROTECTED]
Subject: Apache::Registry newbie question -- CGI state
I am trying to implement Example 2-14 in Stein and MacEachern.
Here's my code:
At 09:59 AM 01/10/01 +0100, [EMAIL PROTECTED] wrote:
NEVERTHELESS, I get 404 when I enter
http://myserver//hello/world
and it is looking in the htdocs directory according to the error_log.
Can you please post the entire error_log message.
Bill Moseley
mailto:[EMAIL PROTECTED]
I faced the same problem and had posted similar email
but I found an workaround that is there in the posting.
I get following error when i do
perl -e 'use Apache::Status;use Apache::DBI'
Can't locate object method "module" via package
Geoffrey Young wrote:
#!/usr/bin/perl
# file: hello.cgi
use CGI qw(:standard);
use strict;
I don't ever user CGI.pm, but aren't you forgetting to create a new CGI
object in here?
my $name = param('name') || 'Anonymous';
Geoff, I have another question: if you don't use
CGI.pm,
While trying to do what the mod_perl guide reccomends as a performance
increaser (not loading CGI.pm, and using mod_perl's functions as
replacements for what CGI.pm does and doing PerlSetupEnv Off).. I
realized that CGI.pm was being loaded even if I had no pre loaded
modules..
All I had setup
On Wed Jan 10, 2001 at 03:41:12PM +0100, Alexander Farber (EED) wrote:
Geoff, I have another question: if you don't use
CGI.pm, how do you generate the web form elements?
Just "print qq{INPUT TYPE="text" ...}" or are
there some nicer tricks?
Are you know templates methode ? it's a realy
-Original Message-
From: Alexander Farber (EED) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 9:41 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::Registry newbie question -- CGI state
Geoffrey Young wrote:
#!/usr/bin/perl
# file: hello.cgi
use CGI
Apache::Reload is a replacement for Apache::StatINC, with more features
and better debugging. Slated to replace Apache::StatINC in mod_perl 1.26.
Changes:
- Fix a warning under perl 5.6
--
Matt/
/||** Director and CTO **
//||** AxKit.com Ltd ** ** XML Application Serving
HTTP::GHTTP is a very lightweight C/XS based HTTP downloader. It is many
times lighter than both LWP and HTTP::Lite, and also many times faster
than both.
No API changes or improvements in this release.
Changes:
- Use gnome-config to get LIB and INC paths
--
Matt/
/||** Director
Alexander Farber (EED) writes:
So what is the best way to handle it? I could add
drop table #temp1
drop table #temp2
to the SQL statements of my script, but what happens if
the user presses STOP or the script times out? Should I
move this SQL-code to $r-register_cleanup()?
Ah - am I ever a dummy.
My Location spec used /home/world
not /hello/world
as I thought... so Apache worked as expected when my URI was
http://mysever/home/world
It was a quick edit back to
Location /hello/world
to fix the problem.
Thanks to many helpers.
---
That works!
I
Vaughn Staples said...
What is the proper method to unsubscribe from the modperl list?
Unsubscribe instructions are included in every email to the list. Look at
the headers.
You can also find instructions at the mod_perl website:
http://perl.apache.org/#maillists
--
David S.
While I don't want to be a C programmer, apparently I am going to have to learn
what "classes" and "methods" are in order to compile
mod_perl 1.24_01
into
Apache 1.3.14,
running
Perl 5.6.0 and
on top of
Linux 2.2.16 (RHL 7.0 base dist).
And I may even have to learn how to debug C code, to get
On Wed, 10 Jan 2001, G.W. Haywood wrote:
Don't you get a message in error_log to the effect that a signal has
been received?
Sure, but I don't think that would help me do what I want.
Let me illustrate:
1. server is started
2. config is read, modules are loaded, BEGIN blocks are run in
thanks for you support, ...
I have tried to install apache_1.3.14 and mod_perl-1.24_01.
No problems with perl Makefile.PL , and make,
but after I tried to run the make test I got this error
"letting apache warm up ...\c
Can't located
Has anyone seen Edmund? He hasn't responded to mail sent to his
CPAN address, [EMAIL PROTECTED], for the last few months.
John
[EMAIL PROTECTED]
Alexander Farber wrote:
The only ways to see the expected results (like the initial empty web
form, when entering http://localhost/cgi-perl/file_upload.pl into my
Netscape 4.7) is to keep reloading or to go to the Edit-Preferences-
Advanced-Cache and swith "Every Time" on.
The
Dave Rolsky wrote:
On Wed, 10 Jan 2001, G.W. Haywood wrote:
Don't you get a message in error_log to the effect that a signal has
been received?
Sure, but I don't think that would help me do what I want.
Let me illustrate:
1. server is started
2. config is read, modules are
At 18:55 10/01/2001 +, Danny Rathjens wrote:
Perhaps you could send a USR1 prior to your TERM signal and have your
END blocks perform your shutdown tasks if they see the USR1 signal.
But then you have the problem of new children being started due to the
USR1
not to mention it would preclude
On Wed, 10 Jan 2001, Danny Rathjens wrote:
Perhaps you could send a USR1 prior to your TERM signal and have your
END blocks perform your shutdown tasks if they see the USR1 signal.
But then you have the problem of new children being started due to the
USR1 not to mention it would preclude
HI,
I'm using a AuthAny handler to authenticate for every script. Today
for the first time the production server was put thru it's paces. I had
about 80 users at the same time. Checking the apache error log
there were a lot of
DBI-connect failed: Too many connections at
Hi there,
On Wed, 10 Jan 2001, Dave Rolsky wrote:
On Wed, 10 Jan 2001, G.W. Haywood wrote:
Don't you get a message in error_log to the effect that a signal has
been received?
Sure, but I don't think that would help me do what I want.
What I meant was you could perhaps find the place
Disclaimer: If these are unwanted, please let me know. I couldn't
find a list policy and Everyone Else Is Doing It(TM).
I am available for part time contracting via telecommute or in person
in the NYC area. I have a full time job but I am at liberty to do
outside work during business hours as
On Wed, 10 Jan 2001, John Poirier wrote:
I am looking for a jump start building perl, Apache, mod_perl (on NT) with
mod_perl built into Apache.
My task is to find out how to build the latest versions perl 5.6.0, Apache
1.3.14 and mod_perl 1.24_01.
I have down loaded the sources from
Hi again Andrew,
On Wed, 10 Jan 2001, andrewl wrote:
While I don't want to be a C programmer, apparently I am going to
have to learn what "classes" and "methods" are in order to compile
Classes and methods apply to Perl as well (almost:) as to C.
And I may even have to learn how to debug C
On Wed, 10 Jan 2001, Alexander Farber (EED) wrote:
Hi,
I have read
http://perl.apache.org/guide/debug.html#Handling_the_User_pressed_Stop_
but still don't know the best solution for my problem:
I would like to port a bigger CGI-script to mod_perl.
This script uses DBD::Sybase and creates
On Wed, 10 Jan 2001, R. K . Mallah wrote:
I faced the same problem and had posted similar email
but I found an workaround that is there in the posting.
I get following error when i do
perl -e 'use Apache::Status;use Apache::DBI'
Hi there,
On Wed, 10 Jan 2001, Boris Lipsman wrote:
Can't located loadable object for module Apache::Constants in @INC
Where is Constants.pm in your system? (There might be several of
them, don't worry about it:)
73,
Ged.
Hi
I have installed Apache::Sandwich on FreeBSD 3.4/Apache 1.3.12/mod_perl
1.24 and have noticed in working with it that if I call a URL like:
http://www.domain.com/test/index.html , it works fine and puts the
header and footer on the file. But, if I call:
http://www.domain.com/test/ , I
Foskett Roger wrote:
Hi, when using Apache::DBI, it keeps re-connecting even though the database
and user is the same:
I am using ApacheDBI-0.87, DBD-Oracle-1.06, DBI-1.14, perl5.6.0 on an 8.1.5
Oracle database (perl -v -V further below)
My httpd.conf is setup as:
PerlModule
On Wed, 10 Jan 2001, JR Mayberry wrote:
While trying to do what the mod_perl guide reccomends as a performance
increaser (not loading CGI.pm, and using mod_perl's functions as
replacements for what CGI.pm does and doing PerlSetupEnv Off).. I
realized that CGI.pm was being loaded even if I
On Wed, 10 Jan 2001, Dave Rolsky wrote:
On Wed, 10 Jan 2001, G.W. Haywood wrote:
Don't you get a message in error_log to the effect that a signal has
been received?
Sure, but I don't think that would help me do what I want.
Let me illustrate:
1. server is started
2. config is
On Tue, 9 Jan 2001, Michael Bacarella wrote:
Disclaimer: If these are unwanted, please let me know. I couldn't
find a list policy and Everyone Else Is Doing It(TM).
I think that we have stated many times that job offers/seekers are welcome
to post as long as the proper tag is used, so others
Hi
I am using a cookie based authentication scheme.
Cookie expires therefore login again. ( like the ticket master example in
O'reilly's.)
I noticed that the MS Explorer remembers both username and corresponding
password, making the cookie based authentication system useless.
(closing and
On Wed, 10 Jan 2001, Scott Alexander wrote:
HI,
I'm using a AuthAny handler to authenticate for every script. Today
for the first time the production server was put thru it's paces. I had
about 80 users at the same time. Checking the apache error log
there were a lot of
DBI-connect
Good to see you alive, well, and still coding Perl.
Months ago, about the time of the Perl conference so it may have slipped
under everyone's radar, Jeff Horn from U of Wisconsin sent you some patches
to Apache::DBI to use Oracle 8's re-authenticate function instead of
creating and caching a
e.g., Solicitation :)
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 5:07 PM
To: Michael Bacarella
Cc: [EMAIL PROTECTED]
Subject: Re: [SOLICITATION] Programmer available for contracting..
On Tue, 9 Jan 2001, Michael Bacarella
On Wed, Jan 10, 2001 at 11:06:49PM +0100, Stas Bekman wrote:
On Tue, 9 Jan 2001, Michael Bacarella wrote:
Disclaimer: If these are unwanted, please let me know. I couldn't
find a list policy and Everyone Else Is Doing It(TM).
I think that we have stated many times that job
On Wed, 10 Jan 2001, Stas Bekman wrote:
All we need is to add a $Apache::Server::Quitting or alike, in addition to
the existing $Apache::Server::Starting and $Apache::Server::ReStarting,
should be an easy patch in XS.
I'm not much of an C coder (much less XS) but maybe I'll poke around a
On Wed, 10 Jan 2001, Dave Rolsky wrote:
Is there any way to distinguish between a child being shutdown (say
maxrequests has been exceeded) versus all of Apache going down (kill
signal sent to the original process or something).
Register an END block in your startup.pl, and have it check it's
On Wed, 10 Jan 2001, Scott Alexander wrote:
It really peaked at 14:38:41 and then in the error_log
Ouch! malloc failed in malloc_block()
DBI-connect failed: Too many connections at
/systems/humakpro/lib/library.pm line 213
[Wed Jan 10 14:38:41 2001] [error] Can't call method "prepare"
I notice that there have been many more job postings from employment
seekers have occurred in the last few weeks versus jobs. Whereas it used to
be many more jobs wanting mod_perl vs seekers of jobs.
Is this an odd time of year for many contractors where the contract ends
around the holiday
I think it's your second question... in my opinion.
- Sean
On Thu, 11 Jan 2001, Gunther Birznieks wrote:
I notice that there have been many more job postings from employment
seekers have occurred in the last few weeks versus jobs. Whereas it used to
be many more jobs wanting mod_perl vs
Im not sure about the contract positions but this is traditionally the
time of the year when people decide its time for a change, its endemic to
all other types of industries not just the software industry.
And to alleviate your paranoia a little, a report I read last month said
software jobs
Is this an odd time of year for many contractors where the contract ends
around the holiday season? Or is this starting to be a symptom of dotcoms
going bust and the development market starting to level out?
I'm actually happily employed doing mod_perl (among things). I just
wouldn't mind
I noticed that the MS Explorer remembers both username and corresponding
password, making the cookie based authentication system useless.
(closing and reopening all windows does not help)
pure evil..!! (IMHO)
I don't use exploder very often...
is this really true..??
On Wed, Jan 10, 2001 at
Most year-end bonuses should be paid by the end of this month, while many were already
paid out EOY 2000. Since the US stock market is in decline, many people assume their
EOY 2001 bonuses will pale in comparison to 2000's. What better time to look for
greener pastures. [Not including the
On Wed, 10 Jan 2001, Ajit Deshpande wrote:
[...]
Is there interest in a YAJP? (YAJP == Yet Another Jobs Portal). I can
start a sourceforge project for the following:
- MySQL backed
- Based on HTML Mason
there's a project working on that already (jobs.perl.org).
- ask
--
On Wed, 10 Jan 2001, mehryar wrote:
Im not sure about the contract positions but this is traditionally the
time of the year when people decide its time for a change, its endemic to
all other types of industries not just the software industry.
And to alleviate your paranoia a little, a
On Wed, 10 Jan 2001, Perrin Harkins wrote:
On Wed, 10 Jan 2001, Dave Rolsky wrote:
Is there any way to distinguish between a child being shutdown (say
maxrequests has been exceeded) versus all of Apache going down (kill
signal sent to the original process or something).
Register an END
Yes, it is true.
Internet Explorer stores username and password values passed through
the Basic Auth dialog as well as anything entered into text fields or
text boxes. Netscape 6 also incorporates these same "features."
I am not certain *where* these values are stored or how they are
stored.
Hi, when using Apache::DBI, it keeps re-connecting even though the database
and user is the same:
I am using ApacheDBI-0.87, DBD-Oracle-1.06, DBI-1.14, perl5.6.0 on an 8.1.5
Oracle database (perl -v -V further below)
My httpd.conf is setup as:
PerlModule Apache::DBI Apache
Does anyone have ideas why we would get this error periodically after our
system has been running for about 20 minutes?
thanks,
-tom
[Wed Jan 10 16:22:45 2001] [error] DBI-connect(RSPD1) failed: ORA-12154:
TNS:could not resolve service name (DBD ERROR: OCIServerAttach) at
On Thu, 11 Jan 2001, Stas Bekman wrote:
On Wed, 10 Jan 2001, mehryar wrote:
Im not sure about the contract positions but this is traditionally the
time of the year when people decide its time for a change, its endemic to
all other types of industries not just the software industry.
I just want to thank Stas for the great link... very entertaining and
informative!
- Sean
On Wed, 10 Jan 2001, Jeffrey W. Baker wrote:
On Thu, 11 Jan 2001, Stas Bekman wrote:
On Wed, 10 Jan 2001, mehryar wrote:
Im not sure about the contract positions but this is traditionally the
John--
Another thing you may want to look into is just doing an
"alter session set current_schema" call at the top of your mod_perl page.
This is actually significantly faster than Tim's reauthenticate solution
(about 7X, according to my benchmarks).
It has become a supported feature as of
The most important thing I learned from fuckedcompany.com is the
term "Javateer".
So what does it mean? The fuckedcompany search isn't very forthcoming :(
Hi All,
This talk of jobs etc etc has reminded me that I need another
person to fill out my team here at Electronics For Imaging(
http://www.efi.com/ ). EFI is a big
player in the high end print solutions business and has a major presence
and history. Its a big company that does its best
"Stas" == Stas Bekman [EMAIL PROTECTED] writes:
Stas On Wed, 10 Jan 2001, Perrin Harkins wrote:
On Wed, 10 Jan 2001, Dave Rolsky wrote:
Is there any way to distinguish between a child being shutdown (say
maxrequests has been exceeded) versus all of Apache going down (kill
signal sent to
On Thu, 11 Jan 2001, Stas Bekman wrote:
the parent process doesn't run the END block.
Randal's solution is probably better, but it's a bummer that the parent
doesn't run END blocks. Will it run cleanup handlers?
- Perrin
Hey,
I am considering long belated compile time extensions
that would allow at least partial handling of other languages
formats like Cold Fusion, XSP, Embperl, ... a developer would
be able to rewrite a template at compile time into ASP.
Here's what I have in mind:
PerlSetVar TagParseMatch
If what you are saying is that current EmbPerl code would be able to run
almost unchanged under ASP that would be very interesting, but presently
my biggest issues with Apache::ASP are:
- Doesn't "help" with any HTML.
- QueryString and Form from the Response are separate, this makes a
I have the following test case.
test.plx invoked from a web page via apache modperl
test.plx
require CodedModule;
CodedModule::handler(some args);
CodedModule
eval([my contents which are])
package CodedModule;
sub handler { blah.
}
# end of contents
1;
"RB" == Rob Bloodgood [EMAIL PROTECTED] writes:
RB Alright, then to you and the mod_perl community in general, since
RB I never saw a worthwhile resolution to the thread "the edge of
RB chaos,"
The resolution is that the machine was powerful enough. If you're
running your mission critical
On Wed, 10 Jan 2001, Perrin Harkins wrote:
Randal's solution is probably better, but it's a bummer that the parent
doesn't run END blocks. Will it run cleanup handlers?
I'm pretty sure the parent runs END blocks. I just didn't want to have
the cleanup code run during child shutdown.
What
Sorry guys for irrelevant question, but where can I find
guide how to connect apache server to mysql database?
thanks a lot.
"CG" == Clint Gilders [EMAIL PROTECTED] writes:
CG Location /test
CG SetHandler perl-script
CG PerlHandler Apache::Sandwich
CG PerlSetVar HEADER "/body.html"
CG PerlSetVar FOOTER "/bottom.html"
CG /LOCATION
You should Sandwich based on a Files rather than Location, or else
not irrelevant, and well covered here:
http://perl.apache.org/guide/databases.html
hth,
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Al Abdullaev wrote:
Sorry guys for irrelevant question, but where can I find
guide how to connect apache server to mysql database?
thanks a lot.
Stas , I do not face the problem anymore and Apache::DBI is loading
without any problem. But i remember of facing problem at one point
of time.
may be with some older version.
Could u please explain me what does Apache->module do and where
is
it defined ?
and Edmar could you please post the
Aaron Johnson wrote:
If what you are saying is that current EmbPerl code would be able to run
almost unchanged under ASP that would be very interesting, but presently
my biggest issues with Apache::ASP are:
- Doesn't "help" with any HTML.
I think I know what you mean, and I'm not sure
Hi,
Why do I see this in the log
13402 Apache::DBI need ping: yes
13402 Apache::DBI new connect to
'my_dbmy_usermy_passwdAutoCommit=1PrintError=1'
when I have in the startup.pl file
Apache::DBI-connect_on_init
("DBI:mysql:my_db",
"my_user",
There is an easy way of doing auto form fillin with Apache::ASP using
HTML::FillInForm - for details see (credit goes to Paul Lindner)
http://search.cpan.org/doc/TJMATHER/HTML-FillInForm-0.07/lib/HTML/FillInForm.pm#Apache_ASP
and
http://forum.swarthmore.edu/epigone/modperl/malskalko
- No
Hi ,
Here the situation :
Many of us , are using MYSQL in Web production , and in this
case we have many
loadbalancing systems (Hardware like Alteon or foundry or
software like LVS , and hybrid like BigIP) so we can say that if you want an
failsafe and scalable WEB cluster it not a problem
89 matches
Mail list logo