Note = Can be Use with any webserver application e.g.
MySQL or Asterisk Apps
<VirtualHost *:80>
ServerName
server.asterisk.noc.com.pluto
RewriteEngine On
RewriteRule ^(.*)$
http://localhost:8088$1 [P]
UseCanonicalName
On
RewriteRule
^(.*)$ [L]
</VirtualHost>
[root@pluto
~]# ps x |grep 8088
4463
? Ss
0:00 ssh -f -L 8088:localhost:8088 root@lan1-pub.mars sleep 2d
[root@mars
~]$ ps x |grep 8088
11430 pts/6 S+ 0:00
grep 8088
24623 ?
Ss 0:00 ssh -f -L 8088:localhost:8088
root@lan1.jupiter sleep 2d
[root@mars ~]$
[root@jupiter ~]# netstat
-tanp |grep 8088
tcp 0 0
0.0.0.0:8088 0.0.0.0:*
LISTEN 6748/asterisk