Re: Encoding problem

2010-04-26 Thread Alexander Hartmaier
utf-8 flag. -- Best regards, Alex Am Donnerstag, den 22.04.2010, 21:05 +0200 schrieb Jean-Christophe Boggio: > Hi Alexander, > > Alexander Hartmaier a écrit : > > You should *always* return the correct charset in the http header, no > > matter which framework/cgi script you'

Re: Encoding problem

2010-04-22 Thread Alexander Hartmaier
You should *always* return the correct charset in the http header, no matter which framework/cgi script you're using. AddDefaultCharset in apache is bad because it appends that header for every resource which didn't specify it. -- Best regards, Alex Am Donnerstag, den 22.04.2010, 02:53 +0200 sc

Re: AW: FastCGI deployment

2009-10-27 Thread Alexander Hartmaier
ther with FCGI.pm, > which is used by embpfastcgi.pl > > Gerald > > -Ursprüngliche Nachricht- > Von: Alexander Hartmaier [mailto:alexander.hartma...@t-systems.at] > Gesendet: Montag, 19. Oktober 2009 20:12 > An: embperl@perl.apache.org > Betreff: FastCGI deployment &g

FastCGI deployment

2009-10-19 Thread Alexander Hartmaier
Hi! I've migrated my current mod_perl setup to mod_fcgid (not fastcgid, because fcgid is included in Debian) today but the processes terminate as soon as the request has been handled which leads to really bad performance. Any idea why this is happening? That's my current apache config from the

Re: Embperl Abandoned: Next Steps?

2008-09-17 Thread Alexander Hartmaier
On Fri, 2008-09-05 at 17:09 +0200, Neil Gunton wrote: > Williams, David G. (HQ-JF000)[INDUS] wrote: > > It now seems abundantly clear that Embperl development/discussion has > > become very dormant. Perhaps it has been abandoned. I don't wish to > > criticize Gerald for abandoning this project, r

Re: Embperl/2.0b10 Apache/2.0.48 (Unix) mod_perl/1.99_12 Perl/v5 .6.1 Slow on Debian Woody 3r2

2004-02-11 Thread Alexander Hartmaier
Hi! Since yesterday I have exactly the same configuration as you (cause Fedora Core 1 and Whitebox 3.0 both segfault when using GD::Graph). I used apt to install apache2 and mod_perl (unstable tree). I installed all perl modules including embperl using CPAN ('perl -MCPAN -eshell' and then 'insta

Antwort: Embperl.so not found? But its there!

2004-02-05 Thread Alexander Hartmaier
Hi! Is the file readable by the user who is running apache (the one defined in httpd.conf)? Greetings, Alex Von: "Hemond, Steve" <[EMAIL PROTECTED]> am 05.02.2004 17:08 An: [EMAIL PROTECTED] Kopie:Gerald Richter <[EMAIL PROTECTED]> Thema:Embperl.so not found? But its there!

Which distros do you use?

2004-01-23 Thread Alexander Hartmaier
Hi list! I use RedHat 9, AS3 and Fedora. httpd segfaults on AS3 and Fedora when using GD::Graph. I tried under debian 3.0 unstable and everything worked flawless. I'm now looking for a different distro for my application servers which doesn't have such huge problems like RedHat (segfaults, not a

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-16 Thread Alexander Hartmaier
Hi! Doesn't change anything ;-( Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 16.01.2004 07:38 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED] Kopie: Thema:Re: [mp2] segfault when generating graphs with GD::Graph under Embperl Hi Alex, does

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-15 Thread Alexander Hartmaier
Ok! Please inform me when the cvs is updated! Thanks, Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 15.01.2004 14:55 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED] Kopie: Thema:Re: Antwort: Re: [mp2] segfault when generating graphs with GD:

Antwort: Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-15 Thread Alexander Hartmaier
When I use these versions under debian they also work!!! The problem exists only with these 3 versions! Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 15.01.2004 13:57 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED] Kopie: Thema:Re: [mp2] segfaul

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-15 Thread Alexander Hartmaier
Hi! Did you use Fedora Core 1, RedHat Advanced Server 3.0 oder WhiteBox Linux 3.0 (which is a srpm-recompiled and free version of RedHat AS 3.0)? Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 15.01.2004 13:08 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PRO

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-15 Thread Alexander Hartmaier
Hi! Do you have news for me Gerald? I need to install new servers for my application and don't know which distro i should use. I'd like to use Whitebox Linux 3.0 but as long so the segfaults exist i can't use it! Thanks, Alex Alexander Hartmaier 05.01.2004 18:05 An: [

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-05 Thread Alexander Hartmaier
Hi! @Gerald: Can you look at the backtrace from the core dump please?! I think you understand better whats going on than Joe Orton from RedHat... Thanks, Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2004-01-05 Thread Alexander Hartmaier
Hi! I've submitted the bug to redhat: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112742 Yours sincerly Alexander Hartmaier T-Systems T-Systems Austria TCS/Network Monitoring & Security Specialist address: Hofmühlgasse 3-5, 1060 Wien telephone: +43 (0)57057 - 4320 fax: +43

Antwort: Re: Antwort: Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-12-30 Thread Alexander Hartmaier
Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 14.11.2003 14:19 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED] Kopie: Thema:Re: Antwort: Re: [mp2] segfault when generating graphs with GD::Graph under Embperl Hallo Alexander, ich schau mir das mal an, aber ich kann noc

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-14 Thread Alexander Hartmaier
snip from httpd.conf: SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Yours sincerly Alexander Hartmaier T-Systems T-Systems Austria TCS/Network Monitoring & Security Specialist address: Hofmühlgas

Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-14 Thread Alexander Hartmaier
=> 'Perl', param => ["$date", 'dest']}); -] Both lead to a segfault. BUT: If i call flow-graph.pl directly from the browser the page works!!! @Martien: I forwarded the mail to you too because maybe you know something about the problem as it occurs only with

Antwort: Re: Antwort: Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-13 Thread Alexander Hartmaier
4 0x005e3940 in ?? () #5 0x09f72cf4 in ?? () (gdb) Doesn't look like a better output than without debugging option... I never did this before. Is something missing? THX Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 13.11.2003 15:44 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTE

Antwort: Re: [mp2] segfault when generating graphs with GD::Graph under Embperl

2003-11-13 Thread Alexander Hartmaier
useful? Should I compile with debugging symbols? If yes what? apache or mod_perl? or embperl? Thanks, Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 12.11.2003 07:55 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED] Kopie:[EMAIL PROTECTED] Thema:Re

Re: sigfault with 2.0b9

2003-11-11 Thread Alexander Hartmaier
How did you solve the problem exactly??? I've got a very similar problem. My apache sigfaults when i generate a graph (using GD::Graph) under mod_perl-1.99_11. The exact system specs are in one of my previous mails I absolutely don't know what to do now...I compiled mod_perl with debugging symb

Antwort: Re: Re: compile embperl on fedora core 1

2003-11-10 Thread Alexander Hartmaier
ry if this works. Alex Von: Gerald Richter <[EMAIL PROTECTED]> am 07.11.2003 20:29 An: Alexander Hartmaier/DEBIS/EDVG/[EMAIL PROTECTED], [EMAIL PROTECTED] Kopie: Thema:Re: Re: compile embperl on fedora core 1 > #35 escape.htm... > Error in Line 44 > Is: >Hashin

Re: Re: compile embperl on fedora core 1

2003-11-07 Thread Alexander Hartmaier
Kopie: Thema:Re: compile embperl on fedora core 1 On Fri, Nov 07, 2003 at 03:31:29PM +0100, Alexander Hartmaier wrote: > I just looked after the missing .h files: > > They are located in '/usr/include/apr-0' (from the apr-devel rpm). > > Maybe this path needs to be i

Re: compile embperl on fedora core 1

2003-11-07 Thread Alexander Hartmaier
Hi again! I just looked after the missing .h files: They are located in '/usr/include/apr-0' (from the apr-devel rpm). Maybe this path needs to be included as well as '/usr/include/httpd'??? Alex - To unsubscribe, e-mail:

compile embperl on fedora core 1

2003-11-07 Thread Alexander Hartmaier
Hi! I'm trying to install embperl on fedora core 1 linux. These devel packages are installed additionally: apr-devel apr-util-devel httpd-devel mod_perl from fedora core 1 is used (mod_perl-1.99_09-10) Embperl 2.0b9 won't compile so i took the CVS snapshot ( embperl_20031107111845.tar.gz). A

RE: RE: alternative ways of passing form data

2003-08-08 Thread Alexander Hartmaier
Hi! THX for the help...I was looking hours for a solution! Now it works =) Alex [EMAIL PROTECTED] (Tom Briles) am 05.08.2003 17:56:04 An: [EMAIL PROTECTED] (Alexander Hartmaier), [EMAIL PROTECTED] Kopie: (Blindkopie: Alexander Hartmaier/DEBIS/EDVG/AT) Thema:RE

alternative ways of passing form data

2003-08-06 Thread Alexander Hartmaier
Hi List! I've got a problem with passing form data. The webpage shows all available radius users, interfaces or webserver statistics (depending on the cgi var 'grouptable') and the user can check all which should be member of the selected group. The problem is that the count of radius users is s

Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-25 Thread Alexander Hartmaier
Hi list! Finally I discovered what was my problem with apache 2.0.46, mod_perl 1.99-10dev and Embperl 2.0b9 on RedHat 8. After uninstalling mod_perl-1.99_05-3 the file /etc/httpd/conf.d/perl.conf was also removed and in this file mod_perl gets loaded!!! I added the line LoadModule perl_mo

Re: Re: Re: Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-18 Thread Alexander Hartmaier
Hi! I've only perl 5.8.0 installed which comes with RedHat 9. I also recompiled everything and uninstalled mod_perl 1.99_07 which ships with RedHat 9...nothing works. Any ideas? Alex [EMAIL PROTECTED] (Gerald Richter) am 16.06.2003 16:04:58 An: [EMAIL PROTECTED] (Alexander Hart

Re: Re: Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-16 Thread Alexander Hartmaier
/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Embperl/Embperl.so: undefined symbol: Perl_gv_stashpv Does anybody know what I did wrong? THX Alex [EMAIL PROTECTED] (Alexander Hartmaier) am 16.06.2003 13:40:04 An: [EMAIL PROTECTED] Kopie: (Blindkopie: Alexander Hartmaier/DEBIS/EDVG/

Re: Re: Embperl 2.0cvs or 1.3.6 with Apache 2.0 and Perl 5.8.0

2003-06-16 Thread Alexander Hartmaier
y make: *** [test_dynamic] Error 8 Seems that the error is still there...what do you think Gerald??? Greetings, Alex [EMAIL PROTECTED] (Gerald Richter) am 13.06.2003 20:24:05 An: [EMAIL PROTECTED] (Bryan Thale) Kopie:[EMAI

Re: Re: BUGS IN Embperl 2.0b9

2003-06-10 Thread Alexander Hartmaier
Hi! It's a standard RedHat 8.0 box with all security updates. perl 5.8.0-55 mod_perl 1.99_05-3 httpd 2.0.40-11 The typo should be fixed asap... Alex [EMAIL PROTECTED] (Gerald Richter) am 10.06.2003 14:35:19 An: [EMAIL PROTECTED] (Alexander Hartmaier), [EMAIL PROTECTED]

BUGS IN Embperl 2.0b9

2003-06-10 Thread Alexander Hartmaier
sion = 2 repeat = 3 ERRORS detected! NOT all test have been passed successfully make: *** [test_dynamic] Error 8 THX Alex [EMAIL PROTECTED] (Gerald Richter) am 10.06.2003 05:53:20 An: [EMAIL PROTECTED] (embperl), [EMAIL PROTECTED], [EMAIL PROTECTED] Kopie: (Blindkopie: Alexa

connect to db using an imported .epl file

2003-03-27 Thread Alexander Hartmaier
Hi list! I've got a file called 'nacadminlib.epl' which is imported using [- use strict; use nactools; Execute ({ inputfile => 'nacadminlib.epl', import => 1 }); -] in every of my .epl pages. Now I want to open my database connection there instead of doing this in every .epl seperatly.

Add: Re: Re: UPD: output table with variable data

2003-02-21 Thread Alexander Hartmaier
Hi! Because I use a hash instead of an array now I've got the problem that sorting with an ORDER BY sql statement is useless ;_((( I don't want to loose the pros of using a hash (i can reference an the columns per name and if I add a new one don't need to touch the others). Hast anybody an idea

Re: Re: UPD: output table with variable data

2003-02-21 Thread Alexander Hartmaier
[EMAIL PROTECTED] (Angus Lees) am 21.02.2003 03:07:09 An: [EMAIL PROTECTED] (Alexander Hartmaier) Kopie:[EMAIL PROTECTED] (Blindkopie: Alexander Hartmaier/DEBIS/EDVG/AT) Thema:Re: UPD: output table with variable data just some comments on perl/embperl style, none of which are p

UPD: output table with variable data

2003-02-20 Thread Alexander Hartmaier
Good morning list ;-) I solved my problem yesterday before any answer arrived *fg* Now I've got an 'nacadminlib.epl' which contains... ---

UPD: output table with variable data

2003-02-19 Thread Alexander Hartmaier
Hi again! I made a mistake at the variable passing ;-) Now this works: sub interface_list (@) { my @interfacelist = $_[0]; . . . } But it's still outputted at the end of the page instead of where I call the sub. I also don't like the print statements. Any Idea? THX Alex ##

output table with variable data

2003-02-19 Thread Alexander Hartmaier
Hi list! I have to output a html table in some of my embperl pages which always looks the same but the data is slightly different. My approch was to write a small sub which takes the array with the data and looks like this: ---

Re: Embperl on RedHat 8.0

2002-12-05 Thread Alexander Hartmaier
YEAH!!! I works!!! Finally!!! I added these 3 lines to my startup.pl instead of setting them in httpd.conf: $ENV{ORACLE_HOME} = "/u01/app/oracle/product/9.2.0.1.0/"; $ENV{ORA_NLS33} = "/u01/app/oracle/product/9.2.0.1.0/ocommon/nls/admin/data"; $ENV{NLS_LANG} = "AMERI

Re: Embperl on RedHat 8.0

2002-12-05 Thread Alexander Hartmaier
Hi again! Thanks for the tips. I found the 'LoadModule embperl_module location/to/Embperl.so' line in the embperl documentation by myself =) Now embperl gets loaded but it seems that it doesn't interpret my pages! Additionally I've got the following problem: http://perl.apache.org/docs/2.0/user

Which ExtUtils modules required?

2002-12-04 Thread Alexander Hartmaier
Hi! I just looked through 'Makefile' and found ExtUtils::Install which isn't installed on my system. Regardless make install and every steps before don't report an error!!! I think (and hope) that this is one of the reasons why Embperl isn't loaded with apache 2.0 & mod_perl-1.99_05-3. Which mo

Re: Embperl on Redhat 8.0

2002-12-04 Thread Alexander Hartmaier
X Alex [EMAIL PROTECTED] (Mathias Anler) am 04.12.2002 14:36:18 An: [EMAIL PROTECTED] (Alexander Hartmaier) Kopie: (Blindkopie: Alexander Hartmaier/DEBIS/EDVG/AT) Thema:Embperl on Redhat 8.0 Hi! I haven't followed the thread of your problem. So this might be totally

Re: Embperl on RedHat 8.0

2002-12-04 Thread Alexander Hartmaier
03.12.2002 14:50:57 An: [EMAIL PROTECTED] Kopie: (Blindkopie: Alexander Hartmaier/DEBIS/EDVG/AT) Thema:Re: Embperl on RedHat 8.0 Hi! > I found out that I have to install ExtUtils to get the two scripts stated above > to work (maybe I need something else but don't know???). > Because

Antwort: Re: Embperl on RedHat 8.0

2002-12-03 Thread Alexander Hartmaier
xs' make[1]: Makefile: No such file or directory make[1]: *** No rule to make target `Makefile'. Stop. make[1]: Leaving directory `/opt/nac/embperl/embperl/xs' make: *** [subdirs] Error 2 Do you know what I'm doing wrong??? THX Alex [EMAIL PROTECTED] (Gerald Richter - ecos

Embperl on RedHat 8.0

2002-12-02 Thread Alexander Hartmaier
Hi! During the weekend the harddisks of both embperl boxes crashed (IBM DTLA-30GB...nothing more to say). I'm just reinstalling the first with RedHat 8.0. DBI with DBD::Oracle is already working =) but I can't compile Embperl ;( RedHat 8.0 includes: - Perl 5.8.0-55 - Apache 2.0.40-8 - mod_perl

embperl .epl files and vim

2002-08-26 Thread Alexander Hartmaier
Hi! Is there a syntax parser (or how you call it) for vim which formates the screen output of vim with colors? I also use vim for windows and want to print out some code with colors for better readability. THX Alex - T

Embperl 2.0b8 local escmode

2002-06-25 Thread Alexander Hartmaier
Hi again! This line isn't working any more in b8: Expand Administrativa WHY? THX Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Embperl 2.0b8 & Apache 2.0

2002-06-25 Thread Alexander Hartmaier
Hi! I've updates DBI to version 1.28 (from 1.21) and since then httpd doesn't start any more (no entry in the logs). Now i started updating all other modules also and saw Embperl 2.0b8... My problem is that Embperl detect mod_perl2 although it isn't installed! I installed apache 2.0.34 mon

Re: if-elsif problem

2002-06-07 Thread Alexander Hartmaier
Ups!!! =) Sorry Guys! Such errors shouldn't happen any more! THX Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

if-elsif problem

2002-06-07 Thread Alexander Hartmaier
Hi! I just discovered a strange behavior of embperl 2.0b7 I've got following piece of code... if ($guitype = 'admin') { $graphdir = "/home/nac/web/admin/intgraph/"; } elsif ($guitype = 'user') { $graphdir = "/home/nac/web/user/intgraph/"; } ...which doesn't work! If I chance it...

Re: Embperl 2.0b7 problem with directory handling

2002-05-06 Thread Alexander Hartmaier
>>First when an embperl script fails there is such a log entry: >>[11526]Reading file://fatal.epl as input using PerlIO (0 Bytes)... >>[11526]ERR: 12: fatal.epl(1): File file://fatal.epl open error: No such file or >>directory >Embperls Execute function takes a filename and _not_ a URL. This

Embperl 2.0b7 problem with directory handling

2002-05-06 Thread Alexander Hartmaier
d in "/tmp" instead of "/home/nac/web/tmp". I used the following test script: [! use Cwd; !] directory test epl I think I am in [+ cwd +] Is this a bug or a feature? Yours sincerly Alexander Hartmaier T-Systems T-Systems Austria address: Hofmühlgasse 3-5, 1060

Re: Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-17 Thread Alexander Hartmaier
DAMN! That thing is fast as hell now! Keep the changes you sent me in the next Embperl version!! THX A LOT! Alex >Now my co-worker and I changed the epl. It seems that the large amount of while >loops (2100 x 16 = 33.600) is a problem in Embperl 2.0b7. I guess you are right. There is a

Re: Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-16 Thread Alexander Hartmaier
>I just checked everything with a co-worker who maintains this web-app longer >than i do :). > >The downgrad from apache-1.3.22-2 to apache-1.3.20-16 hasn't helped! > >Now I will update my kernel to 2.4.18. (no rpmcompile by myself :) > The kernel update was unnecessary cause it brought no

Re: Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-16 Thread Alexander Hartmaier
I just checked everything with a co-worker who maintains this web-app longer than i do :). The downgrad from apache-1.3.22-2 to apache-1.3.20-16 hasn't helped! Now I will update my kernel to 2.4.18. (no rpmcompile by myself :) @wim: The URL you wrote for DBI optimization was a great help!

Re: Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-16 Thread Alexander Hartmaier
On 16-Apr-2002 Alexander Hartmaier wrote: > I just reworte view-table.epl...it isn't faster than before > > Here is the new version (the display of the number of lines isn't workling > any more :( > Maybe you can tell me what i do false: Hmmm... 1. I'm u

Re: Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-16 Thread Alexander Hartmaier
@lloy0076 >> Do you really think the kernel is the problem? >It could be -- try using the Kernel RPMS created by RedHat and see if >there are any updates on www.redhat.com. I use the newest rpm found on the ftp server (as well as on the homepage). kernel-2.4.9-31 @wim I just reworte view-ta

Re: Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-16 Thread Alexander Hartmaier
Hi! First thanks for the lot's and quick answers! @ lloy0076: I don't use postgresql. The database is a dual xeon-500 with 1GB ram running Oracle 9.0.1i. @wim: I'll try to change the code of the .epl...i'm very new to embperl (2 weeks) and just starting to learn it. The filesystem is ext3 for

Embperl 2.0b7 approx. 10 times slower than 1.3.x

2002-04-15 Thread Alexander Hartmaier
Hi! We use Embperl to generate dynamical pages for our router & switches bandwidth statistics. We poll them using snmp and store the data in an oracle database we access usind dbi and dbd::oracle. The "old" machine: 800Mhz PIII with 256MB ram RedHat 6.2 Apache 1.3.19 with mod_perl 1.25 and emb