Jump to content

Edit History

prestol

prestol

hello

the application which resides on 192.168.122.10 is behind the reverse proxy 192.168.1.105, when i log in the app sends a request to the client to go to 192.168.122.10, which the client cannot connect to because it needs to first connect to the revertse proxy 
..i understand this is a configruation error i nthe application and not an error with httpd

UPDATE:

Looks like i need to update $_SERVER['SERVER_NAME'] variable, in php_ini, to send FQDM instead of ip addresses in "Request URL: XXX"...

SOLUTION
Add turn the perserve host diretive on in the virutalhost configuration file

 

vi /etc/httpd/conf.d/vm1.conf

...

ProxyPreserveHost On

...

 

 

 

 

prestol

prestol

hello

the application which resides on 192.168.122.10 is behind the reverse proxy 192.168.1.105, when i log in the app sends a request to the client to go to 192.168.122.10, which the client cannot connect to because it needs to first connect to the revertse proxy 
..i understand this is a configruation error i nthe application and not an error with httpd

UPDATE:

Looks like i need to update $_SERVER['SERVER_NAME'] variable, in php_ini, to send FQDM instead of ip addresses in "Request URL: XXX"...

 

 

prestol

prestol

hello

the application which resides on 192.168.122.10 is behind the reverse proxy 192.168.1.105, when i log in the app sends a request to the client to go to 192.168.122.10, which the client cannot connect to because it needs to first connect to the revertse proxy 
..i understand this is a configruation error i nthe application and not an error with httpd

UPDATE:

Looks like i need to update $_SERVER['SERVER_NAME'] variable, in php_ini, to send FQDM instead of ip addresses in "Request URL: XXX"...

 

prestol

prestol

hello

the application which resides on 192.168.122.10 is behind the reverse proxy 192.168.1.105, when i log in the app sends a request to the client to go to 192.168.122.10, which the client cannot connect to because it needs to first connect to the revertse proxy 
..i understand this is a configruation error i nthe application and not an error with httpd

UPDATE:

Looks like i need to update $_SERVER['SERVER_NAME'] variable, in php_ini, to send FQDM instead of ip addresses in "Request URL: XXX"

 

prestol

prestol

hello

the application which resides on 192.168.122.10 is behind the reverse proxy 192.168.1.105, when i log in the app sends a request to the client to go to 192.168.122.10, which the client cannot connect to because it needs to first connect to the revertse proxy 
..i understand this is a configruation error i nthe application and not an error with httpd

UPDATE:

Looks like i need to update $_SERVER['SERVER_NAME'] variable, in php_ini, to send FQDM instead of ip addresses.. 

 

prestol

prestol

hello

the application which resides on 192.168.122.10 is behind the reverse proxy 192.168.1.105, when i log in the app sends a request to the client to go to 192.168.122.10, which the client cannot connect to because it needs to first connect to the revertse proxy 
..i understand this is a configruation error i nthe application and not an error with httpd

I understand this is a configuration error in the application and not in httpd

 

prestol

prestol

hello

the webpage redirects to the internal vm when it should redirect to the proxy server

for my internal vm (192.168.122.10), but it should make the request to the reverse proxy instead (192.168.1.105)... how can this be changed?

I understand this is a configuration error in the application and not in httpd

 

prestol

prestol

hello

it looks like prestashop makes a get request for my internal vm (192.168.122.10), but it should make the request to the reverse proxy instead (192.168.1.105)... how can this be changed?

is this a httpd error or a prestashop one?

 

×
×
  • Create New...