I have two rewrite rules:
RewriteRule ^library/(.*)$ market-intelligence/resources/$1 [L,R=301]
RewriteRule ^library/.*\.pdf$ email/$1 [L,R=301]
As one can see, they are for the same directory, but the second deals with all pdf files. However, any pdfs in the directory still lead to the first rule's destination.
Am I doing something wrong?