On Fri, 14 Dec 2001, Perrin Harkins wrote:
I _really_ hate so-called dedicated boxes. They're closed, nasty,
inflexible and often don't work in _your_ situation. Doing smart
session-based redirection can be hard with these boxes.
You can make it work with homegrown solutions, but I've
don't use it.
Read the guide front to back: http://perl.apache.org/guide/
HTH.
Jeff
--
Jeff Beard
___
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA
, or wait for
5.8.0 to fix the bug.
(darren)
--
Jeff Beard
___
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA
Linux 6.2. mod_perl
was built with EVERYTHING=1. All modules were statically built. Perl 5.00503.
Ideas?
TIA,
Jeff
--
Jeff Beard
___
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA
erl-script
PerlHandler Apache::Registry
Options ExecCGI
/Files
Restarted after each change
/etc/rc.d/init.d/httpd restart
...but I cannot get the server to parse *.pl files using mod_perl.
Any ideas?
Thanks.
--
On Fri, 16 Feb 2001, Andrew Ho wrote:
form method="post" action="post.pl"
input type="hidden" name="hello" value="world"
/form
I added a button and push it. It works. ;)
--Jeff
--
Jeff Beard
___
systems and they worked as expects. What's your config look like?
Do you get the 'Post = ()' output from the Registry script? Are you running any
other software that might interfere?
--Jeff
--
Jeff Beard
___
Web:www.cyberxape.com
Email: jeff
a field where i can
set the REDIRECT status?
Thanks in advance,
Richard Harrison.
--
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA
Check out the mailing list archive for something I posted
a while back. It boiled down to not using GNU binutils for
anything. Including GCC.
--Jeff
--
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth
There are techniques in the Eagle book for storing data in a cookie.
(Check out the discussion on maintaining state)
However, in my experience, you'll do better in the long run using
something like Apache::Session. It'll be a scalable solution.
--Jeff
On Fri, 20 Oct 2000, Biggs, Jody wrote:
Here's what I would do:
Remove the rpm version of apache:
# rpm -e packagename
If you want to use the start up files that are part of that
package just copy them some where since they'll be removed.
Build the source version following the directions in the mod_perl
document called
of the HTML generation features.
--Jeff
At 10:32 AM 8/30/00 +0400, Alexei V. Barantsev wrote:
Jeff Beard [EMAIL PROTECTED] writes:
There isn't a Vars() function in CGI.pm. If you're looking for the query
string try param(). Or if you want to make it a mod_perl program (which is
what you would
both examples work
right. Why?
(BTW, both examples was tried on clean, just started Apache)
--
ab
ICQ: 3959207
Jeff Beard
__
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Location: Boulder, Colorado, USA
any others LWP::UserAgent for
more advanced uses.
=-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-=
Steve Reppucci [EMAIL PROTECTED] |
Logical Choice Software http://logsoft.com/ |
508/958-0183
Hodgkinson wrote:
Perrin Harkins [EMAIL PROTECTED] writes:
On Thu, 27 Jul 2000, Jeff Beard wrote:
I have a couple of package globals that I'd like to populate with
information from a database when I fire up the web server
[...]
I thought it might be as simple a declaring
Hi there,
I have a couple of package globals that I'd like to populate with
information from a database when I fire up the web server in order to take
advantage of memory sharing (they'll be used every time the program runs
and I don't want to run a db query every time). I thought it might be
something to this effect:
IF AT ALL ANYBODY KNOWS HOW TO MAKE APACHE::DBI WORK,PLEASE HELP
The guide is quite clear on how to use and set up Apache::DBI:
http://perl.apache.org/guide/databases.html#Apache_DBI_Initiate_a_persist
http://search.cpan.org/doc/MERGL/ApacheDBI-0.87/DBI.pm
Jeff Beard
heir virtual hand out and smack me upside the
head) or is this a sufficiently out-of-the-way sort of error that
people haven't reported it yet? At any rate, I'd just be tickled
pink if someone fixed it.
Yours,
David Weekly
Jeff Beard
_
Web:www.c
mark wrote:
yeah, i know about startup.pl, and i have been using it until now,
but the goal here was to avoid having to put the same configuration
in two different files :).
Jeff Beard wrote:
Checkout the sample startup.pl that comes with Apache::DBI.
--Jeff
At 05:08 PM 5/14/00, svante sör
pts from the command line
(we are still in the tentative mod_perl should we commit / shouldn't we
commit experimental stage).
Is PerlRequire really the only solution?
Thanks for any ideas,
Martin
Jeff Beard
_
Web:www.cyberxape.com
ff;
use strict;
use DBI;
# export dbConnect, etc
sub dbConnect {
my $dbh = DBI-connect(args,to,dbi);
return $dbh;
}
1;
# end of MyStuff;
---
Jeff Beard
_
Web:www.cyberxape.com
Email:
of installation. Any and all help is greatly
appreciated.
Regards,
Rafael
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape.com
Location: Boulder, CO, USA
ng in the httpd.conf then the
program works fine. Is perl.conf part of Apache?
James
[EMAIL PROTECTED]
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape.com
Location: Boulder, CO, USA
d/Util.pm
line 546
**
So, how can I get the command-line scripts to run under Apache::Registry?
Adding 'use Apache;' to my command-line scripts obviously doesn't help.
Any help is greatly appreciated.
Here's my set up.
modperl 1.21
Apache 1.36
Solar
the installation
program told me so...)
But when I start httpd using apachectl start, httpd did not start within
error_log there is a message "Apache.pm failed to LOAD!"
Any one have any ideal? Thanks in advance
P C Wang
Jeff Beard
___
anyone point me to some documentation? I didn't see a
listing in "Writing Apache Modules in Perl and C".
Sam
try 'perldoc Apache'
Tobias
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape.com
Location: B
erl.c"
and it won't make.
make and make test on mod_perl both complained about libwww missing, but all
the install notes said this isn't absolutely required.
without the activate-module=src/modules/perl/mod_perl.c apache completed
make install with no probs (well it runs anyway)
any ideas?
At 11:07 PM 4/25/00, [EMAIL PROTECTED] wrote:
On the various lists to which I tried to get help, the silence
was deafening.
Probably 'cause I was the only one that didn't see that your work supports
pornographers. Oh well.
--Jeff
Jeff Beard
___
Web
TML pages?
On IIS4/5, there is a "CUSTOM HTTP Header" and "Content Expiration"
settings.
Is there a similar setting with Apache?
Jaime
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
to be more
disciplined in the way you code.
And yes, Apache::Session works under regular CGI.
--Jeff
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
/00, Tom Peer wrote:
Does anyone know any good resources for learning about Apache::Session ?
Thanks,
Tom
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
Also, checkout Graham Barr's Error.pm for an OO styled "try, throw, catch"
model. Really nice for a complete OO Perl design, IMHO.
--Jeff
The one
I use is a customized version but it's basically the OO "try, throw,
catch" model that I've seen in other languages.
On Sat, 8 Apr 2000,
it.
Something like
con.txt
my $dbh ||= DBI-connect("dbi:Oracle:host=red.home.com;sid=RED", 'scott',
'tiger') || die "Can't connect to : DBI-errstr";
and then in the cgi file say somthing like:
include(con.txt)
There must be an easy way to do this!
Thanks
Jeff Beard
___
/dist/mod_perl-x.xx.tar.gz
% tar xzvf apache_x.x.x.tar.gz
% tar xzvf mod_perl-x.xx.tar.gz
% cd mod_perl-x.xx
% perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
% make make test make install
% cd ../apache_x.x.x
% make install
Jeff
//\ Perl, Apache, MySQL, PHP3,
v_/_ Ultra 10, LinuxPPC, BeOS...
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
module IO:
ld.so.1: ../apache_1.3.11/src/httpd: fatal: relocation error: file
/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so: symbol main:
referenced symbol not found at
/usr/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.
Jeff Beard
_
ript:
$some_person-first_name = "Etienne";
or how?
Thanks in advance,
Etienne
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
===
if ($r-filename =~ /\.perl$/ ) { # Registry-Skript
tie *SH,'IO::Scalar', \$PAGE;
my $stdout = select SH;
Apache::Registry::handler($r);
select $stdout;
} else {
... Static page
}
Extract body from $page and put it a template
Jeff Beard
Web
38 matches
Mail list logo