Jump to content

Friendly URL's on non-standard server port


Alexander Firsov
 Share

Recommended Posts

I am running Apache 2.4 server as a separate service on Windows Server 2012R

As I have a very important website already up and running on my DOMAIN.COM (on port 80 and 443) I installed an additional Apache server listening on ports 8080 and 8081 for Prestashop on my WWW.DOMAIN.COM

Everything is working fine unless I enable Friendly URL's

Obviously the Prestashop's core webservice/dispatcher.php is confused as it assumes that Prestashop is using standart ports (80 and 443) and rewriting all friendly URL's to these ports which results in 404 errors generated by Windows IIS server.

Can this be fixed in .htaccess file or do I need to patch the PHP code in Prestashop's core webservice/dispatcher.php ?   🔧

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More