At 11:55 AM 01/28/02 +0800, Stas Bekman wrote:
>> Maybe when you can't sleep some night think about separating DocSet from
>> the HTML generation. It might be nice. DocSet -> ttree -> html output.
>> DocSet might write a tt config file, or provide a plugin to read the cache.
>> You might end up with a more powerful solution where DocSet, CGI, and
>> mod_perl could be used together in a site.
>
>
>Nope, not DocSet. That's how Andy's TT docs get built - in two passes. I
>don't like this approach because his templates look like hell (the first
>pass need to generate templates for the second pass) and if you look at
>the pods, they have loads of TT markup in there.
He's suggested to me lately to do that two-step process to build the
templates that are used as templates (TT builds TT's templates from
templtes ;). Things get confusing with too many layers in the same
application.
>> DocSet should also be able to
>> read a config. For example, if you wanted "Search" to be a menu item, but
>> Search is not part of "src" then it might be nice to have a way to tell
>> DocSet to include that.
>
>You can do this already, look at the src/config.cfg file. and search for
>[EMAIL PROTECTED], now do the same for search.
Of course. I wasn't thinking.
>> .../dst_html/.htaccess: Redirect to non-URL
>
>
>what do you mean? This entry is wrong?
>
>RedirectMatch Permanent /guide/ /docs/1.0/guide/
This drives me crazy! The solution is:
RedirectMatch Permanent /guide/ /docs/1.0/guide/
Maybe it's my version of Apache?
Apache/1.3.20 (Unix) mod_perl/1.25_01
> cat .htaccess
RedirectPermanent /guide/ /docs/1.0/guide/
> HEAD -S http://localhost/guide
HEAD http://localhost/guide --> 500 Internal Server Error
> cat .htaccess
RedirectMatch Permanent /guide/ /docs/1.0/guide/
> HEAD -S http://localhost/guide
HEAD http://localhost/guide --> 404 Not Found
--
Bill Moseley
mailto:[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]