[text] uploads

Viewer

  1.  
  2. # BEGIN WebP Converter
  3. # ! --- DO NOT EDIT PREVIOUS LINE --- !
  4. <IfModule mod_rewrite.c>
  5.   RewriteEngine On
  6.   RewriteCond %{HTTP_ACCEPT} image/webp
  7.   RewriteCond %{DOCUMENT_ROOT}/gsu-it_interwork/wp-content/uploads-webpc/uploads/$1.jpg.webp -f
  8.   RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} ^([^@]*)@@https?://\1/.*
  9.   RewriteRule (.+)\.jpg$ /gsu-it_interwork/wp-content/uploads-webpc/uploads/$1.jpg.webp [NC,T=image/webp,E=cache-control:no-cache,L]
  10.   RewriteCond %{HTTP_ACCEPT} image/webp
  11.   RewriteCond %{DOCUMENT_ROOT}/gsu-it_interwork/wp-content/uploads-webpc/uploads/$1.jpeg.webp -f
  12.   RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} ^([^@]*)@@https?://\1/.*
  13.   RewriteRule (.+)\.jpeg$ /gsu-it_interwork/wp-content/uploads-webpc/uploads/$1.jpeg.webp [NC,T=image/webp,E=cache-control:no-cache,L]
  14.   RewriteCond %{HTTP_ACCEPT} image/webp
  15.   RewriteCond %{DOCUMENT_ROOT}/gsu-it_interwork/wp-content/uploads-webpc/uploads/$1.png.webp -f
  16.   RewriteCond %{HTTP_HOST}@@%{HTTP_REFERER} ^([^@]*)@@https?://\1/.*
  17.   RewriteRule (.+)\.png$ /gsu-it_interwork/wp-content/uploads-webpc/uploads/$1.png.webp [NC,T=image/webp,E=cache-control:no-cache,L]
  18. </IfModule>
  19. # ! --- DO NOT EDIT NEXT LINE --- !
  20. # END WebP Converter
  21.  

Editor

You can edit this paste and save as new:


File Description
  • uploads
  • Paste Code
  • 13 May-2021
  • 1.19 Kb
You can Share it: