Re: Avoid processing for images?
"Vsevolod (Simon) Ilyushchenko" <[email protected]> Fri, 16 Sep 2005 17:27:10 -0400
| Newsgroups | gmane.comp.web.skunkweb |
|---|---|
| Message-ID | <[email protected]> |
Thanks, Jacob. Though it would be sooo much easier if I could say in Skunk "ExcludeFileType jpg", and it would serve the file statically... Simon Jacob Smullyan wrote on 09/16/2005 11:44 AM: > On Fri, Sep 16, 2005 at 10:40:29AM -0400, Vsevolod (Simon) Ilyushchenko wrote: > >>Hi, >> >>Is there a way to tell Skunk to avoid processing certain file types >>(images, videos, etc)? I know how to exclude a certain directory, but I >>would rather use a more generic command to exclude .jpg, .mov etc >>wherever they are found? > > > I assume this is in a mod_skunkweb context, and is thus really an > apache question. SkunkWeb itself will of course serve up those files > anyway, just not as efficiently and with negative consequences on its > availability to do other work. > > I'm sure there is some apache foo that could help out. Possibilities > worth checking out: > > 1. using a rewrite rule that mapped the request internally to a different > virtual host that isn't configured to use the skunkweb handler (or > to proxy a different webserver). -- Simon (Vsevolod ILyushchenko) [email protected] http://www.simonf.com Terrorism is a tactic and so to declare war on terrorism is equivalent to Roosevelt's declaring war on blitzkrieg. Zbigniew Brzezinski, U.S. national security advisor, 1977-81 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php