Jump to content

To change the default web server port


TomHsiung

Recommended Posts

Hello, I downloaded and installed the latest stable PrestaShop. The install process was very straight forward without any issue. However, after the installation while I accessed the site via Safari, I got 400 bad request error. My apache2 web server use 80 port for http protocol and 50443 for https. I modified the /config/config.inc.php file at row "define('_PS_SSL_PORT_', 443);", to replace the 443 with 50443. However, after this modification, the issue remains.

Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Apache/2.4.29 (Ubuntu) Server at x.x.x Port 443

 

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
×
×
  • Create New...