Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. <FilesMatch "\.js\.gzip$">
  2. AddType "text/javascript" .gzip
  3. </FilesMatch>
  4. <FilesMatch "\.css\.gzip$">
  5. AddType "text/css" .gzip
  6. </FilesMatch>
  7. AddEncoding gzip .gzip
  8.  
  9. RewriteEngine On
  10. RewriteRule ^typo3$ - [L]
  11. RewriteRule ^typo3/.*$ - [L]
  12. RewriteRule ^uploads/.*$ - [L]
  13. RewriteRule ^fileadmin/.*$ - [L]
  14. RewriteRule ^typo3conf/.*$ - [L]
  15.  
  16. RewriteCond %{REQUEST_FILENAME} !-f
  17. RewriteCond %{REQUEST_FILENAME} !-l
  18. RewriteRule .* /index.php
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. #RewriteCond %{HTTPS} !^on$ [NC]
  26. #RewriteRule . https://%{HTTP_HOST}/%{REQUEST_URI} [L] HTTPS_HOST ???
  27.  
  28. RewriteCond %{HTTP_HOST} !^www\. [NC,OR]
  29. RewriteCond %{SERVER_PORT} !^443$
  30. RewriteRule ^(.*)$ https://www.badherrenalb2017.de/$1 [R=301,L]
  31.  
  32. Redirect /auslobung http://www.badherrenalb2017.de/news/aktuelle-meldungen/detail/zeigen-sie-ihre-kunst-im-gartenschauhaus-jetzt-bewerben/
  33. #Redirect /news/aktuelle-meldungen/detail/?tx_news_pi1[news]=167&cHash=c8a5a70b5c8984d52f3c3410b65a0b25 http://www.badherrenalb2017.de/news/aktuelle-meldungen/detail/erlebniswandern-auf-der-hoehe-am-4-september/
  34. Redirect 301 /ticket https://www.badherrenalb2017.de/index.php?id=101
  35. Redirect 301 /helfer-gesucht https://www.badherrenalb2017.de/news/aktuelle-meldungen/detail/gartenschau-helfer-werden-bis-31-oktober-anmelden/
  36.  
  37. <IfModule mod_deflate.c>
  38. <IfModule mod_setenvif.c>
  39. <IfModule mod_headers.c>
  40. SetEnvIfNoCase ^(Accept-Encoding|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~]{4,13}$ HAVE_Accept-Encoding
  41. RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
  42. </IfModule>
  43. </IfModule>
  44. AddOutputFilterByType DEFLATE application/atom+xml \
  45. application/javascript \
  46. application/json \
  47. application/rss+xml \
  48. application/vnd.ms-fontobject \
  49. application/x-font-ttf \
  50. applicationx-web-app-manifest+json \
  51. application/xhtml+xml \
  52. application/xml \
  53. font/opentype \
  54. image/svg+xml \
  55. image/x-icon \
  56. text/css \
  57. text/html \
  58. text/plain \
  59. text/x-component \
  60. text/xml
  61. </IfModule>
  62.  
  63.  
  64. <IfModule mod_expires.c>
  65. ExpiresActive On
  66. ExpiresDefault "access plus 0 month"
  67.  
  68. ExpiresByType text/css "access plus 1 month"
  69.  
  70. ExpiresByType application/json "access plus 0 seconds"
  71. ExpiresByType application/xml "access plus 0 seconds"
  72. ExpiresByType text/xml "access plus 0 seconds"
  73.  
  74. ExpiresByType image/x-icon "access plus 1 week"
  75.  
  76. ExpiresByType text/x-component "access plus 1 month"
  77.  
  78. ExpiresByType text/html "access plus 0 seconds"
  79.  
  80. ExpiresByType application/javascript "access plus 1 month"
  81.  
  82. ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds"
  83. ExpiresByType text/cache-manifest "access plus 0 seconds"
  84.  
  85. ExpiresByType audio/ogg "access plus 1 month"
  86. ExpiresByType image/gif "access plus 1 month"
  87. ExpiresByType image/jpeg "access plus 1 month"
  88. ExpiresByType image/png "access plus 1 month"
  89. ExpiresByType video/mp4 "access plus 1 month"
  90. ExpiresByType video/ogg "access plus 1 month"
  91. ExpiresByType video/webm "access plus 1 month"
  92.  
  93. ExpiresByType application/atom+xml "access plus 1 hour"
  94. ExpiresByType application/rss+xml "access plus 1 hour"
  95.  
  96. ExpiresByType application/font-woff "access plus 1 year"
  97. ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
  98. ExpiresByType application/x-font-ttf "access plus 1 month"
  99. ExpiresByType font/opentype "access plus 1 month"
  100. ExpiresByType image/svg+xml "access plus 1 month"
  101. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement