At Fri, 23 Feb 2001 13:40:33 +1100, Gavin Carr <[EMAIL PROTECTED]> wrote: 
>
>On Thu, Feb 22, 2001 at 02:51:02PM -0800, Wim Kerkhoff wrote:
>> What's the best solution?
>
>Not necessarily the best solution, but what I'm doing is not using
>*.html for these objects at all - I'm calling them base.obj, init.obj,
>etc. Two benefits - it makes it immediately clear what's meant to be a
>proper html page and what's an EmbperlObject fragment; it means that
>these objects are treated as text by apache by default, rather than
>as html, avoiding the problems that spawned this thread. If you
>don't want people to be able to view your objects, of course, you can
>just do:
>
><Files ~ "\.obj$">
>    Order allow,deny
>    Deny from all
></Files>
>
>but they'll still work fine with EmbperlObject.

Ahh, that's an excellent idea!  I'm going to switch to that.  Perhaps this tip should 
go into the documentation/tutorials?

Wim.

--
Regards,

Wim Kerkhoff, Software Engineer
Merilus, Inc.
[EMAIL PROTECTED]

Reply via email to