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
ct;
> }
Put this before the '1;' or just 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
nder
> mod_perl. Upgrade to 5.6.1, downgrade to 5.00503, 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
#x27;s support.
Yep.
Thanks,
Jeff
--
Jeff Beard
___
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA
.5.3 on RH 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
ndler perl-script
> PerlHandler Apache::Registry
> Options ExecCGI
>
>
> Restarted after each change
> /etc/rc.d/init.d/httpd restart
>
> ...but I cannot get the server to parse *.pl files using mod_perl.
>
>
I tried your snippets on
two different 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
___
On Fri, 16 Feb 2001, Andrew Ho wrote:
>
>
>
>
I added a button and push it. It works. ;)
--Jeff
--
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Earth: Boulder, CO, USA
r_out('Location'=>$the_url);
> $r->header_out('Set-Cookie' =>$cookie);
> $r->send_http_header;
> return REDIRECT;
>
>
> Which does not work.
>
> Thinking about it whilst typing this email, does header_out have a field where i can
>set the
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
SIDE\n";
> }
>
>
> Differentiated Software Solutions Pvt. Ltd.
> 176, Ground Floor, 6th Main,
> 2nd Block, RT Nagar
> Bangalore - 560032
> Phone : 91 80 3431470
> www.diffs-india.com
>
--
Jeff Beard
___
Web:www.cyberxape.com
Location: Boulder, CO, USA
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
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 INSTALL.apaci un
FWIW, I compiled it on Linux with mod_perl 1.24_01 with no problems.
I use the method descibed in INSTALL.apaci under the heading "The
flexible way".
--Jeff
On Sat, 14 Oct 2000, Jeremy Hansen wrote:
>
> For some reason mod_perl-1.24 is failing to configure with apache 1.3.14:
>
> srv2:/usr/w
h I don't
use any 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().
button was pressed and
>what string was entered.
>
>But if I try functional way instead (commented in example) I see that
>$args is empty! In single-process mode (httpd -X) 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
LWP::Simple and as advised by many 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 Be Open |
Jeff Beard
__
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Location: Boulder, Colorado, USA
David 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
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 as
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
__
Web:www.cyberxape.com
Email: jeff at cyberxape dot com
Location: Boulder, Colorado, USA
his been reported like a kajillion times (in which case someone
>will politely reach their 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
svante sörmark 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::
a clever solution to this? i've resorted to `grep`ing
>httpd.conf for the DBI_INFO string, but that is sooo ugly.
>
>thanks.
>--
>
>Svante Sörmark | Chalmers University I
t this could be ideal we don't
>want to lose the flexibility in debugging our scripts 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 solu
ecute();
> $bar = $sth->fetchrow();
> $sth->finish;
>}
>
>--
>
>package MyStuff;
>
>use strict;
>use DBI;
>
># export dbConnect, etc
>
>sub dbConnect {
> my $dbh = DBI->connect(args,to,dbi);
&
686 unknown
>
>Thanks,
>
>Wim Kerkhoff, Software Engineer
>NetMaster Networking Solutions
>[EMAIL PROTECTED]
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape.com
Location: Boulder, CO, USA
r. If I put everything 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
will try to patch Apache, and I'm not sure
>what's the proper order 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
talled successfully (at least 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 B
uot;strict subs" in use at
>as/mod/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
quest
> >object. Can 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:
pache completed
>make install with no probs (well it runs anyway)
>
>any ideas?
Jeff Beard
_
Web:www.cyberxape.com
Email: jeff at cyberxape.com
Location: Boulder, CO, USA
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
___
ut how do I add something similar to static HTML 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
nce standpoint, this would be preferable. You just have 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
gt;
>Of course, on Apache it may be easier by using mod_rewrite to manipulate
>the URL itself in cool ways.
And then there's this cool technology called mod_perl that one could use to
see if a cookie can be set and if not, then start twiddling PATH_INFO. :)
--Jeff
Jeff Beard
or, 6th Main
> >>2nd Block RT Nagar
> >>Bangalore - 560 032
> >>India
> >>Ph: 91 80 3431470
> >>email : diffs+AEA-vsnl.com
> >>http://www.diffs-india.com
> >>
> >>Differentiated Software Solutions Pvt. Ltd.,
> >>176, Gr. Floor, 6th Main
> >>2nd Block RT Nagar
> >>Bangalore - 560 032
> >>India
> >>Ph: 91 80 3431470
> >>email : diffs+AEA-vsnl.com
> >>http://www.diffs-india.com
> >
> >__
> >Gunther Birznieks ([EMAIL PROTECTED])
> >Extropia - The Web Technology Company
> >http://www.extropia.com/
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
At 07:43 PM 4/16/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, Autarc
e one place to
>change it problem, but I am not getting 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
HTTPD=1 USE_APACI=1 EVERYTHING=1
> % make && make test && make install
> % cd ../apache_x.x.x
> % make install
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
gt; general. Any votes on which examples you'd like to see put online?
> > >
> > > Lincoln
> > >
> > > --
> > > ====
> > > Lincoln D. Stein Cold Spring Harbor Laboratory
> > > [EMAIL PROTECTED] Cold Spring Harbor, NY
> > >
> > >
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
he 1.3.9
>mod_perl 1.21
>
>??? Any ideas ???
>____
>Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex
>
>('> Running -
>//\ Perl, Apache, MySQL, PHP3,
>v_/_ Ultra 10, LinuxPPC, BeOS...
Jeff Beard
___
Web:www.cyberxape.com
Phone: 303.443.9339
Location: Boulder, CO, USA
sting this to the list so it's get archived in case others miss this
detail as well.
Thanks again.
--Jeff
At 09:07 AM 1/28/00 +, G.W. Haywood wrote:
>Hi there,
>
>On Thu, 27 Jan 2000, Jeff Beard wrote:
>
> > running make test fails and produces the errors listed a
>$some_person = People::SomePerson->new;
>
>how do I change the first_name, last_name, email_address variables?
>Would it be like this, if I'm doing it from inside the SomePerson
>object:
>
>$self->{first_name} = "Etienne";
>
>and like this from a regular cgi script:
>
>$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
ke test errors:
[Thu Jan 27 13:51:41 2000] [error] Can't load
'/usr/local/lib/perl5/5.00503/sun4-solaris/auto/IO/IO.so' for 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
r($r);
>select $stdout;
>} else {
> ... Static page
>}
>
>Extract body from $page and put it a template
Jeff Beard
Web Systems Engineer
World Wide Web Associates
Web: http://wwwa.com
Phone: 303.545.2399
rintError => 1,
> RaiseError => 1,
> }
> ) || die $DBI::errstr;
>
> return($dbh)
> }
>
> else {
> # warn "No need to change!\n";
> return($dbh)
> }
>
>}
Jeff Beard
Web Systems Engineer
World Wide Web Associates
Web: http://wwwa.com
Phone: 303.545.2399
rnered the process that was changing the perms on it, I had to
remove it and mknod it again.
--Jeff
Jeff Beard
Web Systems Engineer
World Wide Web Associates
Web: http://wwwa.com
Phone: 303.545.2399
:-Original Message-
:From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
:Behalf Of Dmitr
49 matches
Mail list logo