apache reverse proxy on Dell Power Edge
Matt_Domsch at dell.com
Sun Jun 6 09:08:37 CDT 2010
On Sat, Jun 05, 2010 at 10:29:03PM -0700, Tapas M wrote:
> if some sys admin on this list have used Reverse Proxy thing on Linux or
> Windows just let me know.
> I am a bit confused as how does directive
> and ProxyPassReverse work
> in apache2.
> If I have an application on an internal webserver running on port 8080 on
> but I want it to be accessible on internet via Server A which has public
> but firewall (which I do not have control blocks all except port 80)
> External Server A -----------------------------------------Server B
> Firewall by Public IP LAN
> (Port 8080 blocked)
> if I write
> ProxyPass /application http://192.168.1.5:8080
> ProxyPassReverse /application http://192.168.1.5:8080
> 1) Will the application be accessible outside.
Yes, as http://[public-ip]/application.
You should also consider using
ProxyPass /application(.*) http://192.168.1.5:8080/application$1
in case you have additional application options you want passed on.
> Or do I need to contact sysadmin to open 8080 for outside world in A in
> above diagram.
> Also does apache needs to listen at 8080 in above diagram at server A.
> Is there any other way to do the same in apache2.
It's the same in apache2, though you can also use a RewriteRule of
type [P], which can be more flexible.
Dell | Office of the CTO
More information about the Linux-PowerEdge