My operating system is (include version): Ubuntu 14.04
My web server is (include version): Apache 2.4.7
My hosting provider, if applicable, is: Linode
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): NO
I have installed the SSL Certificate on my Server. However only the Homepage is https accesible. Any other internal page on the site is accessible only by http and not https.
Please let me know what am i doing wrong here.
@pratiklohia, if you already have a redirect from https to http and you add a new redirect from http to https you only get a neverending loop. As I said, you need to find where is the redirect, you should search for Redirect or RewriteRule directives inside your apache conf files or in any .htaccess you are using in your site.
Those rules should not cause the redirection so I’m thinking that some php file is performing the redirect, maybe on index.php. Please, run the following grep command from the Document Root of your site:
grep -ri 'Location:' *
If it doesn’t provide any output, search for command header inside your php files.
grep -ri 'header' *
And show the output.
Next time, paste the text, select it and click on the icon </> so the output won’t be messed by the forum syntax.