Geovanny

htaccess dimension binaria sirviendo

Dec 1st, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. Options -Indexes
  2.  
  3. RewriteEngine on
  4.  
  5. # Tratando de arreglar problemas con AJAX
  6. Header always unset X-Frame-Options
  7. Header set X-Frame-Options SAMEORIGIN
  8.  
  9. # For security reasons, Option followsymlinks cannot be overridden.
  10. # Options +FollowSymLinks
  11. Options +SymLinksIfOwnerMatch
  12.  
  13. RewriteCond %{HTTP_HOST} ^dimension-binaria\.com$ [NC]
  14. RewriteRule ^(.*)$ http://www.dimension-binaria.com/$1 [L,R=301]
  15.  
  16. RewriteCond %{HTTP_HOST} ^www\.dimension-binaria\.com$ [NC]
  17. RewriteRule ^$ unity3d/index.php [L]
  18. RewriteCond %{HTTP_HOST} ^\dimension-binaria\.com$ [NC]
  19. RewriteRule ^$ unity3d/index.php [L]
  20. RewriteCond %{HTTP_HOST} ^www\.dimension-binaria\.com$ [NC]
  21. RewriteCond %{DOCUMENT_ROOT}/unity3d%{REQUEST_URI} -f
  22. RewriteRule .* unity3d/$0 [L]
  23. RewriteCond %{HTTP_HOST} ^www\.dimension-binaria\.com$ [NC]
  24. RewriteCond %{REQUEST_FILENAME} !-f
  25. RewriteCond %{REQUEST_FILENAME} !-d
  26. RewriteRule .* unity3d/index.php?q=$0 [QSA]
Advertisement
Add Comment
Please, Sign In to add comment