02-01-07 12:21 AM
On 31 Jan, 16:57, "Kevin" <kejos...@hotmail.com> wrote:
> Thanks for replying - the setup I have is a bit more complex and hence
> I did not specify the details earlier. I have a Java application
> server at the backend and want Apache (as front-end web server) to
> serve static content. However, due to the way the application is
> setup, certain gif files do not work if they are served by Apache.
> Hence, I need a way to have Apache exclude a couple of these gif
> images and process the remainder. I hope this helps explain my earlier
> query.
>
> Kevin.
heres how you get a reg exp for files you might want to do something
with,
http://httpd.apache.org/docs/2.2/mo...html#filesmatch
<FilesMatch "\.(gif|jpe?g|png)$">
</FilesMatch>
I suppose I was asking what are you trying to do, maybe I'm being slow
but I can't see _what_ you are trying to achieve, we know that the
files are being mangled, so are you just going to stop them from being
public? If you dont wish people to see them, then use.
<FilesMatch "\.(gif|jpe?g|png)$">
Order Allow,Deny
</FilesMatch>
this will stop them from being served, adjust your reg exp to suit.
[ Post a follow-up to this message ]
|