In httpd.conf I have:

----------

PerlModule bizop::Apache::Template
PerlModule Apache::SessionManager
PerlTransHandler Apache::SessionManager

<LocationMatch "\.pmg">

SetHandler perl-script
PerlHandler bizop::Apache::Template

PerlSetVar SessionManagerTracking On
PerlSetVar SessionManagerURITracking On
PerlSetVar SessionManagerExpire 5184000
PerlSetVar SessionManagerInactivity 5184000
PerlSetVar SessionManagerName CARTSESSIONID
PerlSetVar SessionManagerDebug 0
PerlSetVar SessionManagerStore MySQL
PerlSetVar SessionManagerLock MySQL

PerlSetVar SessionManagerStoreArgs "DataSource =>
DBI:mysql:sessions;host=127.0.0.1, UserName => root, Password => ,
LockDataSource => DBI:mysql:sessions;host=127.0.0.1, LockUserName =>
root, LockPassword => "
</LocationMatch>

.
.
.

<IfModule mod_dir.c>
    DirectoryIndex index.i index.tt2 index.html
</IfModule>

----------

I'm using my own handler and Apache::SessionManager to handle sessions.
No matter what I have tried I can't get index.tt2 files to start
automatically. index.i and index.html files work fine.

Thanks for any ideas on this!

-- 
Kip Lawrence <[EMAIL PROTECTED]>
JK Crafts


On Wed, 2003-11-19 at 00:17, A. Pagaltzis wrote:
> * Kip Lawrence <[EMAIL PROTECTED]> [2003-11-19 06:21]:
> > When I make the changes needed to httpd.conf index.tt2 does not
> > work.  index.html still does.
> > 
> > I'm mapping *.tt2 to the Apache::Template handler if this makes
> > a difference.
> 
> It would help if you posted the relevant bits from your
> configuration.
-- 
Kip Lawrence <[EMAIL PROTECTED]>
JK Crafts

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to