Re: deny file types

Dmitry Volkoff <[email protected]> Mon, 22 Mar 2004 18:20:46 +0300
Newsgroups gmane.network.mathopd
Message-ID <20040322152046.GC16147@server1>
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.

-- 
    DV