apache 2.4

Issues related to applications and software problems
Post Reply
nitin.jadhav
Posts: 9
Joined: 2018/10/03 09:39:31

apache 2.4

Post by nitin.jadhav » 2019/09/18 12:55:33

Hi There,

I have apache configured on centos 7.6 and also website is running with https(self signed ) subdomain.
I am able to access webpage using https but in my application I have used one api with http Hence I am not able connect to API.
I am getting "mixed content" error.
Can anyone tell me is there anyway to allow this from apache or virtualhost configuration?

Thanks in advance :)

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: apache 2.4

Post by avij » 2019/09/18 14:28:16

The mixed content error comes from your browser, which does not like getting content over https and http at the same time. This is not an Apache configuration issue. The HTTP API you have should be made available over HTTPS to fix this.

nitin.jadhav
Posts: 9
Joined: 2018/10/03 09:39:31

Re: apache 2.4

Post by nitin.jadhav » 2019/09/19 04:55:55

Thank you for help.
One more thing I want to achieve is that I have one service running on 3999 port.
It is simple http request not https, but I have one domain with https:
is it possible to keep https domain and route that request to http service.
Note: On browser it should be https but internally it should point to http.

Post Reply