I am trying to configure SSL.

After I add this:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

at the end of the .htcaccess file (like advised in many posts) to make all my site as https, the site loads with broken layout, I don't see the administration bar and I can't log in.

I can see from inspector the tag has class of "no-js", which is not the case if I revert back to http commenting the added lines in .htcaccess.

I've already changed all the full links of my sass/css files to https.

Comments

kopeboy’s picture

Issue summary: View changes
fubhy’s picture

Category: Bug report » Support request
Issue tags: -no-js, -JavaScript, -https, -https ssl, -ssl

Please review the issue tag guidelines. Issue tags are not meant to be used as randomly assigned taxonomy terms. https://drupal.org/node/1023102

Regarding your problem:
Are there any JS errors in the console?

kopeboy’s picture

I did not create any new tag but used existent.

I resolved the problem commenting these line in .htcaccess
# RewriteRule ^ - [E=protossl]
# RewriteCond %{HTTPS} on
# RewriteRule ^ - [E=protossl:s]

and adding
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

to the bottom,

and adding this to bottom of settings.php
$conf['https'] = TRUE;

and changing my $base_url in settings.php to https://xxxxxx.xxx