NGROK, undocumentation

OpenCart on LocalHost via NGROK

OpenCart Ecommerce System has A LOT of flaws, apparently written by an army of unknown developers spread around the Russian OpenSource Community, it shows very little cohesion in the source-code (Read spaghetti).

One of the more tangible caveats of this is the way that everything is implemented multiple times and in different ways… and this leads me to this following issue:

It doesn’t observe the Host-Header HTTP parameter but instead uses a hard-coded configuration.

Since I have no interest and ambition in contributing to OpenCart, and to to get it to run through NGROK on the local-host, I found the easiest way was to change the configuration…

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s