Templating system opinions (CGI::Application in connection with either HTML::Template or Template::Toolkit)

2003-07-23 Thread Dave Baker
n so added. Especially since I think I read recently where the very popular Template::Toolkit can be used by CGI::Application in lieu of HTML::Template. --- Dave Baker

Re: [OT] Re: Vhosts + mod_perl

2001-12-03 Thread Dave Baker
freely. If you use tools such as dnslint you may need to append a comment on the end of your wildcard line to indicate to dnslint that the wildcard is intentional. (header fluff) ;; 'real' host www IN A 123.123.123.1 vhost IN A 123.123.123.2 ftp CNAME www.trains.ath.cx. ;;

RE: AxKit Shutdown

2001-11-06 Thread Dave Baker
> As I've said to everyone of these offers: mirroring isn't the problem right > now - the web site is up at http://217.158.50.178/, it just doesn't have the > domain name. We don't really get the sort of traffic that requires a mirror > for bandwidth problems, and I've yet to get a complaint tha

Re: [OT] pdf creation

2001-10-29 Thread Dave Baker
tmldoc (http://www.easysw.com) which does html->pdf in a breeze (as well as html->ps). Handy if you want to pdfify something that you've already rendered into HTML for online display. Dave -- - Dave Baker : [EMAIL PROTECTED] : [EMAIL PROTECTED] : http://dsb3.com/ - GnuPG: 1024D/D7BCA55D / 0

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Dave Baker
grow over time) memory leaks p.p.p.s. love the palm pilot cases ... -- - Dave Baker : [EMAIL PROTECTED] : [EMAIL PROTECTED] : http://dsb3.com/ - GnuPG: 1024D/D7BCA55D / 09CD D148 57DE 711E 6708 B772 0DD4 51D5 D7BC A55D

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Dave Baker
you're so inclined). Depending on the O/S you may also consider (I have and have dismissed it as too troublesome) running apache on different ports and using transparent port mapping such that --> IP address 1 : 80 --> local port 8000 --> IP address 2 : 80 --> local por

Re: [ADMIN] can we have a reply-to header?

2001-08-15 Thread Dave Baker
d I think its already been had) I will go > to your homes and stuff chili peppers up your nose. > If not for it's violently offtopic nature, I would respectfully offer: http://www.devbrain.com/reply-to-non-harmful.html Dave -- - Dave Baker : [EMAIL PROTECTED] : [EMAIL PROTECT

Re: my() [very off topic]

2001-08-14 Thread Dave Baker
On Tue, 14 Aug 2001, swade wrote: > Much thanks! What do the knowledgable programmers do? Do they my() thier > variables, etc at the beginning of thier subroutines? Or do they do it as > they come to it? or is it really just personal prefence? > This is rather off topic for mod_perl and shoul

Re: i use linux+apache. how to create a cgi-bin directory for VirtualHost?

2001-06-10 Thread Dave Baker
ServerName $_ ServerAlias www.$_ DocumentRoot /wherever/it/is/$_/ CustomLog/var/log/apache/multihosts_access_log vcommon EOF } --- end snippet By adding a script_alias here you can get what you need. Dave --=20 - Dave Baker : [EMAIL PROTECTED] : [EMAIL PROTECTED] : h

Re: [Mason] Apache::Session not storing changes to hashref

2001-05-22 Thread Dave Baker
This is documented (Apache::Session doesn't recurse into the data structure to look for changes) somewhere ... I use this whenever changing the session to force it to always get written back to the database: tied(%session)->make_modified; Dave --=20 - Dave Baker : [EMAIL PROTECTED] :

RE: [OT] ApacheCon BOF

2001-03-21 Thread Dave Baker
[extensive snippage] How about a bunch of white shirts? One magic marker per shirt and everyone can draw their own picture of a computer. alternatively, "No-one could decide on an image so all we got was this lousy sentence." Dave

Re: Perl Sections, NameVirtualHost, and Aliases

2001-02-07 Thread Dave Baker
nfig .= $string and build the VirtualHosts as if they were plain text. Not as elegant as doing this the hard way, but it's also easier to explain if you have to hand the config file off to someone who knows Apache but not Perl. Dave -- - Dave Baker : [EMAIL PROTECTED] : [EMAIL PR

Re: [OT] hi all

2000-10-11 Thread Dave Baker
I'm missing > something terribly. > I read this as meaning the QUERY string is 7k in size, not the result set. A 7k query is pretty hefty, however you slice it the words 'stored procedure' come to mind (but that's always another story) dave -- - Dave Baker :

Re: Apache::Session upgrade problems and Inheritance

2000-08-02 Thread Dave Baker
n', $self->{SESSION_ID}, $dbinfo > -where $dbinfo is a hashref > > This no longer works and here's the error message from Apache: > > Can't connect( HASH(0x86e338c)), no database driver specified and DBI_DSN > env var not set at > /usr/lib/perl5/site_perl/5.005/

Re: Apache::Session weirdness

2000-06-13 Thread Dave Baker
methods to be > invoked, and subsequently, the data is stored. > > The last thing I do in my handlers, right before I untie the hash, is to > update a timestamp, just as you did. This one bit me also. I'm now using this (since I don't need a timestamp) tied(%session)->mak