Welcome Guest, Not a member yet? Register   Sign In
Stumped on SSL situation.
#1

[eluser]cpass78[/eluser]
Hello all,

Im hoping someone can answer this question for me. I have had my site up and running for some time now seemingly without any issue however at some point in time SSL has stopped working only for my index page. Clarity: http works just fine for domain.com only https will not display the homepage at all. there is no sign of any error in fact it does load only it loads a blank page.

Every other page after the homepage accessed via https works perfectly fine and for the life of me i cannot seem to figure out what is causing this. I havent made any configuration changes and as stated the site has been running for months just fine via both prot. as far as im aware.

Thank you for any input
#2

[eluser]skunkbad[/eluser]
My guess would be that you have something in your .htaccess that is redirecting https to the home page to the http page.
#3

[eluser]cpass78[/eluser]
That was my thought as well but the .htaccess has remained unchanged for some time.

https://domain.com and http://domain.com should both function the same regardless shouldn't they not? As it is right now https:// loads only a blank page with the html, head and body tags with code 200, however https://domain.com/controller works perfectly fine Confused

Thank you again

my htaccess:
Code:
############# ORIGINAL #############
<IfModule mod_rewrite.c>
    RewriteEngine on

RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]

    #RewriteCond $1 !^(index\.php|assets|images|robots\.txt)
    #RewriteRule ^(.*)$ /index.php/$1 [L]

    #RewriteCond %{HTTPS} off
    #RewriteCond %{REQUEST_URI} (login|register|subscribe|assets)
    #RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]

    #RewriteCond %{HTTPS} on
    #RewriteCond %{REQUEST_URI} !(login|register|subscribe|assets)
    #RewriteRule ^(.*)$ http://%{SERVER_NAME}%{REQUEST_URI} [R=301]
</IfModule>


<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>
#4

[eluser]cpass78[/eluser]
So after some days of head banging and questioning my htaccess rules it appears that for some reason the directory index wasn't setup any longer for :443 so it was only serving the default index.html page in the site root... Turning on mod rewrite logging pointed me in the right direction.

Amazing how the simplest things can take you in the complete opposite direction. Thanks for the help anyway.




Theme © iAndrew 2016 - Forum software by © MyBB