Jump to content

How to disable SSL in localhost


SIERRA
 Share

Recommended Posts

Hi,

We copied the production source and configured it the same as the development source on the localhost. However, the website is not working on the localhost, whereas it is working fine on the production source.

Please find the error attached.

FYI - we have SSL for the production environment.

Can anyone kindly help resolve this issue?

Thank you

Screenshot_45.png

Screenshot_47.png

Link to comment
Share on other sites

Quote

"9A. To redirect HTTP requests to HTTPS, uncomment the lines below"

If you don't want https, you have to do the opposite ? Simply write a # before lines 194 and 195. 

Link to comment
Share on other sites

Hi,

Thanks for your help.

Even after commenting out lines 194 and 195, it still didn't work. Please find a screenshot of what issue I facing now in the incognito window.

Could you please suggest any other options that I need to check?

Thank you.

Screenshot_48.png

Link to comment
Share on other sites

Unfortunately, I'm not really familiar with XAMPP.

But does the website work if you call it up via the following link: http://192.168.0.225/ticf/ or http://192.168.0.225:8080/ticf/

You would have to check which ports your XAMPP uses, apparently port 8085 is set for https.

There should be another port for http (possibly 80 or 8080?)

Link to comment
Share on other sites

I am developing on XAMPP too. Just added a little condition in my .htaccess, detecting if I am on localhost or live. When live, I redirect all request to non www with https. On localhost, I just use http. Only thing you need to remember, is that you can‘t set PW to force admin login to use https, as this would break login on localhost. Even wrote a small tutorial dealing with basic auth and https a while ago 

.

Link to comment
Share on other sites

17 hours ago, DV-JF said:

I'd theese kind of problems with XAMPP, too. I've switched to WAMP Server - since then nearly everything went smoothly ?

Perhaps you give it a try.

Hi @DV-JF

I have installed and configured Wamp server for the development source.

It downloads something when I try to open the URL.

Thank you.

 

Screenshot_51.png

17 hours ago, zoeck said:

Could it be that you have an absolute path to the css files with https in the source code?

No

Link to comment
Share on other sites

I found the problem.

When I load the website using localhost, it works fine. However, when I load it using the IP address, it does not work.

I want to run the website using the IP address. Is there a solution for this?

Screenshot_52.png

Screenshot_53.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...