Re: mod_perl and utf8 and CGI->param

2014-09-03 Thread Dr James A Smith
I encode a "pound sign" which as a parameter which indicates whether content is UTF-8, UCS or latin-1 - and this seems to resolve most of the issues... I did take a lot of effort to fix issues with utf8 and there are a lot of these - between form -> post; between requests if storing data in ses

Re: support for Apache 2.4

2014-02-16 Thread Dr James A Smith
On 16/02/2014 15:36, Steve Hay wrote: On 16 February 2014 15:11, Dominic Hargreaves wrote: On Sun, Feb 16, 2014 at 11:10:20PM +1100, Carl Brewer wrote: Having just downloaded this latest SVN repo, a grep for "2.4" in the root dir shows a couple of changes, but no explicit mention of 2.4 suppor

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Dr James A Smith
You may have some "quirk" going on with DBD::Oracle - it has a nasty BEGIN block in it which does some nasty stuff... I had a three day head scratch with this module moving from Lucid to Precise as it was not finding the tnsnames files - in the end I had to set up the environment before starting

Re: [mp2] cannot install from freebsd ports

2011-05-23 Thread a . smith
Quoting Fred Moyer : It looks like FreeBSD ports was very recently updated to 2.0.5: http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/mod_perl2/pkg-plist Are you able to specify 2.0.5 in your ports install? (note I know little about FreeBSD ports). Well spotted. This means the ports tree is

Re: robots.txt with httpd and root level SetHandler perl-script

2011-03-14 Thread a . smith
Quoting Torsten Förtsch : A PerlMapToStorageHandler inside a Location block doesn't make sense. See http://perl.apache.org/docs/2.0/user/config/config.html#mod_perl_Directives_Argument_Types_and_Allowed_Location BTW, it should read use Apache2::Const -compile=>'DECLINED'; Hi, so, if

Re: robots.txt with httpd and root level SetHandler perl-script

2011-03-14 Thread a . smith
Quoting Torsten Förtsch : or instead of the Location block: PerlMapToStorageHandler "sub {\ use Apache2::Const -compile=>DECLINED; \ use Apache2::RequestRec (); \ use Apache2::RequestUtil ();\ unless( $_[0]->uri eq '/r

robots.txt with httpd and root level SetHandler perl-script

2011-03-14 Thread a . smith
Hi, I'd like to have a robots.txt on a site that has the following apache httpd config: SetHandler perl-script PerlHandler RT::Mason But if I install a robots.txt to the DocumentRoot and test it via wget I just download the front page of the site, as its handled by pe