Advertisement
Guest User

Untitled

a guest
Nov 9th, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. Options -Indexes
  2. ErrorDocument 404 /404.php
  3.  
  4. <IfModule mod_php5.c>
  5. php_flag session.use_trans_sid off
  6. #php_value display_errors 1
  7. #php_value mbstring.internal_encoding UTF-8
  8. </IfModule>
  9.  
  10. <IfModule mod_rewrite.c>
  11. Options +FollowSymLinks
  12. RewriteEngine On
  13. rewriterule ^shop_id_5958.html(.*)$ http://www.ssofitel.ru$1 [r=301,nc,L]
  14. RewriteCond %{REQUEST_FILENAME} !-f
  15. RewriteCond %{REQUEST_FILENAME} !-l
  16. RewriteCond %{REQUEST_FILENAME} !-d
  17. RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
  18. RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
  19. RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
  20. </IfModule>
  21.  
  22. <IfModule mod_dir.c>
  23. DirectoryIndex index.php index.html
  24. </IfModule>
  25.  
  26. <IfModule mod_expires.c>
  27. ExpiresActive on
  28. ExpiresByType image/jpeg "access plus 3 day"
  29. ExpiresByType image/gif "access plus 3 day"
  30. ExpiresByType image/png "access plus 3 day"
  31. ExpiresByType text/css "access plus 3 day"
  32. ExpiresByType application/javascript "access plus 3 day"
  33. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement