On Tue, 23 May 2000, Jim Serio wrote:
Like I said, the cookie is being set, but I can't read the cookie.
Apache::Cookie-fetch('cookie_name'); doesn't work.
this is a fixup handler? you shouldn't be sending the complete http
header there. you should use $r-headers_out like you did in your
On Tue, May 23, 2000 at 04:07:40PM -0700, Perrin Harkins [EMAIL PROTECTED] wrote:
This is a combination of closures and PerlFreshRestart biting
(still no closures)
My example might be misleading, since I used x before it was defined (to make
the example short). Typical examples look like this:
On Wed, May 24, 2000 at 12:52:37AM +0300, Stas Bekman [EMAIL PROTECTED] wrote:
You can control what's being reloaded and what's not:
http://perl.apache.org/guide/config.html#Apache_Restarts_Twice_On_Start
Huh? Why is "do" a bad thing
Do is bad because it is called every time, even if you've already executed
You are confused about the two different forms of do. The do BLOCK form I
used has nothing to do with the do EXPR form you seem to be confused about.
perldoc -f do explains the
On Tue, 23 May 2000, Perrin Harkins wrote:
Your sub x is a closure. That's why it returns the previous value of
No. In perl, a closure is *defined* as "anonymous subroutine" (see the
documentation). If you define it different, you are right, but you are not
talking about perl then.
--
On Tue, May 23, 2000 at 08:22:59PM -0700, Doug MacEachern [EMAIL PROTECTED] wrote:
If this were true, it would be very bad. If there is no technical
need to do this "half-reloading" then it should definitely be turned
off.
it is off by default, you turned it on with 'PerlFreshRestart On'
I dived into CGI.pm, and I found what probably the problem is.
When one calls CGI-cookie(), CGI will create a default query object,
stored in the package global $CGI::Q, and in CGI::cookie(), it does
some caching for performance issues. That seems to make things screwed up.
It follows that
Hi,
I'm new to all this and forgive me if my questions are basic
My question is how scaleable is Apache in terms of performance when i use
IPC from a mod_perl script? I basically want to have the Apache child
process handling the request to communicate with another process (using
try this in httpd.conf:
Perl
delete $INC{'Apache/PerlVINC.pm'};
require Apache::PerlVINC;
/Perl
Apache start up now (why does mod_perl not do this, can you
explain?), however I get the following error when trying to
access a page that contains the reloaded module:
[EMAIL PROTECTED] (Marc Lehmann) wrote:
flag to keep from compiling again and checking $@ yourself, so you're
getting around these problems, but the file form of do is generally a red
flag.
This is just as saying "division is a bad thing in general, because it
let's you try to divide by
The URL
http://www.masonhq.com/download/HTML-Mason-0.87.tar.gz
has entered CPAN as
file: $CPAN/authors/id/J/JS/JSWARTZ/HTML-Mason-0.87.tar.gz
size: 258934 bytes
md5: d5cffa74a749b2530daaca6a4ab7caf6
This fixes a multiple GET/POST argument glitch introduced in 0.86,
reported by Matt
"tayers" == [EMAIL PROTECTED] writes:
tayers Given the above more complete descriptions I would say the usage in
tayers Lperlsub is confusing.
I agree with that, and with your general observation. From my hanging
out on P5P, a subroutine is only a closure when it sees lexical
variables and
"JS" == Jim Serio [EMAIL PROTECTED] writes:
JS This brings up a not-so-mod_perl question. Is there a way to telnet
JS to name-based virtual hosts? Can I spoof the GET request?
No need to spoof anything, the protocol is entirely ASCII so you can
just type the proper commands in your telnet
As far as I have tested under Apache::Registry the following commands have
the following effect
1) CORE::exit - restart all child processes for that server ( a little too
drastic for me)
2) exit - exit code but leave state of all modules the same
What am am really after is an exit which just
On Wed, 24 May 2000, Peter Haworth wrote:
Jeffrey W. Baker wrote:
I have read all of the messages in regarding the zygotic
HTML::Forms/FormGen project, and I like the idea. However, I hope that
the inplementation of such a beast isn't in Perl. To ensure that a
quality product results,
I'm coming to this discussion quite late since I only just
resubscribed having changed jobs. Well, quit a job and gone
freelance.
As it happens, I've just written a form generation library, but one
that's driven by being mapped directly on top of a database table. It
can deduce the various
Hi,
I had to deal in a similar situation, Since the process that I wanted to
talk was on the same machine, I ended up using UDP sockets ( the other
process already spoke UDP), I was blocking on the select for a couple of
milliseconds, and this did not affect performance much ( 30
Hi all,
I am trying to limit the execution of a mod_perl script by setting the limit of
RLimitCPU. But
this does not seem to work. I am using apache 1.3.12 , mod_perl. I tired using the
module
Apache::Resource but even that did not work.
Does any body know why this is or am i missing
On Wed, 24 May 2000, Marc Lehmann wrote:
On Wed, May 24, 2000 at 12:52:37AM +0300, Stas Bekman [EMAIL PROTECTED] wrote:
You can control what's being reloaded and what's not:
http://perl.apache.org/guide/config.html#Apache_Restarts_Twice_On_Start
Jeffrey W. Baker wrote:
On Wed, 24 May 2000, Peter Haworth wrote:
Jeffrey W. Baker wrote:
myInput = hfTextInputNew();
myInput-addAttr(myInput, "name", "first_name");
myInput-addAttr(myInput, "value", "Jeffrey");
printf("%s\n", myInput-render(myInput));
myInput-destroy(myInput);
--Geoff--
Also, as I mentioned earlier, I couldn't get "domain=...;" to work.
make sure that the domain has a dot in front of it and that it
matches the hostname of the box (RFC 2109):
$headers_out-add('Set-Cookie', "name=$val; domain=.foo.com;");
Ah-HA! I *don't* think I used a dotThat
On Wed, 24 May 2000, Marc Lehmann wrote:
I was under the impression that you cannot configure Apache from a
PerlRequire. If that is not the case (and somehow works) I'd really like
to get away from perlsections.
You can only configure Apache from Perl sections, but you can load all
your
On Wed, 24 May 2000, Peter Haworth wrote:
Jeffrey W. Baker wrote:
On Wed, 24 May 2000, Peter Haworth wrote:
Jeffrey W. Baker wrote:
myInput = hfTextInputNew();
myInput-addAttr(myInput, "name", "first_name");
myInput-addAttr(myInput, "value", "Jeffrey");
printf("%s\n",
Hi all,
I'm having a serious, but intermittent, problem with my Apache::Registry
scripts. I have 2 (soon to be more!) site running on the same physical
server. Each site is driven by a set of short perl-script scripts. The
scripts execute code in OO modules that are shared among all servers.
The
Hello all,
Great work on the Apache::ASP module. We're using it to port an
entire website from VBScript-IIS Web Server-Windows NT to a much more
stable/powerful Perl-Apache-Linux. Without it, we'd be in for a long
haul. We are currently working on a content editor and have run into a
Would there ever be any difference between the output of the following:
(looking on the mod_perl quick reference card)
From Apache::URI
$str = $uri-query()
From Request object
$str = $r-args();
As far as what they hold about the request, would these ever differ, or
do they
Hi all,
I am encountering strange problems on redhat 6.2 installations with
rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available
versions from redhat. I _have_ to use rpm's). I've tried two machines.
As soon as load certain modules the server exits immediately, without
producing
Hi there,
On Wed, 24 May 2000, Mark Hewis wrote:
What am am really after is an exit which just restarts the child process (it
is called in) resetting all module globals any suggestions?
die() ?
END{} is called at the end of each processed request
They are only processed for each request
Fred Miller wrote:
Doug MacEachern wrote:
looking at the line number, i would try replacing any occurance of:
perl_eval_sv - eval_sv
perl_call_sv - call_sv
perl_call_pv - call_pv
I wish I was experienced enough to know what this means.
Now I think I'm starting to get confused.
I saw a post recently (possibly elsewhere, if so I'm sorry for the
spam) stating that on Sep 8 next year timestamps (the number of seconds
since 00:00:01 1/1/70, the UNIX epoch) will hit 10 digits for the first
time. The comment was that it might be something like the Y2K problem.
I tried a few
"P" == Paul [EMAIL PROTECTED] writes:
P It's a signed 4-byte integer.
P Not an issue of horrendous urgency yet,
P but maybe we should think about it before 2037? =o)
Errr... Are you new to Unix? This is a very well known issue... and
really has nothing to do with mod_perl.
The only thing
This isn't a big issue, but I'm curious if anyone else has seen this.
I had 'use POSIX;' in one of my modules which was supposedly being
reloaded with Apache::StatINC.
If while editing my code I had a syntax error, and the module would
either return "Internal Server Error" or "Document
I'm getting this on every startup:
Constant subroutine XHTML_DTD redefined at /usr/lib/perl5/5.00503/constant.pm line
175.
what's this about?
I just upgraded to the latest mod_perl, Apache, and HTML::Mason all at
the same time. I'm a masochist. :-) My Perl is still 5.5.3 though. :)
On Wed, May 24, 2000 at 11:30:40AM -0700, Perrin Harkins [EMAIL PROTECTED] wrote:
example did something similar, indeed, but it had to be embedded into the
module source, which is somewhat inconvinient.
If you don't have PerlFreshRestart turned on (it is not recommended on
production
Anthony Cinelli wrote:
Hello all,
Great work on the Apache::ASP module. We're using it to port an
entire website from VBScript-IIS Web Server-Windows NT to a much more
stable/powerful Perl-Apache-Linux. Without it, we'd be in for a long
I love it.
haul. We are currently working on
sridhar wrote:
I am trying Apache ASP under Solaris 7 with Apache 1.3.12 mod_perl enabled.
I have successfully Apache JServ and mod_perl, both are working fine. Before
installing Apache::ASP I have installed all the required modules like
Apache-Filter, Apache-SSI, HTML Parser etc. The
At 16:44 24/05/2000 -0700, Randal L. Schwartz wrote:
I'm getting this on every startup:
Constant subroutine XHTML_DTD redefined at
/usr/lib/perl5/5.00503/constant.pm line 175.
what's this about?
This is what happens when you 'use constant FOO = "bar";' more than once.
It's a problem in one
Hi,
I am tryong to compile modperl with gcc2.8.1 on solaris 7.
Even before make finishes I get out with error:
mod_perl.c at line 278 'aptestconfigonly' - Unresolved symbol.
I picked it up today afternoon from ftp site of perl.apache.org.
I have this if condition line and next line continued
38 matches
Mail list logo