Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got the following situation.

There is an apache 2.2 server and glassfish 3.1.2 running behind it. All requests to port 80 are redirected to glassfish server through mod_proxy.

This is what I wrote in the httpd.conf:

ProxyPass / http://some_server:8080
ProxyPassReverse / http://some_server:8080

where some_server is the the domain name of my server.

It works fine and I can see that the requests to port 80 are redirected to glassfish instance.

The problem is that I need to setup similar thing for accessing the admin console of the glassfish. The reason is that the port 4848 is closed from external access and as far as I understand I can solve this problem using mod_proxy. This is what I tried to do:

ProxyPass /admin http://some_server:4848
ProxyPassReverse /admin http://some_server:4848

But it doesn't work. It redirects to the login page of the admin console but nothing is displayed.

Any ideas how I can solve my problem?

Thanks in advance.

share|improve this question
What URL is shown when you're directly accessing the port 4848 listener? –  Shane Madden Jul 12 '12 at 6:20
I was given another solution without using mod_proxy. See the link: serverfault.com/questions/406635/… –  Nurzhan Jul 13 '12 at 9:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.