Advertisement
Guest User

htaccess

a guest
Dec 30th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Options +FollowSymLinks -Indexes
  2. AddDefaultCharset UTF-8
  3.  
  4. <IfModule mod_rewrite.c>
  5. RewriteEngine On
  6.  
  7. RewriteBase /
  8.  
  9. RewriteCond %{REQUEST_URI} !^/backups/
  10. RewriteCond %{REQUEST_FILENAME} \.(png|jpg|jpeg|gif|swf|eot|svg|ttf|woff|woff2|zip)$
  11. RewriteCond %{REQUEST_FILENAME} -f
  12. RewriteRule .* - [L,QSA]
  13.  
  14. RewriteRule ^humans.txt - [E=ROUTE:ajax/settings/humans]
  15. RewriteRule ^robots.txt - [E=ROUTE:ajax/settings/robots]
  16. RewriteRule .* index.php [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
  17. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement