Advertisement
Guest User

Untitled

a guest
Oct 31st, 2011
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. I had:
  2.  
  3. .htaccess
  4.  
  5. #Allow for revisioned assets
  6. RewriteRule ^cdn/([0-9a-z])*/(.*) /$2 [L]
  7.  
  8. Vhost:
  9.  
  10. <LocationMatch "/cdn(/|$)">
  11. Header unset ETag
  12. FileETag None
  13. ExpiresDefault "access plus 1 year"
  14. </LocationMatch>
  15.  
  16. The problem is the first rewrite is completed before the match in the vhost, to the LocationMatch never...well...matches? I think.
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement