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

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -