Gerald Richter wrote:
OLD STUFF: redhat 5.2, 2.0.36 kernel, 1.3.6 apache, 1.21 mod_perl,
perl 5.005_02, apache session 1.04 and a storable of 0.63, embperl
1.2.b10,
file system sessions and locking data.
NEW STUFF: redhat 5.2, 2.0.36 kernel, 1.3.26 apache, 1.27 mod_perl,
perl
hi perrin,
yes, i did read the discussion with interest a few months
back regarding what should be stored in a session and
what in the back end database. customer and order data
is properly stored in a secured back end system. the cart
contains data that i want to keep for 30 days, such
as
OLD STUFF: redhat 5.2, 2.0.36 kernel, 1.3.6 apache, 1.21 mod_perl,
perl 5.005_02, apache session 1.04 and a storable of 0.63, embperl 1.2.b10,
file system sessions and locking data.
NEW STUFF: redhat 5.2, 2.0.36 kernel, 1.3.26 apache, 1.27 mod_perl,
perl 5.6.1, apache session 1.54, apache
the perl.apache.org site has all the answers.
the guide is on line.
your answer is here:
http://perl.apache.org/docs/1.0/guide/install.html#Testing_via_a_CGI_script
Pierre Vaudrey wrote:
Hi,
I'm new to the list .
I'm trying to configure mod_perl on the built-in Apache server of my Mac
OSX
Chris Pizzo wrote:
$r-headers_out-set('Set-Cookie',$cc);
$r-headers_out-set('Set-Cookie',$c);
should this second one be?
$r-headers_out-add('Set-Cookie',$c);
i didn't get a chance to try it, but it should be easy to try.
ok - here is something ugly - off the top of my head.
when a user submits without a cookie, or a cookie that
u do not recognize:
1) Set-Cookie for the proper domain (i.e. .rhythym.com)
2) redirect them to the requested page, but with a fully qualified host/domain
(i.e.
there is a bug in the proxy server for apache_1.3.24.
i am not familiar with mandrake, but hopefully they have
an upgrade. if not, you will need to rebuild from source
rpms and apply this patch.
http://apache.valueclick.com/dist/httpd/patches/apply_to_1.3.24/proxy_http1.1_chunking.patch
BTW We wanted to use same apache for testing beta site along with the live
one. The perl modules used have the same name but are for different virt.
hosts, have different locations and different content and the
errors (getting content from beta modules when asking for live site) are
probably
i have a set of detailed plans that allows for a
mod_ssl front end with mutliple backends, of
which i have built mod_perl and mod_php. this
version works in a virtualhost environment (i did
not setup the php for virtualhost, but that is trivial).
it has not yet been tested in a heavy production
i had trouble using a proxy front end to both
a mod_perl and mod_php back end servers.
this works fine for me at 1.3.23, so I reverted
back to it. i copied the httpd.conf files
from the 1.3.24 to my downgraded 1.3.23
and everything worked correctly on the first
try.
i was getting garbage
Thomas Eibner wrote:
There are some few messages concerning the problem a while ago either on
this list or the dev@httpd list.
http://msgs.securepoint.com/cgi-bin/get/apache0204/1/3.html
etc.
thanks - it must have been a bad googling day yesterday since i did not come
up with this info.
Perrin Harkins wrote:
(Anyone know if mod_ssl somehow forces you to use DSO?)
it doesn't force you to use DSO.
i recently built a new server set-up using mod_proxy/mod_ssl
on the front end, and two different back ends, one with mod_perl,
and the other with mod_php. the server is set-up to
Thomas K. Burkholder wrote:
run them in two different environments - I don't think running them on
two different virtual servers is going to do it, right? Doesn't apache
just start one perl runtime? Please tell me if I'm mistaken about
there is only one interpreter, so running a module
Rob Nagler wrote:
[EMAIL PROTECTED] writes:
Looking at CGI::EncryptForm that Perrin mentioned, it appears that that
module would address this concern by storing client-side in a single
encrypted string that gets put in one hidden form variable. That also
avoids having to verify more
yes - this is VERY off topic for a mod_perl mailing list.
remember, computers are binary machines. your 323.82
was not stored like you might think. the computer approximated
using binary math. when you scaled it four places to the left,
you saw the results of the approximation. FreeBSD
one more guess - in the group of guesses. ;-)
perhaps redhat or another popular distro is
configuring standard with mod_perl (i use
redhat, but i always hand select my packages).
if this is the case, then the banner will show mod_perl,
even if the user has no idea what it is, and it
is not in
ordered my today through the website (puts a little extra money
in the hands of mod_perlers:
http://www.modperlcookbook.org/
cliff
Matt Sergeant wrote:
My copy just arrived! I'll try and get through most of it as fast as I can
and post a review.
Congrats Geoff, Paul and Randy. Looks great
how about Everest? Niagara? Multiphase? Slipstream?
DigiServer? Pointillion? Web Mammoth? SharpWeb?
Web Enterprise? EnterWeb?
Ged Haywood wrote:
Hi there,
On Tue, 29 Jan 2002, Chris Thompson wrote:
mod_perl is a lousy name.
[snip]
mod_perl needs a name. Something marketable,
first off, that looks like a spanking brand new version
of apache but an older version of mod_perl. you will
probaby be happier with mod_perl-1.26
what happens when you try the following from the command line?
perl -MApache -e 1
Rasoul Hajikhani wrote:
Folks,
After installing mod_perl-1.25
Mithun Bhattacharya wrote:
Before anyone suggests it - no I cant move to EmbPerl or Mason or
anything else.
ok
ePerl can be found as Apache::ePerl on cpan or
http://www.engelschall.com/sw/eperl/ . I wouldnt know if Engelschall is
on this list but if he is - feedback would be highly
hmmm - you are still using lwp.
here is a 1.0 protocol result via telnet:
[root@w7 /root]# telnet www.apache.org 80
Trying 64.125.133.20...
Connected to www.apache.org.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Date: Sat, 19 Jan 2002 00:37:03 GMT
Server: Apache/2.0.28 (Unix)
the guide is your friend:
http://perl.apache.org/guide
Dave Morgan wrote:
What is the difference between how a BEGIN block and an anonymous block
http://thingy.kcilink.com/modperlguide/porting/BEGIN_blocks.html
Another problem is when I try to build a SELECT HTML element
here is the learning guide and the bible.
Learning Perl
http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0596001320vm=
Programming Perl
http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0596000278vm=
make sure you get third editions for both!
here are relevant sources on
Lihn, Horng-Twu wrote:
Kee,
This helps. But if I have to do this in very page,
isn't this post a serious problem to the memory consumption?
Or not?
in what way? - u either need the code, or u don't. if u don't need
all of it, split it into smaller pieces.
-Steve
Maybe I'm missing
(Though, it's always seemed to me that it might be a decent
design to have *one* vhost dedicated to accepting payments
for the other vhosts... so when the user is ready to close
the deal they get kicked to payment.super_secure.com where
they're asked for the credit card info to finish
are you sure the new system's OS has a large enough
open files parameter?
on linux this could be modified by the parameters
/proc/sys/fs/file-max
/proc/sys/fs/inode-max
it am sure it is different on bsd, solaris etc..
John Michael wrote:
Hi
I use the perl sub below to create thumbs with
fyi - this is off topic since it does not have anything to do with
mod_perl in particular. you should really ask on:
news://comp.lang.perl.modules
or one of the other newsgroups:
news://comp.lang.perl.moderated
news://comp.lang.perl.misc
or on this helpful website:
http://www.perlmonks.org/
verify that Apache/Gateway00.pm has a true value
at the end of the module. usually this looks just like
this at the end:
1;
if not, then u can add it if this is an in house module.
if not, find out what gives from the module author.
David wrote:
Hello, I am getting this error message. Can
Brice D Ruth wrote:
What is the difference between doing the following:
close( $server );
functional interface. flush and close the file handle for this instance
of the program.
#
$server-close();
object interface - same as above.
#
$server-shutdown();
object interface. cause
for.
cliff
Brice D Ruth wrote:
Why OT? I have a script that works under IIS/5 using CGI Perl that doesn't work
under Apache with mod_perl - I'd say that's on-topic for this list!
-Brice
___cliff rayman___ wrote:
Brice D Ruth wrote:
What is the difference between doing the following
:
Couldn't you do the same thing by reversing the ordering of your
Directory entries...
On Thu, 04 Oct 2001 10:43:31 -0700,
___cliff rayman___ [EMAIL PROTECTED] wrote:
i don't think it is supposed to work this way according to the
apache documentation. if you want the most specific (longest
i don't think it is supposed to work this way according to the
apache documentation. if you want the most specific (longest) one
to take precedence, put it before the shorter one in the config file.
the relevant documenation is here:
http://httpd.apache.org/docs/sections.html
YAMAMOTO Kengo
add the line shown write above your Files section. you have to
tell the browser the mime-type. apache will do this for you, as long
as you add the proper directive to do so.
Matt Juszczak wrote:
Hello all,
I recently compiled ModPerl into Apache and added the following to my
httpd.conf:
i am not sure what they are using mod_perl for. i was there trying
to buy tickets to the britney spears concert (for my daughter) and
the servers appeared to be windowsNT. what a nightmere. hopefully
stas will be able to improve their software as well as mod_perl 2.0
Daniel wrote:
Wow, good
perhaps you can try:
use CGI::Carp qw(fatalsToBrowser)
also, checkout the guide:
http://perl.apache.org/guide/debug.html#Code_Debug
especially the section:
Using Apache::FakeRequest to Debug Apache Perl Modules
which may be helpful in this case.
Chris Brooks wrote:
Good morning all,
I
Alex Krohn wrote:
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
our $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process grows each request. Has anyone
seen this sort
and what do the error logs say?
Rasoul Hajikhani wrote:
I know this question will sound primitive to most of you, however, I
have this nagging error which won't go away.
In my httpsd.conf, I have declared PerlModule
MY::Perl::Control::WebAccess which I know is where it is supposed to
be.
and embperl will need
to be patched:
'use URI::URL'
in all places where its objects are created and
it's methods are being called.
hope this helps,
___cliff rayman___ wrote:
this is not a good fix. i went to build embperl, and got
the same URI::URL warnings when it attempted to test
with mod_perl
Jeremy Howard wrote:
Steven Sajous wrote:
From: Jeremy Howard [mailto:[EMAIL PROTECTED]]
Steven Sajous wrote:
referring to nmake with VC++
It comes with it? I don't see it
Yes it does. Run the batch file Robert mentioned and it'll work from
the
command line. You can also
i had the same problem - i was able to fix it by performing
the following patches. not sure how it is supposed to work
without the patches. so, either something is wrong with our
two configurations or something is wrong with 1.26. usually
i'd believe the former, but 1.26 has only been out for 2
::URL -e 'print $URI::URL::VERSION\n'
which returns 5.02.
This is perl, v5.6.1 built for i686-linux
Server: Apache/1.3.20 (Unix) mod_perl/1.26 mod_ssl/2.8.4 OpenSSL/0.9.6b
i'll have to do some more looking tomorrow.
___cliff rayman___ wrote:
i had the same problem - i was able to fix
startup.pl cannot be run from the command line when it
contains apache server specific modules.
Jaye Mathisen wrote:
uwb-02-chroot# uname -a
FreeBSD uwb-02.cdsnet.net 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri Aug 3 11:43:20 PDT
200
uwb-02-chroot# perl -v
This is perl, v5.6.1 built for
Perrin Harkins wrote:
In my lightweight httpd.conf, I have:
RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p]
If I go to http://www.buildreferrals.com/rotatorstats.asp, it gets proxy'd
correctly.
But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0
perhaps the escaping is not getting done
properly. is there a '[' in $OK_CHARS? can we
see what the definition of $OK_CHARS looks like?
also, for debugging - print the value of $OK_CHARS
on the line directly above the first substitution. this
will tell us if it is getting stepped on somewhere
turn on your mail headers. everything you need to
know is in there. if you are not getting properly unsubscribed,
perhaps your email address in the netscape preferences is
not the same one as you subscribed as. you should be
able to discern the correct e-mail address from the
Return-Path
i'd still use a cookie to indentify the user. why not include
the client id as part of the submission from the browser. it
is easy to keep detailed data in the cookie separate for each client
$sessionData{$clientKey}{$clientDataStuff}=$in{DATAKEY}
Stuart Frew wrote:
This is an even more
Morbus Iff wrote:
Ahhh. Ok. What's this $SIG{'USR2'} thingy. What's that do?
has changed. Am I supposed to do some checking against the file -M time
myself, and then send a USR2 signal myself?
yes. this method assumes that the administrator of apache has made
a change to a file and now
check out this section in the guide:
http://thingy.kcilink.com/modperlguide/config/A_Script_From_One_Virtual_Host_C.html
Bird Lei wrote:
I use vhost_alias_module to set up subdomains for different users.
-- at my httpd.conf
VirtualDocumentRoot /home/%-4/web
And use Apache::Registry to run
u can also use the rewrite engine - for our domain genwax.com:
RewriteCond %{HTTP_HOST}^genwax\.com$ [NC]
RewriteRule ^(.+) http://www.genwax.com$1 [R,L]
notice that it also makes sure to convert any case such as:
GeNwAx.com to www.genwax.com
--
___cliff [EMAIL
Rob Bloodgood wrote:
Or at the very least, two segments thereof:
domain=.org.tld
--- lots of snippage ---
you have it right at the top.
assuming you are operating in org.tld, so www.org.tld and modperl.org.tld
are valid boxes, then you send the domain string as .$domain. This
1) 'our' is not deprecated. it is new. i know it was in
5.6.0, not sure if it was in earlier than that. u can check
the CHANGES file to see exactly when it was added.
2) this is really a perl question, not a mod_perl question. next time
try one of the following for perl related help:
checkout the following link:
http://www.geocrawler.com/archives/3/182/2000/3/0/3377287/
the search engine at:
http://www.geocrawler.com/lists/3/Web/182/0/
is your friend.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Brian wrote:
It's all written, only problem is the mod_rewrite
i think that it should be:
warn "\$class=$class can't \$UNIVERSAL::AUTOLOAD=$UNIVERSAL::AUTOLOAD!\n";
leads to less grepping and a quicker understanding of the problem.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Aaron Johnson wrote:
So should the entry in the Guide be rewritten to:
you can only get a MAC address for those machines which
are on your same subnet. if you are using linux/unix try:
arp
sorry - but there is no reliable way to identify machines across
the internet. that is why there are 'cookies'. intel tried to make
this possible by embedding a number into
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
that's Config.pm.
which one of the variables would u change? sitelib and sitearch??
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Paul Cotter wrote:
To: "Henri Delebecque" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
"Henri" == Henri Delebecque [EMAIL PROTECTED] writes:
Henri
"Wang, Pin-Chieh" wrote:
Hi,
I build Apache_1.3.14 with mod_perl-1.25 on RedHat Linux 7.0 with DSO.
Initially both server-status and server-info works fine, but some how both
of these pages denied my display request.(403 Forbidden )
I have checked httpd.conf where I have
Location
i believe it is originally defined at compile time.
do a:
perl -V
and it will show you the compiled in perl lib locations..
you can place this at the top of your code b4 the other use directives:
use lib "/u/richm/QXZ-OSF/nsPerl5.005_03/lib/alpha-dec-osf.../webmaster/apache_1.3.19";
and it
i would use mod_rewrite, but, since this is a mod_perl forum,
i have to suggest that u write a mod_perl transhandler that does
a redirect.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Joseph Crotty wrote:
I am set up on apache_1.3.14/mod_perl currently, however, have an older
check out:
http://www.apache.org/docs-2.0/mod/core.html#filesmatch
make sure you also see the "see also". ;-)
by the way, this is standard apache configuration stuff that
has nothing to do with mod_perl.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Surat Singh Bhati wrote:
Hi,
this is no longer a mod_perl question but,
check out:
http://www.modssl.org/docs/2.8/ssl_reference.html#ToC5 - SSLSessionCache
i'm am far from an SSL expert, but this should help minimize the SSL
authorization overhead.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Sachin Lakhanpal
did u compile the perl, apache and mod_perl all with the
same compiler, assembler and linker?? you may want to search
in the archives:
solaris dso sigsegv
i remember quite a few issues a while back.
hth,
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Gary Algier wrote:
My children are
you are supposed to be able to use:
base href="/foo/bar/fred.html"
which changes the base of the document. if u really wanted to use internal
redirects, you would have to insure that all documents contained this tag,
or filter the page and include it yourself.
of course this is just a spec,
___cliff rayman___ wrote:
you are supposed to be able to use:
base href="/foo/bar/fred.html"
make that:
base href="http://host.mydomain.net/foo/bar/fred.html"
which changes the base of the document. if u really wanted to use internal
redirects, you would hav
you will probably need to post the handler if you want any help
with it.
"Sinclair, Alan (CORP, GEAccess)" wrote:
I have just installed a mod_perl URI translation handler to extract a
session id from the URI. In general the translation works correctly by
removing the session id from the URL
ged - you are just plain wrong here.
the error message is very clear. u just need to install
apache 1.3.0. to hell with bugs and security problems.
newer software is just bloated and cpu hungry anyways.
well, now i'll get pack to my port of perl 4, mod_perl, and
apache 1.3.0 for the TRS-80.
you just needed mod_perl-1.24_01.
you can get it at:
http://perl.apache.org/dist/
apparently the underscore in the patch level keeps it
from showing up as the latest release in CPAN.
cliff
Dave Dykstra wrote:
I'm not subscribed to this mailing list, but I searched the archives for
this
here is an excerpt from httpd.h:
/*
* (Unix, OS/2 only)
* Interval, in microseconds, between scoreboard maintenance. During
* each scoreboard maintenance cycle the parent decides if it needs to
* spawn a new child (to meet MinSpareServers requirements), or kill off
* a child (to meet
server was designated for Apache
only, or set it to a higher value if it were a multipurpose machine.
mod_perl/apache and paging/swapping just don't mix.
Perrin Harkins wrote:
On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
here is an excerpt from httpd.h:
Good reading. Thanks.
It looks
, rather than the number of
requests that it served.
Perrin Harkins wrote:
On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
i and others have written on the list before, that pushing apache
children into swap causes a rapid downward spiral in performance. I
don't think that MaxClients is the right
i think its worth posting to the list. it will be forever in the
archives when someone needs it.
thanks!
Balazs Rauznitz wrote:
On Wed, 17 Jan 2001, ___cliff rayman___ wrote:
i and others have written on the list before, that pushing apache
children into swap causes a rapid downward
did u check out this section in the guide yet?
http://perl.apache.org/guide/install.html#Installation_Without_Superuser_P
cliff
Dave Armstrong wrote:
I just moved from dedicated to virtual hosting sigh, and was
wondering how to configure mod_perl to install the modules to a
private lib,
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.
hmmm. i checked CPAN about a month ago, and they
had the new version. i believe CPAN is actually a bunch of mirrored
sites that the dns redirects to. I wonder if the one you ended up
getting is not getting properly mirrored?
Mike Hanafey wrote:
Thanks for the replies. Next time I will not
u need mod_perl-1.24_01 for apache-1.3.14
u might have saved yourself some patching :-)
Mike Hanafey wrote:
The httpd.h file in apache-1.3.14 has apparently changed. I hacked the
following changes to mod_perl-1.24 to fix things (it's the same change
in two files). Without the change
i see 2 things here, classic queing problem, and the fact
that swapping to disk is 1000's of times slower than serving
from ram.
if you receive 100 requests per second but only have the
ram to serve 99, then swapping to disc occurs which slows
down the entire system. the next second comes and
it's telling you to search the guide at:
http://perl.apache.org/guide/
check out in particular:
http://thingy.kcilink.com/modperlguide/troubleshooting/Undefined_subroutine_Apache_RO.html
Barry Veinotte wrote:
Undefined subroutine Apache::ROOT::cgi_2dbin::ads1::ads_2epl::handler
called at
try:
make kill_httpd sleep 5 make test
Richard wrote:
the error log
~
[Thu Dec 28 21:33:14 2000] [crit] (98)Address already in use: make_sock: could not
bind to port 8529
~
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
___cliff rayman___ wrote:
perhaps doug or someone with the proper authentication can
s/authentication/authorization/
move the mod_perl-1.24 version into the old directory on:
http://perl.apache.org/dist/
cpan looks like it is up to date and only shows the 1.24_01 version.
Stas Bekman
here are a couple i know about - no personal experience however,
i prefer homebrew :-))
http://www.zelerate.com/html/eng/home.shtml
http://www.extropia.com/products.html
The Doctor wrote:
Needed :
Perl programmes for a 'member' Shopping cart site that would do the
following:
Authenticate
you need version 1.24_01 to use apache 1.3.14
http://perl.apache.org/dist/mod_perl-1.24_01.tar.gz
"Wang, Pin-Chieh" wrote:
I am trying to build apache v.1.3.14 with Mod_perl v. 1.24 using APACI
I am using Perl 5.6 build 620 - the latest
I ran perl Makefile.PL under mod_perl-1.24 directory
check out the perl guide at:
http://perl.apache.org/guide
also, you can search through the mail archives at:
http://www.geocrawler.com/lists/3/web/182/0/
you might have compiled as a DSO and not used the same compiler,
or compiler parameters.
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
yes - in order to use apache 1.3.14 you need
mod perl 1.24_01 which you can get from here:
http://perl.apache.org/dist/
enjoy,
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
don carnage wrote:
Hello all -- I recently downloaded apache 1.3.14 and mod perl 1.24 and
received the
Robin Berjon wrote:
But on a related issue, I got several logfiles corrupted because I log
user-agents there and some seem to use some unicode names that confuse
Apache and convert to \n. Does anyone else have this problem ? I don't
think it could lead to server compromission, but it's never
here is something that occurred to me, but it is untested, and could be
plain foolish.
place a file named warnings.pm in your 5_00405 include path that contains the
infamous:
1;
this may help to quiet StatInc.
Chris Strom wrote:
No, I don't have warnings.pm. It is only included in 5.6. We
Bill Moseley wrote:
But it's amazing how many are just lame in that they take perfectly good
HREF tags and mess them up in the request. For example, every day I see
many requests from Novell's BorderManager where they forgot to convert HTML
entities in HREFs before making the request.
"Christopher L. Everett" wrote:
Hello All:
I've written some mod_perl scripts that need testing
over a million hits or so before I deploy it. I need
to prove to myself and my marketing guy that my script
has certain statistical properties, not the least of
which is the question of
i'm not an expert with this, but, a quick grep for your error in
the apache source (mine is still 1.3.9 ) and some digging yield:
./include/httpd.h:#define DEFAULT_LIMIT_REQUEST_FIELDSIZE 8190
so you're right, 8K is currently the apache limit. if you try to change this value in
the source code,
embperl 'subs' do not return subroutine values.
you need to either make a regular subroutine
[- sub get_date { ... } -]
or use a global variable for return values. such as @GLOBAL. kind of ugly - but is it
any uglier than @_ for the input values?
"Genocchio, Anthony" wrote:
I am having
go to the guide:
http://perl.apache.org/guide/
click on search
type 'environment'. also try, ENV
there are several examples which may answer your question.
Pires Claudio wrote:
sorry if thuis is a elementary question
how can I assign a new environment var from mod_perl or change the
doug, lincoln,
looks like www.modperl.com needs a link to errata.
martin,
check out:
http://www.ora.com/catalog/wrapmod/errata/wrapmod.699
martin langhoff wrote:
Thanks Tim and all,
for-the-record, I did check www.modperl.com looking for an
errata.
marks down for O'Reilly
i think you'll find the answer here.
http://www.geocrawler.com/archives/3/182/2000/5/0/3817939/
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
MJ M wrote:
Hello,
I have recently made the following upgrade:
apache-1.3.6 -- apache-1.3.12
perl-5.005_02 -- perl-5.6
mod_perl-1.18 --
i think that this technique works with netscape but not with IE. on IE you have to
set-up channels.
Ime Smits wrote:
| Plain old meta refreshes. Usually every 5 or 10 seconds or so. Perhaps
| configurable on a user and/or server basis.
You could make it even more smooth by doing a
Matt Sergeant wrote:
Gzipped results to the browser, ripped straight from Apache::GzipChain:
# AxKit::Debug(5, 'Getting Vary header');
# my @vary = $r-header_out('Vary') if $r-header_out('Vary');
# push @vary, "Accept-Encoding", "User-Agent";
# AxKit::Debug(5, 'Setting
i may be coming in late here, so forgive me if this has been mentioned:
use CGI::Carp qw(fatalsToBrowser);
not sure if everything you want will be sent to the browser, but it is better
than a standard 500 error, and you can read the errors from the log easier.
--
___cliff [EMAIL
i think this is FAQ you are looking for:
http://thingy.kcilink.com/modperlguide/modules/Apache_OutputChain_Chain_Sta.html
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Rodent of Unusual Size wrote:
This is probably a FAQ, in which case I'll accept my wet-noodle
lashings and follow any
2 main things to read for mod_perl apache:
the guide:
http://perl.apache.org/guide/
the book:
http://www.oreilly.com/catalog/wrapmod/
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
good luck,
[EMAIL PROTECTED] wrote:
Let me start with "I'm new".
If this is the wrong forum, let me
Ian Mahuron wrote:
What is the proper way to take the filehandle provided by $upload-fh and write the
file to disk? I seem to be having buffering
issues w/ the following (file is truncated):
if (open(OUTFILE, "$u_fullpath")) {
print OUTFILE $buffer while read($fh, $buffer,
Derek Simkowiak wrote:
2) One webpage I've read says that mod_perl "compiles" (interprets) each
Perl script only once, and then retains the compiled code in memory. Is
that something that was custom-made for mod_perl, or is that a feature of
using an embedded Perl interpreter? Can you
have u read this yet?
http://perl.apache.org/guide/scenario.html#mod_proxy
Edward Moon wrote:
I'm looking for docs or white papers on tuning apache/mod_proxy for
optimum performance when acting as a reverse proxy for a web farm.
Can anyone point me to a URL or a book that's a good
1 - 100 of 146 matches
Mail list logo