Re: [RFC] Apache-GeoIP module

2002-10-27 Thread T.J. Mather
Hi, Thanks for your patch - you brought up a good point. We are actually fixing the C library so that it returns NULL instead of '--' - so the Perl XS should automatically return undef now instead of '--'. -TJ On Fri, 25 Oct 2002, Michael Schout wrote: One thing I'd add if you do decide to

Re: [RFC] Apache-GeoIP module

2002-10-27 Thread T.J. Mather
Hi, The database that is included with Apache-GeoIP is from March 2002. The latest database (October 2002) is more accurate, and may correctly locate your IP address. We have an online demo here: http://www.maxmind.com/app/lookup Note that we offer a free subscription to database updates for

Re: IP based instant throttle?

2001-06-07 Thread T.J. Mather
Hi Justin, What about the case where you would have several people accessing the site from behind a firewall at the same time? They would appear to be coming from the same IP Address. On Friday, June 8, 2001, at 01:50 am, Justin wrote: Does anyone see the value in a Throttle module that

Re: comparison of templating methods?

2001-06-06 Thread T.J. Mather
On Thu, 7 Jun 2001, Steve Smith wrote: HTML::Embperl For me, this has one major win over the other toolkits: auto form population from a hash. The online mortgage application system I You may also fill in HTML forms with Apache::ASP and Apache::PageKit. With PageKit it automatically

ANNOUNCE: PageKit 1.00

2001-05-17 Thread T.J. Mather
PageKit 1.00 has been released. PageKit is a mod_perl based web application framework that uses HTML::Template and XML to separate the Model, View, Content and Controller. Provides elegant solutions to many difficult web programming problems, including session management, language localization,

Re: modperl/ASP and MVC design pattern

2001-04-20 Thread T.J. Mather
But are there in the mod_perl architecture some guidelines and/or frameworks that encourages the MVC design patern ? Apache::PageKit is a MVC based framework. You can find it on CPAN here: http://cpan2.org/Asset/display?dist=Apache-PageKit I wrote an article on it for take23:

[OT] Re: Search Engine Theory

2001-02-27 Thread T.J. Mather
: Can anyone point me to any documents on search engine theory and programming search engines with perl? Jamie Krasnoo www.MyEBoard.com [EMAIL PROTECTED] _ T.J. Mather http://tjmather.com http

RFC: mod_proxy_add_uri.c Apache module

2001-02-25 Thread T.J. Mather
. _ T.J. Mather http://tjmather.com http://cpan2.org/ New CPAN Search Engine http://www.anidea.com/ Digital Asset Management http://www.theinnkeeper.com/Bed

Re: SQL log analyzer for Apache::DBILogger

2001-02-06 Thread T.J. Mather
by Apache::DBILogger. _ T.J. Mather http://tjmather.com http://cpan2.org/ New CPAN Search Engine http://www.anidea.com/ Digital Asset Management http

INIT Blocks under mod_perl

2001-02-02 Thread T.J. Mather
n fine. I'm running mod_perl 1.24_01, Apache 1.3.14. Thanks, TJ _________ T.J. Mather http://tjmather.com http://cpan2.org/ New CPAN Search Engine http://www.anidea.com/ Digi

Re: Text::Template and passing in variables; going bug nuts!

2001-01-26 Thread T.J. Mather
can't get at them and "use strict" can I? _____ T.J. Mather http://tjmather.com http://cpan2.org/ New CPAN Search Engine http://www.anidea.com/ Digital Asset

[JOB NYC] WhenU.com seeks Perl developer

2001-01-22 Thread T.J. Mather
I'm just the messenger, contact Avi Naider directly: -- Forwarded message -- Date: Fri, 19 Jan 2001 08:19:26 -0500 From: Avi Naider [EMAIL PROTECTED] To: Princeton Career Network E-list [EMAIL PROTECTED] Subject: WhenU.com seeks Perl developer WhenU.com is looking for a strong

Re: [OT] All of Perldocs to HTML files

2001-01-16 Thread T.J. Mather
have you looked at Pod::Html ? You can use that together with File::Find to convert a directory of pods.

Form Fillin with Apache::ASP

2001-01-10 Thread T.J. Mather
There is an easy way of doing auto form fillin with Apache::ASP using HTML::FillInForm - for details see (credit goes to Paul Lindner) http://search.cpan.org/doc/TJMATHER/HTML-FillInForm-0.07/lib/HTML/FillInForm.pm#Apache_ASP and http://forum.swarthmore.edu/epigone/modperl/malskalko - No

prob with dir_config at server startup

2000-12-27 Thread T.J. Mather
I'm having a problem accessing PerlSetVar variables with Apache-server-dir_config at server startup. I'm using the lastest versions of mod_perl 1.24_01 and apache (1.3.14). The problem occurs when I use PerlSetVar inside a Directory, Location or Files section: in httpd.conf: Location /

ANNOUNCEMENT: Apache::PageKit 0.91

2000-12-26 Thread T.J. Mather
There is a new version of PageKit available for download from CPAN. For more information, please go to http://search.cpan.org/search?dist=Apache-PageKit There has been a major API cleanup and rewrite of code base that makes it faster and much easier to set up and use. PageKit is still in

[PATCH] Apache::test docs

2000-12-21 Thread T.J. Mather
Hi, There is an error in the POD for Apache::test under the fetch method. It states that the return value of the fetch method is dependent on whether it is called under a scalar or list context, when it is actually dependent on whether it is called as a function or method. I have attached the

Re: [OT]umm...WTFM? sheepish grin[Re: advocacy]

2000-12-12 Thread T.J. Mather
Anybody point me to one? online docs for Apache.pm : http://search.cpan.org/doc/DOUGM/mod_perl-1.24_01/Apache/Apache.pm

RFC: Apache::Carp - Error Handling under mod_perl

2000-11-29 Thread T.J. Mather
I've done a lot of programming under mod_perl and I got tired of examining the error logs for errors. So I wrote a module that displays to the broswer the error (with a complete call stack) for any fatals or warnings that occur on a development server (similar to using CGI::Carp

Re: indexing and searching documents on your web server

2000-09-25 Thread T.J. Mather
If you want something controllable via mod_perl then there are a couple of things in the CPAN, under the DBIx hierarchy. If you're not bothered about direct control, then you should check out htDig. one of these is DBIx::FullTextSearch - it does require a MySQL database though. it offers

[ANNOUNCE] Apache::PageKit 0.04

2000-08-30 Thread T.J. Mather
-devel The best way to develop a site using PageKit is to start with the source for http://www.pagekit.org/ which is located in the eg/ directory of the distribution. Any questions, comments or suggestions are welcome. This module is in early alpha stage and the API may change. Have fun, T.J. Mather

Re: [OT]starting a long running script

2000-08-29 Thread T.J. Mather
-register_cleanup( sub { system("/path/to/your/script.pl"); } ); -T.J. Mather On Tue, 29 Aug 2000, martin langhoff wrote: i need to start a long-running script from either mod_perl or mod_cgi, and I'm facing all the well-known issues: the apache child waits, until it waits no longer (may

Re: Advice on migrating modperl from NT to Linux ?

2000-08-26 Thread T.J. Mather
Also, another piece of advice for what it's worth. If your going to add SSL, build and test apache with mod-perl first, and then go back and add SSL. There may well be a work-around that I'm not aware of, but basically the problem is that mod-ssl is looking for an encryption key on

Re: expiring pages with mod_perl

2000-08-20 Thread T.J. Mather
use my $headers = $r-headers_out; $headers-{'Pragma'} = $headers-{'Cache-control'} = 'no-cache'; $r-no_cache(1); for more information see http://perl.apache.org/guide/correct_headers.html#2_1_3_Expires_and_Cache_Control On Sun, 20 Aug 2000, Jamie Krasnoo wrote: Sorry for the newbie question

[new module] Apache::PageKit

2000-08-16 Thread T.J. Mather
I have an addition for the Apache/Perl Module List, under PerlHandler's PageKit cmpOApplication framework w/ HTML::Template TJMATHER Here is a brief description of the module: PageKit is a set of Perl modules that provides an application framework based on mod_perl and

Re: [new module] Apache::PageKit

2000-08-16 Thread T.J. Mather
I got a couple of e-mails asking where this module could be found. I plan to release the module in a few days on CPAN. I will make an announcement on this list when I do. -TJ Mather

Re: [new module] Apache::PageKit

2000-08-16 Thread T.J. Mather
Here is a brief description of the module: PageKit is a set of Perl modules that provides an application framework based on mod_perl and HTML::Template. It is based on the Model/View/Controller approach to design, with complete seperation of Perl from HTML. It includes session

[BUG FIX] Apache.xs write_client

2000-08-09 Thread T.J. Mather
There are differences in the variable after a non-global substitution vs. a global substitution. After a non-global substitution, a reference to the scalar value is of type SVt_PVIV, as opposed to SVt_PV for global substituion. So I changed write_client() Apache.xs to also check if the

weird print bug?

2000-08-08 Thread T.J. Mather
text =~ s/hello/hi/g;# --- changed to /g $r-print(\$text); } OUTPUT: hi world Any ideas? I'm running Perl 5.6.0/mod_perl 1.24/Apache 1.3.12 on Linux 2.2.12 (red hat 6.1) on i686. Thanks, T.J. Mather

Re: YAM (Yet Another Module) - an IPC shared cache thing - anyoneinterested ?

2000-07-22 Thread T.J. Mather
Have you considered using HTML::Template? It is a simple yet powerful way to seperate HTML from Perl code. It can do loops (good for HTML tables), includes, and if/unless/else statements. Furthermore, it has shared memory for templates built in.