Advertisement
Guest User

Untitled

a guest
Jul 28th, 2016
63
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. RewriteEngine On
  3.  
  4. AddEncoding gzip .gz
  5. AddEncoding gzip .gzip
  6. <FilesMatch ".(js.gz|js.gzip)$">
  7. ForceType text/javascript
  8. </FilesMatch>
  9. <FilesMatch ".(css.gz|css.gzip)$">
  10. ForceType text/css
  11. </FilesMatch>
  12.  
  13.  
  14. RewriteCond %{REQUEST_URI} !^/index.php
  15. RewriteCond %{REQUEST_URI} !/ow_updates/index.php
  16. RewriteCond %{REQUEST_URI} !/ow_updates/
  17. RewriteCond %{REQUEST_URI} !/ow_cron/run.php
  18. RewriteCond %{REQUEST_URI} !/e500.php
  19. RewriteCond %{REQUEST_URI} !/captcha.php
  20.  
  21. #RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$ [NC]
  22. RewriteCond %{REQUEST_FILENAME} (/|.php|.html|.htm|.xml|.feed|robots.txt|.raw|/[^.]*)$ [NC]
  23. RewriteRule (.*) index.php
  24.  
  25. RewriteCond %{REQUEST_URI} !/test.php
  26.  
  27. RewriteRule ^test test.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement