Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{REQUEST_URI} !(/$|.)
  3. RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
  4. RewriteCond $1 !^(index.php|images|robots.txt|sitemap.xml|locations <br>.kmls|style.css|homepage.php)
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. RewriteRule ^(.*)$ /index.php?$1 [NC,QSA,L]
  8.  
  9.  
  10. RewriteEngine On
  11. RewriteCond %{REQUEST_URI} !/admin
  12. RewriteCond %{REQUEST_URI} ^/websitefakeurl.info/([wd-]+)/$ [NC
  13. RewriteRule ^ %1/?file_name=%2 [L,QSA]
  14.  
  15. <filesMatch ".(html|htm|js|css|php|txt|kml|xml)$">
  16. FileETag None
  17. Header unset ETag
  18. Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
  19. Header set Pragma "no-cache"
  20. Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
  21. </filesMatch>
  22.  
  23. DirectoryIndex index.php index.html site-down.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement