0

I have a form in a HTTPS page. The action that was generated use the HTTPs too

https://foo.com/?ACT=140&...

However, when I tried testing submitting the form, it did not work.

I tried testing using the HTTP protocol

http://foo.com/?ACT=140&...

and it worked(albeit with a warning dialog showing me that it is unsafe).

Is this correct? Is ExpressionEngine unable to process action urls with the HTTPS protocol?

If so, how do I remedy this?

3
  • What do you mean by 'it did not work' -- did you get any errors? Commented Jun 27, 2014 at 4:10
  • 1
    It seems to load non-https resources. My guess is that it cancelled the submit because of that. The page shown is foo.com Commented Jun 27, 2014 at 6:22
  • Show us some code, Arvin
    – Nutmeg
    Commented Jul 11, 2014 at 2:05

1 Answer 1

1

Without knowing the details of your install and project, this questions is pretty impossible to answer in my opinion.

First make sure you change $config['site_url'] = "http://domain.com/"; to $config['site_url'] = "/"; in your config file.

$config['site_url'] = "//domain.com/"; may work also.

If that doesn't do it, you'll need to identify the exact resources that are loading with http:// and track backwards in the code to see how those URLs are generated. You'll then know your options.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.