> On Mon, Mar 22, 2004 at 10:13:40AM -0300, Martin Sarsale wrote:
> > Now: we've configured mathopd to run on the same server, with the same
> > document root, but we need to configure it to deny the request of any
> > file which is not one of: *gif, *jpg, *png.
>
> Martin, you can use ``Dummy'' directive:
>
> Specials {
> Dummy { html htm }
> }
>
> Documentation says:
> This control block overrides the type declaration for html and htm
>
> extensions, effectively hiding these files, even if they were
> to exist physically.
>
Instead of listing all forbidden file extensions here, it may be much easier
to hide all files via Dummy directive and make only images visible:
Types {
image/gif { gif }
image/jpeg { jpg jpeg }
}
Specials {
Dummy { * }
}
Ja.