Re: ModPerl performance on BSDs

2005-03-13 Thread carl
I checked) so I build it by hand myself - with no dramas these days. Carl

Apache-Cookie

2004-03-01 Thread Carl Holm
Hello, With the following server environment: SERVER_SOFTWARE = "Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2", and libapreq2 installed via PPM, I am not able to load Apache::Cookie. I would appreciate hearing about any success with this configuration. Thanks,

Re: Apache-Cookie

2004-03-01 Thread Carl Holm
Randy Kobes wrote: On Mon, 1 Mar 2004, Carl Holm wrote: Hello, With the following server environment: SERVER_SOFTWARE = "Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2", and libapreq2 installed via PPM, I am not able to load Apache::Cookie. I would apprecia

Re: Apache-Cookie

2004-03-02 Thread Carl Holm
Randy Kobes wrote: On Mon, 1 Mar 2004, Carl Holm wrote: [ ... ] Thanks for the suggestions. Mod-perl2 works OK. No complaints from Apache::Request. I added the appropriate LoadFile directive, and now get the following error stack: [Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] Can&#

[mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Carl Brewer
I must be spoilt by apache2 :) RedHat Linux 7.3 on i386, trying to build mod_perl and mod_ssl into apache 1.3.31. Here's what I'm doing : tar -xzf ../apache_1.3.31.tar.gz tar -xzf ../mod_ssl-2.8.19-1.3.31.tar.gz tar -xzf ../mod_perl-1.29.tar.gz cd mod_ssl-2.8.19-1.3.31/ ./configure --with-apache=

Re: [mp1] building mp1 with mod_ssl - what am I doing wrong?

2004-08-01 Thread Carl Brewer
Stas Bekman wrote: Carl, can you build Apache w/o mod_perl w/ the rest of the things? Yes, it's just the mod_perl stuff that's barfing. It looks like the mod_perl make install isn't putting the header files into src/includes/. A quick google shows a bunch of relevant hits: http:

[mp2] apache::server missing?

2004-08-25 Thread Carl Brewer
I've just done a bit of an overhaul of my mp2 install on apache 2.0.50/perl 5.8.5/mp2-current, NetBSD 1.6.2, and am having a few problems. the most critical one is that I can't find apache::server anymore. My old startup.pl scripts had use Apache::Server (); Has this been done away with? I not

Re: [mp2] apache::server missing?

2004-08-25 Thread Carl Brewer
Stas Bekman wrote: Carl Brewer wrote: I've just done a bit of an overhaul of my mp2 install on apache 2.0.50/perl 5.8.5/mp2-current, NetBSD 1.6.2, and am having a few problems. the most critical one is that I can't find apache::server anymore. My old startup.pl scripts had use Apac

[mp2] code broken by 1.99_15 or _16 or _17-dev

2004-08-25 Thread Carl Brewer
Stas et all, Here's the code that I was using to grab POSTed values and put them into a hash 0 sorry for the verbosity of this post, I won't pretend to fully understand this code, Stas wrote the majority of it way back when libapreq wouldn't compile on NetBSD, and I've been using it ever since. If

Re: [mp2] code broken by 1.99_15 or _16 or _17-dev

2004-08-25 Thread Carl Brewer
Stas Bekman wrote: I'm thinking that it might be beneficial to implement it in C. Would I be better served by switching to using libapreq? Isn't this what it's for? I recall you sent me that code a long time ago as the libapreq stuff wouldn't compile cleanly on NetBSD. I'd prefer not to have to

[mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
e installs would fix whatever's not looking for the library in the right place, but to no avail. Any suggestions? thanks! Carl -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: [mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
Stas Bekman wrote: Carl, remember to always file a proper bug report and save yourself and us time. The report includes the info we need. Other than that, please send us the output of: I would, except I don't think it's a bug report, it's probably a stuff-up at my end :) ldd

Re: [mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
Please send the output of mp2bug as requested before. Done. I just pulled the latest CVS down, same problem. -8<-- Start Bug Report 8<-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** mod_perl version 1.

Re: [mp2] a little OT, problem finding libapr

2004-08-26 Thread Carl Brewer
I'd suggest to completely nuke /usr/local/apache2, install Apache from scratch and chances are that everything will work fine. You have too many old libs there. I'll give that a go tonight or tomorrow when I get a few spare hours, thanks! -- Report problems: http://perl.apache.org/bugs/ Mail

Re: [mp2] a little OT, problem finding libapr

2004-09-01 Thread Carl Brewer
nd it was all ok again. I've also moved my code to using apreq2, instead of the Stas & Carl hack job I was running :) (I cheated and used a wrapper change, so I didn't have to do wholesale changes to my code). Out of curiosity, is anyone working on docs for apreq2 for people in a hurry?

[mp2] any forum/noticeboard apps out there?

2004-09-01 Thread Carl Brewer
Before I take the plunge and write my own, has anyone here written, or know of, any web forum s/w that runs under mp2 without using compat? I know web forums are kinda evil, but I've got a genuine use for one where I need to be able to control access to it. thanks! Carl -- Report problems:

Re: [mp2] any forum/noticeboard apps out there?

2004-09-01 Thread Carl Brewer
Markus Wichitill wrote: Carl Brewer wrote: Before I take the plunge and write my own, has anyone here written, or know of, any web forum s/w that runs under mp2 without using compat? http://www.mwforum.org/ I've played with installing this today, I'm seeing the following in my error l

Re: [mp2] any forum/noticeboard apps out there?

2004-09-02 Thread Carl Brewer
Markus Wichitill wrote: Carl Brewer wrote: I've played with installing this today, I'm seeing the following in my error logs : [Thu Sep 02 13:52:41 2004] [error] Can't locate object method "cleanup_register" via package "APR::Pool" at /data/www/aboc/perl/mwf/M

Re: [mp2] Known problem with mod_perl 1.99_16 on FreeBSD 5 ?

2004-09-05 Thread Carl Brewer
Stas Bekman wrote: that seems to be a MakeMaker bug on some BSDs. Please see: http://rt.cpan.org/NoAuth/Bug.html?id=7417 The solution seems to be to use gmake. At least it worked for Carl on NetBSD. It works for me with gmake, yes. There's another problem I haven't had time yet to rep

Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors

2004-09-13 Thread Carl Brewer
[EMAIL PROTECTED] wrote: but make install for modperl-1.99_16 fails with the following: /usr/pkg/bin/perl -Iblib/lib/Apache2 -I/usr/home/mgorb/mp-test/mod_perl-1.99_16/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod WrapXS/APR/ThreadMutex/ThreadMutex.pm /usr/home/mgorb/mp-test

Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors

2004-09-13 Thread Carl Brewer
Stas Bekman wrote: Carl Brewer wrote: [EMAIL PROTECTED] wrote: but make install for modperl-1.99_16 fails with the following: /usr/pkg/bin/perl -Iblib/lib/Apache2 -I/usr/home/mgorb/mp-test/mod_perl-1.99_16/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod WrapXS/APR/ThreadMutex

Re: [mp2] NetBSD-1.6.2 modperl 1.99_16 httpd 2.0.51-dev make test errors

2004-09-15 Thread Carl Brewer
Joe Orton wrote: Oh well, having found a NetBSD box to testd this myself, the NetBSD fcntl() is being economical with the truth. It doesn't return O_NONBLOCK yet the socket really is non-blocking. I'll put in the suggested apr_hints.m4 change. fun fun This may be worth bringing to the attention o

[mp2] how far off feature-freeze is mp2?

2004-09-16 Thread Carl Brewer
Hello Stas et al, Just a quick question; how far off a feature-freeze is MP2? ie: if I wanted to write a moderatly serious e-commerce app in mp, is it safe to use mp2 and apreq2? thanks! Carl -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-19 Thread Carl Brewer
Philippe M. Chiasson wrote: a release candidate for mod_perl 1.99_17 is now available for testing. Compiled & works like a charm on NetBSD 1.6.2/i386 with normal (BSD) make even. mp2bug can't find the httpd binaryu though, but that's pretty minor. steel1: {15} perl mp2bug -8<--

Re: [RELEASE CANDIDATE] mod_perl-1.99_17 RC1

2004-10-19 Thread Carl Brewer
Philippe M. Chiasson wrote: Could you post your /data/src/modperl-2.0/bin/../lib/Apache/BuildConfig.pm in it's entirety ? steel1: {23} cat /data/src/modperl-2.0/bin/../lib/Apache/BuildConfig.pm # # /* # * *** WARNING ** # * This file generated by Apache::Build/0.01 # * Any c

[mp2] mason and not using compat?

2004-10-24 Thread Carl Brewer
Hello, I'm fiddling with Mason on apache2 (NetBSD 1.6.2 & 2.0RC's) and I'd like to use mp2 in native mode, not compat. I found : http://www.masonhq.com/?ApacheModPerl2 And the hack in there I haven't yet tried, but does anyone know of any plans to make this a bit neate

Re: [mp2] mason and not using compat? - Can't locate object method "server_root_relative"

2004-10-25 Thread Carl Brewer
Philippe M. Chiasson wrote: Carl Brewer wrote: I believe there is a CPAN module that makes it a bit cleaner and less hack-ish: MasonX::Apache2Handler http://search.cpan.org/dist/MasonX-Apache2Handler Thanks Philippe, I've found that now and built a NetBSD pkg for it. But, I'm having tro

Re: [mp2] mason and not using compat? - Can't locate object method "server_root_relative"

2004-10-25 Thread Carl Brewer
unless File::Spec->file_name_is_absolute($def); = Thanks Randy, Has this been submitted to Beau Cox by you or anyone? Carl -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: [mp2] mason and not using compat? - Can't locate object method "server_root_relative"

2004-10-25 Thread Carl Brewer
unless File::Spec->file_name_is_absolute($def); = That works, btw. Thankyou. Now if Beau can update the Apache2Handler, it'll all be good! Carl -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp2] can't locate object method "upload" via package "Apache::RequestRec"

2004-11-06 Thread Carl Brewer
); print STDERR $upload->filename(); } It starts to work, but I don't understand why I need to declare $req again here? I want to keep my form parsing image stuff seperate, as not all my pages will have images to load, am I doing this the 'best' way? thanks! Carl

Re: [mp2] can't locate object method "upload" via package "Apache::RequestRec"

2004-11-06 Thread Carl Brewer
Tom Schindl wrote: Carl Brewer wrote: sub get_uploaded_image { my ($name, $max_size, $r) = @_; use Apache::Upload; my $req = Apache::Request->new($r); my $upload = $req->upload($name); I've got that in my subroutine and it works, but I'm concerned that I'm dipping

[mp2] modperl not reloading files when changed

2004-11-09 Thread Carl Brewer
':common'; 1; Do I need to put something in my script and library to tell Apache/mod_perl to watch them? This is in my library : # tell Apache we're volatile, watch for changes ... use Apache::Reload; Does that also need to be in my calling script for it to be noticed? thanks! Carl

Re: mod_perl 2 & Sessions

2004-11-10 Thread Carl Brewer
Perrin Harkins wrote: On Thu, 2004-10-28 at 11:53, Geoffrey Young wrote: I'm sure others can point out additional tools as well. Apache::SessionManager is a good place for newbies to start with sessions under mod_perl: http://search.cpan.org/~enrys/Apache-SessionManager-1.02/ Further to that, "Ses

Re: Perl 5.8.1 is out

2003-09-26 Thread Carl Brewer
Stas Bekman wrote: If you are eager to start testing you can start doing so right now with the latest cvs. I'm doing some last testing and will post the 1.99_10 release candidate in about 10 hours. steel1: {8} perl mp2bug -8<-- Start Bug Report 8<-- 1. P

Re: Perl 5.8.1 is out

2003-09-26 Thread Carl Brewer
Carl Brewer wrote: > report from NetBSD 1.6.1 *doh* Should have gone to dev .. Mea Culpa Carl

Re: Perl 5.8.1 is out

2003-09-26 Thread Carl Brewer
.conf t/TEST replace YOURHOSTNAME with your hostname ;) may be localhost will do, I haven't played on Ipv6 system yet. Localhost didn't work :) cheers Carl

Re: Perl 5.8.1 is out

2003-09-29 Thread Carl Brewer
lems (or similar). Stas, do you want to have a play on the box to see if you can figure it out? Carl

mp2: brief success story

2003-10-01 Thread Carl Brewer
or all your work with mp2 and answering my clueless questions :) Carl

[mp1] Apache::Cookie(?) Seg Fault

2005-02-24 Thread Carl Johnstone
ookie_new and ap_make_array? Carl Program received signal SIGSEGV, Segmentation fault. 0x000c56f0 in ap_palloc (a=0x1380938, reqsize=20) at alloc.c:700 700 char *first_avail = blok->h.first_avail; (gdb) bt #0 0x000c56f0 in ap_palloc (a=0x1380938, reqsize=20) at alloc.c:700 #1 0x000c5d84 in

Re: Apache::Clean worthwhile in addition to mod_gzip ?

2005-02-24 Thread Carl Johnstone
ision based on your real-world situation. Carl

Re: [mp1] Apache::Cookie(?) Seg Fault

2005-02-24 Thread Carl Johnstone
XS_Apache__Cookie_parse() is OK: c = ApacheCookie_new(r, NULL); I'm using gcc 3.3.2. Will leave a build of gcc 3.4.3 running overnight and try rebuilding apache with that sometime tomorrow. Carl

Re: [mp1] Apache::Cookie(?) Seg Fault

2005-02-25 Thread Carl Johnstone
lates the build tools from being part of the problem. Carl

Re: [mp1] Apache::Cookie(?) Seg Fault

2005-02-25 Thread Carl Johnstone
Out of curiosity, what does `perl -V` say? Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos g-web1 5.8 generic_108528-19 sun4u sparc sunw,ultra-4 solaris ' config_args='-ds -e -DDEBUGGING -D

Re: [mp1] Apache::Cookie(?) Seg Fault

2005-02-25 Thread Carl Johnstone
and there are SSI's involved which would explain the different request records, although the record in frame 2 doesn't seem right. Shall continue next week... Thanks Carl

Re: Protecting perl-status by IP on a backend server

2005-02-27 Thread Carl Johnstone
> > SetHandler server-status > Order deny,allow > Deny from all > Allow from env=admin_ip > > > I still get > > [client 127.0.0.1] client denied by server configuration Put the access rules in the front-end (non-mod_perl) apache rather than the back-end. Carl

Re: Question about Files directive

2005-03-02 Thread Carl Johnstone
:Registry in that it uses the built-in perl interpreter but it reloads the script on every request. This means that it doesn't give the same performance benefit that Apache::Registry does, but on the other hand it's immune to some of the problems. Hope this answers your question. Carl

Re: Question about Files directive

2005-03-02 Thread Carl Johnstone
ou can try running your script through Apache::Registry with http://www.mydomain.com/perl/myscript.cgi if that doesn't work then http://www.mydomain.com/perl-cgi/myscript.cgi for Apache::PerlRun. Failing any of those revert back to CGI with http://www.mydomain.com/cgi-bin/myscipt.cgi. Carl

Re: Question about Files directive

2005-03-02 Thread Carl Johnstone
pachectl restart else echo "ERROR in apache config" fi fi -- Carl

[OT] checking for legal chars in a filename passed in by upload params?

2005-04-11 Thread Carl Brewer
is the thing I want to make safe. I'm already doing this to it later : my $safe_uploaded_filename = uri_escape($uploaded_filename); which is from URI::Escape, but I don't think that will save me :) I know I need to check the return codes from copy etc. Any belts with a cluestick? I'm not really sure what to google for here. thanks Carl

Re: Apache-DBI

2005-04-18 Thread Carl Johnstone
t are slow when establishing connections it can make a considerable speed difference. Carl

Re: RC5 really broke some stuff

2005-04-22 Thread Carl Johnstone
nything. If you're going to run beta or pre-release code - you've got to accept the risks that go with that. Carl

Re: how to take out the default charset append?

2005-04-22 Thread Carl Johnstone
ype: text/html without a character set in the header? You've probably got AddDefaultCharset 8859-1 in your apache config, ("On" == "iso-8859-1")change it to: AddDefaultCharset Off See: http://httpd.apache.org/docs-2.0/mod/core.html#adddefaultcharset Carl

Docs error?

2005-04-26 Thread Carl Johnstone
that the & has not been changed into a HTML entity - so what you should do is: http://example.com/foo.pl?foo=bar&reg=foobar";> ... Carl

Re: Docs error?

2005-04-26 Thread Carl Johnstone
of submitting a form because the browsers have to get that right. It is also not a problem when typing URLs directly into the address bar of the browser. Reference: http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2 --- Carl

[mp2] porting older mp2 code to 2.0.0 - I'm stuck with params from apreq!

2005-05-21 Thread Carl Brewer
- save for some pretty hairy stuff in glue/perl/t/apreq/cgi.t, but isn't apreq supposed to hide all that bucket brigade stuff? I just want the params from my POST and GET requests! Can anyone suggest what simple change I need to make to the above to get it working with mp2.0.0/libapreq-2.05-dev? thanks! Carl

Re: [mp2] porting older mp2 code to 2.0.0 - I'm stuck with params from apreq!

2005-05-21 Thread Carl Brewer
Carl Brewer wrote: If I'd looked in : docs/html/group__apreq__xs__request.html I'd have seen that all I needed to do was to change use Apache::Request; to use Apache2::Request; and my $req = Apache::Request->new($r); to my $req = Apache2::Request->new($r); and it would

Re: [MP2] having trouble obtaining $r

2005-08-11 Thread Carl Johnstone
Message>>>>> I'm having trouble getting the request object from mod_perl. Here is the original attempt: <<<<< Have you simply tried: my $r = shift; at the beginning of your handler? If you're using Apache::Registry, then your whole file is a handler so you can do that at the top. Carl

Re: *nix distro compatibility (was Re: survey)

2005-08-30 Thread Carl Johnstone
backports, so didn't realise that somebody had done the pacakge till it was mentioned on here recently. Carl

Re: catalyst/Debian (was Re: *nix distro compatibility)

2005-09-14 Thread Carl Johnstone
7;s some backported stuff available (linked from the catalyst site) but I've found that it's incomplete. I don't expect the situation would get any better for a while yet - catalyst still seems to be under large amounts of development... Carl

Re: Sth I don't understand about pnotes

2005-09-16 Thread Carl Johnstone
rray. So in effect you're doing: $r->pnotes('KEY' => number_of_elements_in_array ); Your other snippit looks OK to me. Carl

Re: Masquerading requests as HTTPS

2005-09-16 Thread Carl Johnstone
also point out that even if you catch redirects, you've still potentially got broken HTML etc etc to "fix". Carl

Re: mod_perl, shared memory and solaris

2005-09-20 Thread Carl Johnstone
ate/anon column shows the amount of memory exclusive to the process. Carl

Re: A handler just for the / location

2005-10-14 Thread Carl Johnstone
with a query string a=b it was then impossible to submit a=B without clearing your browser history as IE automatically "corrected" the case of your request based the entry in it's history... Carl

Re: Apache::DBI + DBD::Multiplex

2005-11-24 Thread Carl Johnstone
> Philippe M. Chiasson wrote: > > 2 possible avenues to investigate: > > - Change your code to not use an array-ref as mx_dsns argument but some string (comma delimited, etc) > > - Look at changing Apache::DBI to not use the ref as part of the dsn cache key, but use the contents of the array > >

Re: Apache::DBI + DBD::Multiplex

2005-11-24 Thread Carl Johnstone
ensure that you only ever define that array once, then the reference to it won't ever change. Or *if* you do need to change the DSN list without restarting mod_perl you need to do something that's a bit more of a work-around. Carl

Re: Need use modules in my code?

2005-12-21 Thread Carl Johnstone
#!/usr/bin/perl use Compress::Zlib; . print Compress::Zlib::memGzip($htmlstr); <<<<<<<<<<<<<<<<<<<< This one is best practise - and is a requirement when you want to import functions into your own scripts name space. Carl

Re: Getting keep-alive sorted

2005-12-29 Thread Carl Johnstone
losing connections. Remember that in most situations you're going to serve a page, followed by some images and stylesheets. So if you have a front-end/back-end setup the best config is: KeepAlive Off in the back-end mod_perl servers, and On in the front-end static/proxy servers. Carl

testing frameworks

2006-01-30 Thread Carl Johnstone
h a good review yet... Carl

Re: Make your next million Stas!

2006-02-13 Thread Carl Johnstone
ooks out in the wild yet? Is anybody working on anything? In particular do O'Reilly have plans to update any of the books? Carl

Re: is there a way to force UTF-8 encoding

2006-03-04 Thread Carl Johnstone
Connected to www.verizonnoticias.com. Escape character is '^]'. GET /Home/index.ad2 HTTP/1.1 Host: www.verizonnoticias.com ... Carl

Re: is there a way to force UTF-8 encoding

2006-03-04 Thread Carl Johnstone
> In fact I'm not actually getting *any* headers back: Checking your server ident you're running modperl 1. Sure you're calling $r->send_http_headers() ? Carl

[mp1] redirect in ErrorDocument

2006-03-17 Thread Carl Johnstone
er_out Yet enabling "PerlSendHeader On" and doing: print "Location: $newurl\n\n"; works fine. I'd prefer to get the first way working - any ideas? Carl

Re: [mp1] redirect in ErrorDocument

2006-03-23 Thread Carl Johnstone
: chunked Content-Type: text/plain; charset=utf-8 0 Connection closed by foreign host. <<<<< Carl

Re: No image creation in mod_perl (was RE: Apache2/MP2 Segfaults ...)

2006-03-27 Thread Carl Johnstone
ate() (assuming your using pre-fork). The currently running child exits at the end of the request freeing any memory it's allocated, and the main apache server process will fork a new child to replace it if needed. Carl

Re: syntax vs. style

2006-03-27 Thread Carl Johnstone
r example you need to restart server to introduce code changes. Carl

Re: syntax vs. style

2006-03-28 Thread Carl Johnstone
But having said that, I find Apache2::Reload very handy for easy and quick development. Me too! Although I find that occasionally I have to restart apache on the development box before it'll work correctly. Hence I wouldn't run it on a production server. Carl

Re: No image creation in mod_perl

2006-03-28 Thread Carl Johnstone
another 100MB, it's just not available at the OS level or for other processes. This isn't completely bad as long as your OS has good memory management. The unused memory in the perl process will just be swapped out to disk and left there until that process uses it again or exits. Carl

Re: Database transaction across multiple web requests

2006-03-31 Thread Carl Johnstone
your favourite templating system. Whole lot - couple of dozen lines of code? Carl

[mp2] apachectl configtest

2007-02-14 Thread Carl Johnstone
mething in the middle, ideally with perl starting post-config with "apachectl configtest" also checking that perl can start. As far as I can see from the docs that isn't an option. Am I missing anything, or has anybody got any suggestions? Thanks Carl

[job] mod_perl/Catalyst in Manchester, England

2007-04-05 Thread Carl Johnstone
entation, we're also looking for client-side/JavaScript developers. http://www.gmgjobsnorth.co.uk/digital/client_side_developers.html Finally there's a little more blurb here: http://www.gmgjobsnorth.co.uk/digital/ Carl

Re: Growing Up

2007-04-25 Thread Carl Johnstone
erved from proxy cache rather than hitting the end servers again. Carl

Re: version checking

2007-04-25 Thread Carl Johnstone
really need to compile a separate version of perl itself as the Redhat is multi-thread by default and offers relatively poor performance. Carl

Re: version checking

2007-04-25 Thread Carl Johnstone
2.0.2, perl 5.8.8 and apache 2.2.3 so it's *nearly* up to date! Anybody tried RHEL5 and like to comment on whether the perl performance is better than with RHEL4? Carl

Re: Are RHEL 3.0 & mod_perl 2.0.x compatible?

2007-04-25 Thread Carl Johnstone
own rpms than to find some suitable! Carl

Re: Logging With Mod Perl 2.0

2007-04-26 Thread Carl Johnstone
So for mp1 that's Apache::Log, and Apache2::Log for mp2. I can't see there being any options outside what those modules already provide. Carl

Re: httpd.conf problem

2007-05-02 Thread Carl Johnstone
sections which means you'll have to list all your subdirs - or maybe see if you can dynamically configure them via a section. Carl

Re: Global question

2007-05-07 Thread Carl Johnstone
* cache in memory anyway through buffers etc. So a disk -based cache can frequently be as fast as shared memory. So you'll probably find that Perrin's BDB suggestion is the quickest - easy to implement solution. Carl

Re: apache mailing list

2007-06-01 Thread Carl Johnstone
http://httpd.apache.org/docs/1.3/ Carl

reverse proxy/logging problem

2007-08-02 Thread Carl Johnstone
I'd be able to turn off logging at the back-end. However the user_id isn't available. Is there any easy way to pass the user_id from the back-end in such a way the front-end could log it? Or is there another option? Carl

Re: X_FORWARDED_FOR original IP

2007-08-03 Thread Carl Johnstone
k. All you can do is use the public IP you are receiving, and leave it to your clients to figure out which internal user it was from their own internal proxy logs. The only time it would be safe to use X-Forwarded-For would be when there *always* is a proxy server that you control (for example a reverse proxy). Carl

Re: mod_perl success stories on ZDNet

2007-10-01 Thread Carl Johnstone
My Google alert sent this to me today: http://whitepapers.zdnet.com/abstract.aspx?docid=257555 Is it me, or does that just link through to here: http://www.oreillynet.com/digitalmedia/blog/2002/05/perl_success_story_termiumplus.html which doesn't require registration? Carl

Fw: mod_perl success stories on ZDNet (KMM6461378I96L0KM) :ppk1

2007-10-08 Thread Carl Johnstone
Looks like somebody has managed to subscribe one of the PayPal support email addresses to the list... Carl - Original Message - From: "PayPal Customer Service 1" <[EMAIL PROTECTED]> To: "Carl Johnstone" <[EMAIL PROTECTED]> Sent: Saturday, Octo

Re: mod_perl MVC framework.

2007-10-30 Thread Carl Johnstone
your templating language isn't up to it then you end up inter-mingling code and HTML. Another vote here for Catalyst, we're running web sites for around 18 regional UK newspapers using it. Amongst the models we use DBIx::Class for DB access, and for view TT. Carl

Re: 32 & 64 bit memory differences

2007-11-05 Thread Carl Johnstone
ur machine with Ubuntu linux and use that instead. It'll save you a lot of time and headaches. We use a VM linux server, then setup file shares between the desktop and VM. Allows the developer to use their favourite Windows editor, but the site runs on the same platform as on live. Carl

Re: dev environment

2007-11-05 Thread Carl Johnstone
nge in subject. Or: 2. Pay up for VMWare Workstation. We use the free VMWare server, and just use smbmount. Obviously needs a little more linux knowledge to setup. Carl

Re: mod_perl, worker mpm and memory use optimisation

2007-11-05 Thread Carl Johnstone
neral advice for mod_perl is to simply load as much as you can before apache forks. Beyond that you're getting into the realm of poking into perl's guts which is probably a bad idea if you want to maintain your code base in the longer term. Carl

Re: 32 & 64 bit memory differences

2007-11-06 Thread Carl Johnstone
5 seconds could take a massive load of the servers. Carl

Re: mod_auth_tkt [was: 32 & 64 bit memory differences]

2007-11-06 Thread Carl Johnstone
Michael Peters wrote: mod_auth_tkt. You can set the authorization ticket with mod_perl and then just let mod_auth_tkt handle it on the non-mod_perl apache. It's extremely light weight and really fast. Got this on my "to implement soon" list - any tips/caveats? Carl

loading Apache2::ServerRec

2008-01-10 Thread Carl Johnstone
ve missed in the documentation? (I've fixed my problem for now by loading the module in the startup.pl) Carl

Re: loading Apache2::ServerRec

2008-01-14 Thread Carl Johnstone
og and the devs can check there. Carl

  1   2   >