RE: use http-equiv to refresh the page

2002-11-06 Thread Eric L. Brine
. 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

Any way to list what compile options were used?

2002-07-10 Thread Eric L. Brine
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

Re: Eval block error trapping bug????

2000-09-08 Thread 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'}; #

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Eric L. Brine
"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

Re: HTML Template Comparison Sheet ETA

2000-09-04 Thread Eric L. Brine
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

Re: multilanguage site

2000-09-02 Thread Eric L. Brine
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,

Re: multilanguage site

2000-09-01 Thread Eric L. Brine
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

Re: tie question

2000-08-03 Thread Eric L. Brine
. 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.

Re: [RFC] Do Not Run Everything on One mod_perl Server

2000-04-18 Thread Eric L. Brine
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

Re: THREE STRIKES...

2000-04-07 Thread Eric L. Brine
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.

Re: Silly Question

2000-04-07 Thread Eric L. Brine
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.

Re: Storing hashes in Apache::ASP

2000-01-06 Thread Eric L. Brine
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.

Re: can't open stdout--a problem about CGI

2000-01-03 Thread Eric L. Brine
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

Re: PerlRun and Exporter() vars

1999-12-29 Thread Eric L. Brine
); } [...] 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

Re: [Embperl] Bareword not allowed !

1999-12-22 Thread Eric L. Brine
; 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

Re: ASP.pm and Date::Manip/DBD::Sybase

1999-12-20 Thread Eric L. Brine
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

Re: open 2 question

1999-12-19 Thread Eric L. Brine
} 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

Re: Holding files open and locking

1999-12-19 Thread Eric L. Brine
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

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-16 Thread Eric L. Brine
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.

Re: all protected but one...

1999-12-15 Thread Eric L. Brine
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.

Re: 'var' instead of var ... (getting crazy)

1999-12-15 Thread Eric L. Brine
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

Re: Limiting CPU (was Re: embperl pages and braindead sucking robots)

1999-12-14 Thread Eric L. Brine
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

Re: Win32+modperl+EmbPerl - some questions ...

1999-12-13 Thread Eric L. Brine
'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

Re: return() and REDIRECT Disasters Within mod_perl: Please Help

1999-12-03 Thread Eric L. Brine
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.

Re: STDIN reads everything as one line

1999-11-27 Thread Eric L. Brine
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

Re: How to run a secure mod_perl ?

1999-11-24 Thread Eric L. Brine
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

STDIN reads everything as one line

1999-11-24 Thread Eric L. Brine
-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

Re: Question on STDIN

1999-11-23 Thread Eric L. Brine
$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.

Re: sh and mod_perl

1999-11-16 Thread Eric L. Brine
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

Re: perl variable in configs for few virtual servers

1999-11-16 Thread Eric L. Brine
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.

Re: silly perl question

1999-11-12 Thread Eric L. Brine
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

Re: Trying not to re-invent the wheel

1999-11-10 Thread Eric L. Brine
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.

Re: Apache::ASP fork

1999-11-09 Thread Eric L. Brine
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

Re: weird message...

1999-10-12 Thread Eric L. Brine
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.