Syntax:

LocationMatch ereg [Once]

Applies the chain to the document if its name (the physical file name or URL, if it is a network file) matches the regular expression ereg. The directives refer to the chain till the following LocationMatch or Sub directive. The keyword Once means that the rule can’t be applied to a page more than once.
An example:

LocationMatch #\.xml$#
# here we process the xml documents
# ..................

LocationMatch #\.csv$#
# here we process the csv documents
# ..................

LocationMatch #category=foo$#
#  here we process the web-pages from "foo" category
# i.e. those which contain "category=foo" in their address
# ..............................

Implode Standart Directives MakeArray