Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. Options +FollowSymLinks
  2.  
  3. RewriteEngine On
  4.  
  5.  
  6.  
  7. AddEncoding gzip .gz
  8.  
  9. AddEncoding gzip .gzip
  10.  
  11. <FilesMatch "\.(js.gz|js.gzip)$">
  12.  
  13. ForceType text/javascript
  14.  
  15. </FilesMatch>
  16.  
  17. <FilesMatch "\.(css.gz|css.gzip)$">
  18.  
  19. ForceType text/css
  20.  
  21. </FilesMatch>
  22.  
  23.  
  24.  
  25.  
  26.  
  27. RewriteCond %{REQUEST_URI} !^/index\.php
  28.  
  29. RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
  30.  
  31. RewriteCond %{REQUEST_URI} !/ow_updates/
  32.  
  33. RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
  34.  
  35. RewriteCond %{REQUEST_URI} !/e500\.php
  36.  
  37. RewriteCond %{REQUEST_URI} !/captcha\.php
  38.  
  39. #RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
  40.  
  41. RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
  42.  
  43. RewriteRule (.*) index.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement