| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
This is in an .htaccess file:
What would be the best regular expression to get it to work with ANY file name containing the words "local" or "district" or "country".
etc for all 3 keywords in <FilesMatch>
Thank you in advance.
Since the regular-expressions patterns in the FilesMatch directive are not anchored with "^" or "$", they should match no matter where in the requested pathname those words appear.
Unless I miss your point...
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved