Jump to content

Prstashop behind apache reverse proxy


Recommended Posts

Hi

 

I have a domain on the net , called : mydomain.fr

 

To access prestashop from web I use a reverse proxy, configured like that:

 

<VirtualHost *:80>
        ServerName psdev1.mydomain.fr
        ProxyPass / http://psdev1.myhome/
        ProxyPassReverse / http://psdev1.myhome/
</VirtualHost>
 

 

I have installed prestashop on my server psdev1.myhome

No problem during install.

 

But I access prestashop from psdev1.mydomain.fr address I have an error on navigator: Cette page Web présente une boucle de redirection (This webpage has a redirect loop)

 

On access.log:

192.168.100.1 - - [15/May/2014:22:37:28 +0200] "GET /index.php HTTP/1.1" 302 - "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
 

 

I tried to install directly with psdev1.mydomain.fr or psdev1.myhome without sucess

 

Someone have an idea for my problem ?

 

Thank you very much

 

Seb

 

Link to comment
Share on other sites

  • 8 months later...

Hi Seb,

do you still have this problem with apache reverse proxy? I ran into the same behavior.

If I try to open the shop I get "...redirect loop" message.

But if I open the /adminXXX/ page everything works fine.

 

Kind Regards

   Andy

Link to comment
Share on other sites

  • 3 weeks later...

I will give more details:

 

on one machine (eg. 123.123.123.123), running two servers:

123.123.123.123:80 -> IIS

123.123.123.123:8080 -> Apache (running prestashop 1.6.0.9)

 

I have domain rediredcted to 123.123.123.123 (unfortunatelly, I cannot redirect it to 123.123.123.123:8080)

how is it possible to setup IIS to forward this website to apache running prestashop?

 

as andy4k mentioned, i did some settings and I get admin part running, but frontend part keeps me getting errors..

 

thanks

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...