Forum Moderators: phranque

Message Too Old, No Replies

Make internal server name invisible in URL

         

Andi

2:21 pm on Dec 22, 2011 (gmt 0)

10+ Year Member



Hello,
I have an application in the internet. Behind the IP which is visible in the www are two reverse proxies with an apache webserver. On this Webserver I use commands like

ProxyPass /adfs https://MyServername.my.internal.domain/adfs
ProxyPassReverse /adfs https://MyServername.my.internal.domain /adfs


I then defined a filter named myfix

ExtFilterDefine myfix mode=output intype=text/html \
cmd="/bin/sed s/https:\\/\\/MyServerName.my.internal.domain//; s/anotherServer.my.internal.domain//"


While MyServerName.my.internal.domain has been successfully replaced, the other server name "anotherServer.my.internal.domain" still appears as kind of a parameter in a URL:
[AppName-In-Internet ]

What can I do in order to get out this occurrence of anotherServer.my.internal.domain as shown above?

Internal Servernames should not somehow show in the client browser. Is there a special directive?

Thank you
Andi