Hi all guys!
Thanks for the replies, I try to define the ExtensionsToServe and it
worked as I want... Look my conf:
'DirectoryFile': ['index', 'Index','main','Main'],
'ExtensionsToIgnore': ['.pyc', '.pyo', '.py~', '.psp~',
'ExtensionsToServe': ['.py', '.psp'],
'FilesToHide': ['.*','*~', '*.bak', '*.tmpl', '*.config',
'__init__.*', '*.pyc', '*.pyo'],
Should this be handled by ExtensionCascadeOrder?
About the CheetahServlet, I already have that, it's really cool ;)
Thanks anyway... I generally have one template per site, the General
Template, and I extend the other templates or python files from it...
I think a-a-p cool, I will try it too...
Thanks for all help!
On Wed, 16 Feb 2005 17:55:06 -0500, Winston Wolff
> I also have a plugin for cheetah that will automatically compile .tmpl
> files on demand like PSP does. Let me know if you are interested.
> On Feb 16, 2005, at 1:59 PM, Andreas Poisel wrote:
> > * Robert Forkel <forkel@...> [050216 16:50]:
> >> i had the same problem with a index.py and a index.xml in the same
> >> directory,
> >> solved it by setting the option 'ExtensionsToServe' to ['.py'].
> >> apparently webkit does not try to choose one if there are several
> >> options.
> >> robert
> > If you are looking for a convenient way to keep the templates separate
> > from the compiled servlets in your context directory, consider the
> > recipe
> > http://wiki.w4py.org/usingaaap.html
> > --
> > Andi
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real
> > users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > Webware-discuss mailing list
> > Webware-discuss@...
> > https://lists.sourceforge.net/lists/listinfo/webware-discuss
> winston wolff - (646) 827-2242 - http://www.stratolab.com - learning by
Michel Thadeu Sabchuk
Curitiba - PR