.
So http-equiv=refresh is no longer standard. Of course, this is all
theoretical. In practice, too many people are not easily swayed by a measily
thing such as a standard.
--
Eric L. Brine | ICQ: 4629314
[EMAIL PROTECTED] | MSN: [EMAIL PROTECTED]
http://www.adaelis.com/ | AIM
Is there any easy way to check which options were used to compile mod_perl.
Or more specifically, is there an easy way to check which type handlers a
mod_perl build allows, if it allows stacked handlers, if it allows method
handlers and if it allows perl sections? Thanks.
--
Eric L. Brine
Under mod_perl, the die() within the eval block causes the
program to really die.
Does your program (maybe CGI.pm or something used by CGI.pm?) set
$SIG{'DIE'}? IIRC, $SIG{'DIE'} has precedence over eval{}, something
many consider to be a bug.
If so, I'd try:
eval {
local $SIG{'DIE'}; #
"Paul J. Lucas" wrote:
And I still think that:
DIV CLASS="employee_info"
Name: SPAN CLASS="text::name"John Q. Public/SPANBR
Job: SPAN CLASS="text::job"mod_perl guru/SPAN
/DIV
is cleaner still: *pure* HTML (no fake elements) that
ELB Great idea, but just one note; ':' is not legal in CSS class names.
ELB In fact, underscores are not even allowed in CSS class names!
PL So? They aren't CSS class names.
In the preview mode, they are treated as such, so in effect they are.
Therefore, the document claims does not conform
As far as I can tell there's no way in html to indicate to the
browser that a chunk of content is in some other encoding other
than what was specified in the headers or meta tag. There's no
span charset=... attribute or anything like that.
Yes, there is.
None exists in the standard,
As far as I can tell there's no way in html to indicate to the browser
that a chunk of content is in some other encoding other than what was
specified in the headers or meta tag. There's no span charset=...
attribute or anything like that. This seems to make truly multilingual
pages
. It's
been a while.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
instead of the other way around!
use mod_perl (8080, 3); # (port, #processes)
Sorry, feeling philosophical this morning. Thanks for the report.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314
returning a message saying the
attack failed would help too.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
of as a
mod_perl script. CGI scripts can run as root without running the server as
root.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
n-{Stuff}{$i}\n" );
}
%
/pre/body/html
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
I think the script can't open STDOUT in a child process under
CGI, a simpler statment: system("ls") didn't work too, until
I chanaged it to: print `ls`;
See http://perl.apache.org/guide/porting.html#Output_from_system_calls
--
Eric L. Brine | Chicken: The egg's way of making
);
}
[...]
Is this [...] A bug?
no. This problem is not related to PerlRun or the flushing of the name
space; the problem would also occur if one tried to use the module from
two different scipts/modules (in the same child).
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you
;
sub;# ok # same as sub(@_);
sub; # ok # same as sub(@_);
sub(); # ok
sub(); # ok # same as sub();
}
{
use strict;
sub;# not ok # same as sub(@_);
sub; # ok # same as sub(@_);
sub(); # ok
sub(); # ok # same as sub();
}
ELB
--
Eric L
there a
directive that sets environment variables? You might find a solution if
you have a look at (or use) that directive.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes
}
I think you will need to use the select(RBITS,WBITS,EBITS,TIMEOUT)
function (see perlfunc) or its OO equivalent, IO::Select.
ELB
PS - This does not belong on the mod_perl list.
Try somewhere else next time, such as comp.sys.lang.perl.
--
Eric L. Brine | Chicken: The egg's way of maki
of time,
unless the file is already locked. If the file is already locked and you
ignore the lock, it defies the the whole purpose of locking them in the
first place.
Anyway, just looking for ideas.
Have you considered logging to a database?
ELB
--
Eric L. Brine | Chicken: The egg's way of making
the innocent, here and
everywhere.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
tuntaly, I don't know the name of the default
handler.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
of the
request? Maybe they add the quotes by accident. Is the requested proxied
from a front-end or is mod_rewrite used? The quotes may be introduced
there by accident.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ
east 50% of the time (when downloading image archives). In
other words, it's possible for a user can configure Teleport Pro to
hammer a server, but it behaves respectfully using the default settings.
Their site: http://www.tenmax.com/
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eg
'use HTML::Embperl' ( startup.pl) both don't work!
Is this a special "Win32-behaviour"?
I might be wrong, but I thought Embperl should never be loaded in startup.pl,
even in UNIX.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you
in the guide
which recreates the content.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
ent_remain'}
: $Apache::READ_BLOCK_SIZE;
);
$r-read($block='', $num_bytes);
return undef() unless (defined($block));
$self-{'content_buf' } .= $block;
$self-{'content_remain'} -= $num_bytes;
}
}
ELB
--
Eric L. Brine | Chicken: The
for performance reasons and to reduce memory and CPU usage. Refer
to the guide.
If you're the only one using the mod_perl server and it crashes (which
probably doesn't happen), then noone else is affected and your hosting
service is happy.
ELB
--
Eric L. Brine | Chicken: The egg's way
-length'));
$line;
}
This snippet is the tied sub which handles line reads from STDIN.
Apparently, his problem had nothing to do with $/ as was suggested. I
guess he should be using $r to access the POSTed data.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL
$line = STDIN;
}
$r-print("$line\n");
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
s executed, but it's output is not piped to Apache. I
believe perl (or is it mod_perl) needs to be compiled with a certain
option for this to work. I believe the following works, though:
print(`/tmp/test.sh`);
or maybe do you own fork?
ELB
--
Eric L. Brine | Chicken: The egg's way of making
ResourceConfig conf/srm2.conf
/VirtualHost
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
can be a statement. For example,
b = c + d
is an expression since one can say
a = (b = c + d)
but it can also be used as a statement. Similarly,
'string'
and
e++
are expressions and therefore can be used in other expressions and as
standalone statements.
ELB
--
Eric L. Brine | Chicken
s/etc
logic for free.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
gzip stdout.txt
or you could call exec() as follows:
exec('sh -c "java PursuitSpider stdout.txt; gzip stdout.txt"');
Btw, I believe Java has built in support for gzip compression in the
java.util.zip package which is part of the java API.
ELB
--
Eric L. Brine | Chicken: The
quot;debug", so switching to level "info"
will stop these from appearing.
Again, search the list's archive to confirm this.
ELB
--
Eric L. Brine | Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED] | Do you always hit the nail on the thumb?
ICQ# 4629314 | An optimist thinks thorn bushes have roses.
34 matches
Mail list logo