Sending a different protocol header

2003-09-08 Thread Hans
. Please help! -HANS

[OT] Replacing reverse squid with mod_proxy

2002-03-25 Thread Hans Juergen von Lengerke
We are currently using squid set up as a reverse proxy to accelerate several heavy backends (mod_perl, etc) and to protect them from slow client connections. I am looking into replacing the squid with apache+mod_proxy. Why? Because ultimately I'd like to be able to cluster the frontend using

Re: Be carefull with apache 1.3.24

2002-03-25 Thread Hans Juergen von Lengerke
John Siracusa [EMAIL PROTECTED] on Mar 25, 2002: Does anyone know how I can put my ProxyIOBufferSize config line in a conditional that'll keep it from blowing up if I'm using a version of apache earlier than 1.3.24? You could use IfDefine but that would mean that the command that starts

Re: POST and multipart/data-form question

2002-03-14 Thread Hans Poo
-e 'print CGI::start_multipart_form()' you get form method=post action=/-e enctype=multipart/form-data and not: multipart/data-form as you write May be you spelled it wrong on he message, but this may be your problem. Hans

Problem Removing Handlers

2002-03-14 Thread Hans Poo
not be called'; } It happens that the callback printed in the above warn is: PerlInitHandler Exacty what i though was removed with: $r-set_handlers( PerlInitHandler = undef); Hans

Re: Cookies and redirects

2002-03-12 Thread Hans Poo
, and set a cookie at the same time? Thanks in advance, Axel Andersson Have you tried printing the headers_out hashref after sending the http header to see if the cookie is there ?. my $headers_out = $r-headers_out; foreach (keys %$headers_out) { warn $_=$headers_out-{$_}; } Hans

Deleting a cookie manually

2002-03-09 Thread Hans Poo
Hi I need to delete directly a session cookie before begining some processing. I need to clean directly the cookie from the cookie table for after processing hans

Re: problems with $r-status('OK')

2002-03-04 Thread Hans Juergen von Lengerke
a constant HTH, Hans

Re: [OT] Perl compillation

2002-02-22 Thread Hans Poo
of the perl-beginner list archive didnt help. Regards Mithun I am running RedHat 7.2 and i'am without problems installing perl 5.6.1. I checked ther version and is 2.96. [root@hans images]# gcc --version 2.96 [root@hans images]# ¿Du you upgrade manually gcc ? May be can downgrade to 2.96

Apologyze, Please delete my last message

2002-02-21 Thread Hans Poo
Please delete my last message I apologyze because i make a mistake in my last message. I was sending an internal mail and the To field was with mod_perl and i put the real destinations in the CC section. Sorry Again. Hans Poo

Re: [OT-ish] Session refresh philosophy

2002-02-20 Thread Hans Juergen von Lengerke
David Harris [EMAIL PROTECTED] on Feb 19, 2002: The encoded information is [...] split into reasonable length hidden fields. Why not put everything in one field? Are there restrictions? Does it make a difference when using POST? Hans

Re: PerlPassEnv and Proxies

2002-02-18 Thread Hans Juergen von Lengerke
/$2 [P,L] mod_perl: RewriteRule ^/ENV_([^/]+)/([^/]+)/(.*)$ $3 [E=$1:$2,PT,L] I agree, its a big hack, but it works :-) HTH, Hans

Re: mod_perl compile problem

2002-02-14 Thread Hans Juergen von Lengerke
this: You are using ActiveState Perl on Linux? I always thought ActiveState Perl is for Windows boxen. No? Hans

Re: Apache and Perl togheter

2002-01-10 Thread Hans Poo
compiled in by default in apache. You must check if your script compiles and run from the shell: #cd youtscritpsdir #perl -wc myscript.pl #perl myscript.pl #chmod 755 myscript.pl #./myscript .pl If all this works you defionitely must check your error_log Hans Poo

Re: Configuration loading twice - how to cope?

2002-01-10 Thread Hans Poo
the real start of the server. This may be what you are seeing. Hans Poo

Re: Apache and Perl togheter

2002-01-09 Thread Hans Poo
mod_cgi compiled in by default in apache. You must check if your script compiles and run from the shell: #cd youtscritpsdir #perl -wc myscript.pl #perl myscript.pl #chmod 755 myscript.pl #./myscript .pl If all this works you defionitely must check your error_log Hans Poo

Lost form values with direct calls to param in CGI.pm

2002-01-04 Thread Hans Poo
Location /cgi-bin SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Location /VirtualHost Hans Poo

Re: Feeling stupid

2002-01-04 Thread Hans Poo
as carefully as possible, and I'm feeling immesurably stupid :-((( Mod_perl IS active, at least, other virtual site with HTML::Mason runs neatly! What could I do wrong? Alex. the line must be: SetHandler perl-script with a dash between perl an script. Hans Poo

Lost form values with direct calls to param in CGI.pm

2002-01-04 Thread Hans Poo
Location /cgi-bin SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Location /VirtualHost Note: I've just changing my email, may be this email is going to be duplicated. Sorry if this happen. Hans Poo

Re: mixing cgi-bin mod_perl

2001-12-20 Thread Hans Poo
of the moment... (Not that I don't like perl, mind you...) Regards, Luciano Rocha I think Randall is just trying to show a cool application of File::Find, and int the menatime save some CPU and memory cycles. I like it. Hans Poo

Convert bitmap

2001-12-19 Thread Hans-Olof Hermansson
Hi, I am looking for a perl module that can convert a bitmap picture to jpeg or gif. I am sending a bitmap from a Pocket PC device to a Solaris webserver running Apache. If anyone has any tips it will be greatly appreciated. Reagrds Hans-Olof

Re: ASP.NET Linux equivalent?

2001-12-05 Thread Hans Poo
want to stop thinking and let the GUI do that Job, obviously, it's not possible. Over Expectations over GUI often leads to troubles in planification It's a fact that with the GUI's you stop understanding what you are really doing. Hans Poo

Re: [modperl site design challenge] please vote

2001-12-04 Thread Hans Poo
El Mar 04 Dic 2001 05:39, Stas Bekman escribió: Thomas Klausner, Allan Juul and Carlos Ramirez have answered the challenge and submitted their modperl site designs. Thank you folks! Now it's a time for you to chose the design that you like the most by voting at

Re: [modperl site design challenge] please vote

2001-12-04 Thread Hans Poo
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ Please, can you send the address of the three designs? Ok, please don't kill me, sorry, it's OK now, Hans

Re: Perl and Microsoft Excel?

2001-11-30 Thread Hans Poo
application for the list and store the information in mysql (and forget about excel if you can), and then, just take that information and publish on the web. Hans

Re: Files problem, pulling my dam hair out

2001-11-30 Thread Hans Poo
PerlSendHeader on (to fix malformer headers) in your directory configuration. Hans Poo

Upgrade Perl to 5.6.1and mod_perl still see 5.6.0

2001-11-27 Thread Hans Poo
. [FALLÓ] # Hans Poo

Re: Deleting a cookie

2001-11-27 Thread Hans Poo
; = Set it again with an expiration time of 'now', i actually use it with CGI.pm You can send it with a custom invalid value, like 'invalidated', and take apropriate actions. Hans Poo

Persistent HTTP Connections ala Apache::DBI

2001-11-22 Thread Hans Juergen von Lengerke
I'm working on a web application which obtains data via a legacy system rather than DBI. Using DBI is (unfortunately) not an option. The machine where the web application runs cannot run the legacy system. Thus, the setup looks somewhat like this: DB = DB Query (Legacy) = Apache/mod_perl

Re: Help with converting from plain CGI to mod_perl

2001-10-17 Thread hans
you don't do nothing. To finish, i keep the database handle $dbh in a library or Object that must be used in the script and all the objects or libraries that use the database directly. This handle must be exported by default by the library. Hans Poo

Re: Redirections after printing content

2001-10-09 Thread Hans Poo
Andrew Ho wrote: Hans, HPI'am new to the list, and i've been looking for a solution for HPbuffering, in order to decide to make a redirect after the printing of HPHTML content. It seems that $| don't work fot this. Whether or not you have $| on, you will want to explicitly control whether

Re: proxy block list module?

2001-10-08 Thread Hans Poo
and match on that in the list) and add other refinements. Mark Mark Tiramani FREDO Internet Services [EMAIL PROTECTED] Hi What you need is mod_rewrite module from Ralf Engelshall. Hans Poo

Redirections after printing content

2001-10-08 Thread Hans Poo
, and i just have mod_perl. Hans Poo

Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
Perl 5.005_03 Apache::DBI 0.88 DBI 1.14 # works fine without Apache::DBI Any help or pointers are appreciated. Hans

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
-L/usr/local/lib' Characteristics of this binary (from libperl): Built under linux Compiled at Nov 6 1999 15:47:59 @INC: /usr/lib/perl5/5.00503/i586-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i586-linux /usr/lib/perl5/site_perl/5.005 . Hans Juergen

Re: Apache::DBI Segmentation fault

2001-09-10 Thread Hans Juergen von Lengerke
and put a 'PerlModule Apache::DBI' _after_ the 'PerlModule Apache::Registry' in my httpd.conf I also get the segfault. I am aware that any modules that use DBI must be loaded _after_ Apache::DBI but I didn't think Apache::Registry uses DBI, or does it? Hans Perrin Harkins: I am getting

Apache::ASP Error

2000-07-23 Thread Hans Fuchs
/5.005/Apache/ASP.pm line 1740 What can I do? Best, Hans -- Gesendet an [EMAIL PROTECTED] am 23.07.2000 mit The Bat 1.42f Homepage: http://www.enova.ch - EMail: [EMAIL PROTECTED] Public Key: http://www.enova.ch/gucky/gucky.htm "Funkybeats for ever!" Anhang: none

Re: [PHP] redirecting a domain

2000-07-14 Thread Hans H. Anderson
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] Hans Anderson ~ [EMAIL PROTECTED] PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL (800)397-9116 / (406)549-6524 | Databases, Flash Multimedi