Exclude images from match

Exclude images from match

am 25.01.2005 23:02:28 von John Patterson

Hi,

I would like to send all requests execpt images to a Jetty srever using mod_jk2.

How can I write a or section that exludes image files
(eg. .jpg, .gif)

Thanks,

John Patterson.


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Exclude images from match

am 26.01.2005 16:21:42 von Joshua Slive

+0000 (UTC), John Patterson wrote:
> Hi,
>
> I would like to send all requests execpt images to a Jetty srever using mod_jk2.
>
> How can I write a or section that exludes image files
> (eg. .jpg, .gif)

I'm not really a regex expert, but in apache2 you can try negative
look-head to get this.
Something like


Joshua.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org