Re: Baffling unicode wierdness

2005-05-18 Thread Randy Kobes
On Wed, 18 May 2005, Jay Savage wrote: > On 5/18/05, angie ahl <[EMAIL PROTECTED]> wrote: > > I can confirm that it's happening before the data's gone > > to the database or anything. I'm getting the params from > > CGI.pm and then decoding via decode("utf8", $v) The page > > the params came from

Re: Apache::Session not updating (writing)

2005-05-18 Thread Rick
On 5/11/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: > This is starting to sound like your problem is at a very fundamental > level. I'd suggest making sure RaiseError is on for your database > connection, and putting some warn statements in the Apache::Session code > to see that things are being

Re: Baffling unicode wierdness

2005-05-18 Thread Jay Savage
On 5/18/05, angie ahl <[EMAIL PROTECTED]> wrote: > I can confirm that it's happening before the data's gone to the > database or anything. > > I'm getting the params from CGI.pm and then decoding via decode("utf8", $v) > > The page the params came from is set as utf-8 in the http header and > con

Re: Baffling unicode wierdness

2005-05-18 Thread Markus Wichitill
angie ahl wrote: It looks as though the browser isn't sending the data as UTF-8 unless it contains text that has to be. As soon as I add a € or some other character that's utf-8 it comes through fine. I've never seen any browser send anything but UTF-8 if the page was marked as UTF-8. my $

[mp1] sbrk() out of memory error (help needed with C library path issue)

2005-05-18 Thread Mark Stosberg
Hello, I'm trying to get Graphics::Magick to work with mod_perl on FreeBSD 4.10. On our FreeBSD 5.1 development server, everything works fine. It appears that as soon as the module is attempted to be used, an infinite loop is entered resulting an out of memory error. I used 'truss' to see what

Re: [mp2] enforcing the order of mod_perl with other modules

2005-05-18 Thread Geoffrey Young
Dorian Taylor wrote: >>in apache 1.3 yes, just change the order of the modules with LoadModule >>or ClearModuleList+AddModule. in 2.0 you need to alter the mod_rewrite >>or mod_perl sources, unfortunately. > > > yeah i just looked at that. what happend to Apache2::Hook? I'm not sure what you're

Re: [mp2] enforcing the order of mod_perl with other modules

2005-05-18 Thread Dorian Taylor
> in apache 1.3 yes, just change the order of the modules with LoadModule > or ClearModuleList+AddModule. in 2.0 you need to alter the mod_rewrite > or mod_perl sources, unfortunately. yeah i just looked at that. what happend to Apache2::Hook? .dorian

Re: Baffling unicode wierdness

2005-05-18 Thread Graeme St.Clair
I would throw the sterling sign out of the source document, and substitute £ or £ or £ (semi-colon is important!). I think that would probably work across all platforms and browsers. HTH, rgds, GStC. - Original Message - From: "angie ahl" <[EMAIL PROTECTED]> To: ; Sent: Wednesday, May

Re: [mp2] enforcing the order of mod_perl with other modules

2005-05-18 Thread Geoffrey Young
Dorian Taylor wrote: > i was under the impression that for each phase in the request, > modules were hooked in the order they were loaded. has this behavior > changed? is there any way to force mod_rewrite, for example, to > operate before mod_perl in the transhandler phase? in apache 1.3 yes, jus

[ANNOUNCE](slightly OT)mod_chroot

2005-05-18 Thread Torsten Foertsch
mod_chroot issues a chroot syscall at the very end of the PostConfig phase. Thus all configuration, logfile opening, etc. is done in the normal root but the workers run with a different root. That new root can be mounted ro,nodev,noexec. Hence all Perl modules can be loaded before the chroot mo

[mp2] enforcing the order of mod_perl with other modules

2005-05-18 Thread Dorian Taylor
i was under the impression that for each phase in the request, modules were hooked in the order they were loaded. has this behavior changed? is there any way to force mod_rewrite, for example, to operate before mod_perl in the transhandler phase? cheers .dorian

Re: Baffling unicode wierdness

2005-05-18 Thread angie ahl
I can confirm that it's happening before the data's gone to the database or anything. I'm getting the params from CGI.pm and then decoding via decode("utf8", $v) The page the params came from is set as utf-8 in the http header and content type and firefox is believing the page is utf-8. It looks

Re: to ENV or not to ENV

2005-05-18 Thread Perrin Harkins
On Wed, 2005-05-18 at 16:30 +0100, Martin Moss wrote: > 1) using %ENV > 2) setting using our own subclass of Apache::Request's > pnotes or notes methods I like pnotes because it's guaranteed to get cleared at the end of the request. Also, anything you can do via %ENV can be done via any perl glob

[mp2] enforcing the order of mod_perl with other modules

2005-05-18 Thread Dorian Taylor
i was under the impression that for each phase in the request, modules were hooked in the order they were loaded. has this behavior changed? is there any way to force mod_rewrite, for example, to operate before mod_perl in the transhandler phase? cheers .dorian

Baffling unicode wierdness

2005-05-18 Thread angie ahl
Hi List I've been pottering away trying to get utf-8 behaving on my set up and have nearly got there but then the client phoned up saying that the £ symbol was being displayed as a ? The first page contains several languages and a £ sign and all is displayed fine. http://perl.wtsbroadcast.com/ab

Re: [QUESTION] Browser hangs if multiple requests on the same Perlresource (Apache2, modperl2, Win32)

2005-05-18 Thread Stas Bekman
Stas Bekman wrote: [EMAIL PROTECTED] wrote: Hi, I'm still experiencing this problem. Could someone try to reproduce (this is done in 5mn) so I can be sure it's either my fault or a bug ? Pascal, please let me know how to reproduce it and I'll try it. I've attached the tarball that one could try r

RE: Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-18 Thread Jay Scherrer
I'll take stab and ask what your LMHOST file reads. Cause when your http.conf requests AuthType ntlm it looks like it is requesting LMHOST verification. Jay Scherrer On Wed, 2005-05-18 at 11:36 +0200, Gert Jan Schipper wrote: > In the error_log file from apache I get the following error: > > [err

Re: [QUESTION] Browser hangs if multiple requests on the same Perlresource (Apache2, modperl2, Win32)

2005-05-18 Thread Stas Bekman
[EMAIL PROTECTED] wrote: Hi, I'm still experiencing this problem. Could someone try to reproduce (this is done in 5mn) so I can be sure it's either my fault or a bug ? Pascal, please let me know how to reproduce it and I'll try it. --

to ENV or not to ENV

2005-05-18 Thread Martin Moss
All, We're in the process of introducing mod perl method handlers and template toolkit into a system which is also running Embperl. There is some interaction between the two, and as Embperl (and especially our code which uses it) uses %ENV to pass around variables like $ENV{REMOTE_USER_ID} and oth

Re: rotatelog on win32

2005-05-18 Thread allan
Quoting Arnaud Blancher <[EMAIL PROTECTED]>: allan juul wrote: hello i have run into a strange problem on windows mod_perl2 RC6 using rotaleog.exe i have this in httpd.conf CustomLog "|D:/rotatelogs.exe \ d:/logs/apache2/http/apache.%Y-%m-%d-%H_%M_%S 86400" combined if i don't load mod_perl ther

Re: rotatelog on win32

2005-05-18 Thread Arnaud Blancher
allan juul wrote: hello i have run into a strange problem on windows mod_perl2 RC6 using rotaleog.exe i have this in httpd.conf CustomLog "|D:/rotatelogs.exe \ d:/logs/apache2/http/apache.%Y-%m-%d-%H_%M_%S 86400" combined if i don't load mod_perl there are never a problem. if i load mod_perl, i

RE: [QUESTION] Browser hangs if multiple requests on the same Perlresource (Apache2, modperl2, Win32)

2005-05-18 Thread Pascal . Davoust
Hi, I'm still experiencing this problem. Could someone try to reproduce (this is done in 5mn) so I can be sure it's either my fault or a bug ? Thanks in advance, Pascal.

Re: [MP2] 1.999024 fails on OS X

2005-05-18 Thread Philippe M. Chiasson
Stas Bekman wrote: > In any case, go ahead and commit your fix for now to get it working on > OSX. we will figure out the special case posted by Dominique after 2.0.0 > is released. No point to keep on postponing the release date. Allright, I still think that my patch is correctly fixing the probl

Re: [MP2] 1.999024 fails on OS X

2005-05-18 Thread Philippe M. Chiasson
Stas Bekman wrote: > Philippe M. Chiasson wrote: > >> Stas Bekman wrote: >> >>> Philippe M. Chiasson wrote: >>> [...] >>> After a long promised investigation session, I believe I have pinned it down. It seems to have been introduced by change r160562 when the anon_cnt initialization

Re: Problems get DATA part from POST requests.

2005-05-18 Thread Willem Jan Withagen
Gerald Richter wrote: Both are relatively recent, since I'm using FreeBSD packages. And I've even used cpan to upgrade to the most recent CGI.pm Perl 5.8.6 $CGI::VERSION='3.10'; Embperl 1.3.6 does not work with CGI.pm >= 3.01, because there were some changes in the upload code in CGI.pm. Since Emb

RE: Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-18 Thread Gert Jan Schipper
In the error_log file from apache I get the following error: [error] Bad/Missing NTLM/Basic Authorization Header for /cordys The configuration in httpd.conf is: Alias /cordys "/opt/cordys/Web" PerlAuthenHandler Apache2::AuthenNTLM # AllowOverride All AuthType ntlm

RE: Problems get DATA part from POST requests.

2005-05-18 Thread Gerald Richter
Hi, > > Gerald Richter wrote: > > Hi, > > > > Which version of Perl and CGI.pm you are using? > > Hi Gerald, > > Both are relatively recent, since I'm using FreeBSD packages. > And I've even used cpan to upgrade to the most recent CGI.pm > > Perl 5.8.6 > $CGI::VERSION='3.10'; > Embperl 1.3.

RE: Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-18 Thread Gert Jan Schipper
> > On 17 May 2005, at 10:42, Gert Jan Schipper wrote: > > > When I surf to a folder on my apache that I have set to be > > authenticated > > from my domain. My Internet Explorer 6 gets and windows login popup, > > where it ask me to fill in > > Assuming when you enter you username/passwd and do

Re: Login window always show up in IE by using Apache2::AuthenNTLM

2005-05-18 Thread Leo Lapworth
On 17 May 2005, at 10:42, Gert Jan Schipper wrote: When I surf to a folder on my apache that I have set to be authenticated from my domain. My Internet Explorer 6 gets and windows login popup, where it ask me to fill in Assuming when you enter you username/passwd and domain that it logs you in