Do you know any tricks to use several RewriteRule for one RewriteCond set?
Assume we have the following:
*************************
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^<referrer_1_url>$ [NC]
RewriteCond %{HTTP_REFERER} ^<referrer_2_url>$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^<referrer_3_url>$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^<referrer_4_url>$ [NC,OR]
...
RewriteCond %{HTTP_REFERER} ^<referrer_N_url>$ [NC]
RewriteRule download/file1_setup\.(exe|zip)$ <file1 path> [R]
...
RewriteRule download/file2_setup\.(exe|zip)$ <file2 path> [R]
RewriteRule download/file3_setup\.(exe|zip)$ <file3 path> [R,L]
*************************
The RewriteCond block is used only for the first RewriteRule (which is right after this block), and as you can see, the RewriteCond block is too big to repeat it for each RewriteRule.
As an idea: maybe by setting a specific ENV variable which can then be used to identify that the block of RewriteCond conditions was met?
Are there any other approaches?