HTTPS to HTTP website Ispconfig 3.1.2 debian

Discussion in 'Installation/Configuration' started by leffty, Feb 22, 2017.

  1. leffty

    leffty New Member

    Hay ...
    A hawe Isp config 3.1.2 debian jessie
    I change in isp - my website :
    ssl + let's encrypt On and Rewrite HTTP to HTTPS to On

    I came back to - Rewrite HTTP to HTTPS to Off and off ssl + let's encrypt
    website only work https and default apache2 demo site https: site.com
    other links in my page work: in http: site.com/forum and other works
    Please help i need full work http my site wordpress.

    sorry my english is bad :(
     
    Last edited: Feb 22, 2017
  2. leffty

    leffty New Member

    Any ideas ?
     
  3. sjau

    sjau Local Meanie Moderator

    what domain is that?
     
  4. leffty

    leffty New Member

    domain is bezplatnie24=com=pl Successfully started only https :( ( = dot )
    only ssl :(
    as changing a page at http I see only default demo apache and the connection is still at https. :(
     
    Last edited: Feb 22, 2017
  5. sjau

    sjau Local Meanie Moderator

    screenshot from the ssl settings in ispconfig? Just wanted to check, if it might have been some cache issue.
     
  6. leffty

    leffty New Member

    ssl settings isp config:
    screen 1
    [​IMG]
    screen 2
    [​IMG]
    screen 3
    [​IMG]
     
  7. sjau

    sjau Local Meanie Moderator

    is there maybe a .htaccess in the website folder?
     
  8. leffty

    leffty New Member

    look .htaccess
    code is:
    # BEGIN WpFastestCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www.bezplatnie24.com.pl [NC]
    RewriteRule ^(.*)$ http\:\/\/bezplatnie24\.com\.pl\/$1 [R=301,L]
    # Start WPFC Exclude
    # End WPFC Exclude
    RewriteCond %{HTTP_HOST} ^bezplatnie24.com.pl
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !(wordpress_logged_in|wp_woocommerce_session)
    RewriteCond %{HTTP:Cookie} !comment_author_
    RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
    RewriteCond %{HTTP:profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /var/www/clients/client1/web6/web/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
    </IfModule>
    <FilesMatch "\.(html|htm)$">
    AddDefaultCharset UTF-8
    <ifModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
    </ifModule>
    </FilesMatch>
    # END WpFastestCache
    # BEGIN GzipWpFastestCache
    <IfModule mod_deflate.c>
    AddType x-font/woff .woff
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
    </IfModule>
    # END GzipWpFastestCache
    # BEGIN LBCWpFastestCache
    <FilesMatch "\.(?i:ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$">
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/ico A2592000
    ExpiresByType image/svg+xml A2592000
    ExpiresByType text/css A2592000
    ExpiresByType text/javascript A2592000
    ExpiresByType application/javascript A2592000
    ExpiresByType application/x-javascript A2592000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires "max-age=2592000, public"
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache


    ## Default .htaccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
     
  9. sjau

    sjau Local Meanie Moderator

    no idea what that all does. Also, use code tags when posting such things.
     
  10. Jesse Norell

    Jesse Norell Well-Known Member

    If you want to use letsencrypt, you must remove everything from the fields in the ssl tab and I think choose to delete the certificate. After that, enable the letsencrypt checkbox.
     
    ahrasis likes this.

Share This Page