Jump to content

SSL for index.php


mrmagoo

Recommended Posts

I have configured SSL on my server for my pages to use https which works great with WHMCS for ordering, submitting the support ticket etc. but I cannot access the main WHMCS support page using SSL.

 

Going to http(s)://domain.com/clients does not work when you are trying to access the index.php.

 

SSL works for all other pages?

 

Yes, I could just use http for the main page but after you click on Order or the support ticket link, it takes you a https connection which works pefrectly, but then if you try and click on the "support" link to go back to the WHMCS index.php main page, it just eventually times out.

 

Firefox says "The page isn't redirecting properly" and IE will just happily site there for about 10 minutes until it eventually bombs out.

 

My question is, why doesn't index.php work with an SSL connection?

Link to comment
Share on other sites

>>Firefox says "The page isn't redirecting properly" and IE will just happily site there for about 10 minutes until it eventually bombs out.

 

This leads me to believe that your .htaccess has something that may not be 100% correct.

 

Do you have an .htaccess file in your main WHMCS or top document directory? or are using forwarding?

Link to comment
Share on other sites

This is all I have in the file:

 

php_value register_globals on

 

Also noticed the only files I can directly access via https are:

 

- clientarea.php

- submitticket.php

- the admin area

 

Is this more functionality than a problem? The only problem I see is if you want to make every page in WHMCS secure or if you click on those links above you can't navigate back to main page as it will use https so you would have to modify the page with a normal http link.

Link to comment
Share on other sites

WHMCS will redirect to SSL using certain links if you have an ssl url defined, but you should also be able to access the default non-ssl pages with https. (You can use .htaccess to redirect it to ssl).

 

It still sounds like you may have a problem with your redirect (somewhere, somehow) or perhaps your ssl.

 

If you are root, you can also double check your httpd conf entry and make sure it's correct. Perhaps that's where your error lies.

 

And if you have whmcs in a sub directory off the main document root of the website, is there an htaccess file in the root folder?

Link to comment
Share on other sites

Out of curiosity I attempted to access our installation main page using https since we have it enabled and found the page loads non secure. The https is replaced with http also. The https works fine for client login and the admin area etc. :?:

 

EDIT:

BTW running php 5.2 phpsuexec with no .htaccess whmcs V3.1.2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated