> apt-get install apache2 libapache2-modsecurity libapache2-mod-proxy-html
> a2enmod proxy proxy_http
> service apache2 restart
> apachectl -M
security2_module (shared) <<< proxy_module (shared) <<<
> vi /etc/apache2/mods-enabled/proxy.conf
<IfModule mod_proxy.c> ProxyRequests Off <Proxy *> AddDefaultCharset off Order deny,allow Deny from all #Allow from .example.com Allow from all </Proxy> ProxyVia Block ProxyPass / http://192.168.7.62/ ProxyPassReverse / http://192.168.7.62/ </IfModule>
192.168.7.62 是實際 Web Server 的內部 IP。
>service apache2 restart