Redirect private IP server: Apache proxyPass -


i have 2 servers apache; first 1 redirects requests second one.

the first server has both public ip , private ip, , second has private ip.

this first server's configuration:

 proxypass /app/ http://192.168.1.50/app/  proxypassreverse /app http://192.168.1.50/app/  proxypassreverse /app/ http://192.168.1.50/app/  proxypass /app http://192.168.1.50/app/ 

when calls navigator http://www.domain.com/app, css can't load because navigator tries load 192.168.1.50 , know private ip.

<link rel="stylesheet" type="text/css" href="http://192.168.1.50:80/app/appdata/htmlsite/static20100831/css/style.css"> 

how can solved?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -