Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 16th, 2012  |  syntax: Perl  |  size: 0.23 KB  |  hits: 116  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Order Allow,Deny
  2. <FilesMatch "^[^.]+\.(?:[Jj][Pp][Ee]?[Gg]|[Pp][Nn][Gg]|[Gg][Ii][Ff]|[Pp][Dd][Ff])$">
  3. Allow from all
  4. </FilesMatch>
  5.  
  6. or:
  7.  
  8. Order Allow,Deny
  9. <FilesMatch "^[^.]+\.(?i:jpe?g|png|gif|pdf)$">
  10. Allow from all
  11. </FilesMatch>