19Jul Apache mod_proxy
Imagine your domain has ROR ( Ruby On Rails ) installed and it connects on port 1200
eg :- http://gnusys.net:1200 and you want to change the way it appears on the address bar as simply http://gnusys.net. Normally Apache won’t allow this as it is configured to work on port 80 as you all know. But there is a workaround for this issue ie by compiling Apache with mod_proxy . This module implements a proxy/gateway for Apache. I will now explain methods to compile this module in to Apache.
For a raw linux server ( with out any control panels ) you will get the mod_proxy module from the Apache source itself and if it is for any control panel specific server like Cpanel , Plesk etc just locate mod_proxy.c file and execute the follwoing command :-
/usr/local/apache/bin/apxs -cia /path/to/mod_proxy.c/file
and the compilation will be over in may be as fast as ten seconds. You can verify the compiled in module by running the command /usr/local/apache/bin/httpd -l
mod_proxy.c
proxy_connect.c
proxy_ftp.c
proxy_http.c
and you can also see the LoadModule option for mod_proxy inside httpd.conf .

