On Fri, 9 Feb 2001, Gerald Richter wrote:
> >
> > Just an idea, as a workaround:
> >
>
> Neil, you are right. We don't need two configurations blocks and it's not
> only a workaround, this is the better solution.
>
Thanks Neil and Gerald. The below solution works great. Maybe add that to
the document.
> Just write
>
> <Location />
> PerlSetEnv EMBPERL_OBJECT_BASE sat-template.html
> PerlSetEnv EMBPERL_FILESMATCH "\.html"
> SetHandler perl-script
> PerlHandler HTML::EmbperlObject
> Options ExecCGI FollowSymLinks
> </Location>
>
> and rename /login/sat-login-template.html to /login/sat-template.html and
> EmbperlObject will pickup the correct template
>
> Sorry, Baiju, I could thought of this earlier. That's a much better way to
> go (at least if there isn't something in your special case that I am
> missing)
Here's a quick observation. I was doing [- Execute ("header.html") -] it
is much better to give it full path because the template file looks in the
current direcoty as its root. So even [- Execute ("/header.html") -] fails
under the /login directory because the file.html is in the / directory.
[- Execute ("$docroot/header.html") -] works fine from any base file.
Thank you very much.
~Baiju
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]