Błąd 500, problem z htaccess

usunąłem to:

  1. <IfModule mod_rewrite.c>

  2. RewriteEngine On

  3. RewriteBase /

  4. RewriteCond %{HTTPS} =on

  5. RewriteRule .* - [E=W3TC_SSL:_ssl]

  6. RewriteCond %{SERVER_PORT} =443

  7. RewriteRule .* - [E=W3TC_SSL:_ssl]

  8. RewriteCond %{HTTP:X-Forwarded-Proto} =https [NC]

  9. RewriteRule .* - [E=W3TC_SSL:_ssl]

  10. RewriteCond %{HTTP:Accept-Encoding} gzip

  11. RewriteRule .* - [E=W3TC_ENC:_gzip]

  12. RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]

  13. RewriteRule .* - [E=W3TC_PREVIEW:_preview]

  14. RewriteCond %{REQUEST_METHOD} !=POST

  15. RewriteCond %{QUERY_STRING} =""

  16. RewriteCond %{REQUEST_URI} /$

  17. RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]

  18. RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” -f

  19. RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}”

Tak myślałem, że to https może być przyczyną. Problem w tym, że jak zamierzasz pozwolić ludziom na logowanie, to pasuje jednak kiedyś to https włączyć.