1. Apache WebApps

Apache Web Application Tunneling


Note = Can be Use with any webserver application e.g. MySQL or Asterisk Apps

Configuration Setup

1

    Edit httpd.conf  public server

<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

    In the mars = public staging 2 NIC: 1 pub, 1 lan1

[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 ~]$

3

    In the Jupiter : Apps server

[root@jupiter ~]# netstat -tanp    |grep 8088
tcp       0      0 0.0.0.0:8088     0.0.0.0:*      LISTEN      6748/asterisk

4

 


5


 


6


7



8





Previous Section   APACHE / PHP / MySQL Next Section