You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/07/25 11:30:32 UTC

mod_mime_magic

mod_mime_magic is opening up things like CGIs in cgi-bin and file typing
them.  It should probably test if the request has a handler, not only if
it already has a content type. 

Dean



Re: mod_mime_magic

Posted by Dean Gaudet <dg...@arctic.org>.
Another thing that'd be cool to do would be to somehow be able to avoid
opening the file to be served twice.  mod_mime_magic opens the file during
type check... it'd be cool if it could be cached in case it's needed to
serve. 

strace, truss, par (linux/bsd, solaris/sysv, irix resp.) are your friends! 
Amazing the bugs you can find just by watching the system calls and having
a good idea what the code is up to.  Anyone know of a similar tool for
win95/NT? 

Dean

On Fri, 25 Jul 1997, Dean Gaudet wrote:

> mod_mime_magic is opening up things like CGIs in cgi-bin and file typing
> them.  It should probably test if the request has a handler, not only if
> it already has a content type. 
> 
> Dean
> 
> 
>