Some specific installation is needed:

- modify your http config to redirect to it, only from ssl modes.

That is:
- activate the proxy module
LoadModule proxy_module        /usr/lib/apache/modules/libproxy.so
- choose a secure url and redirect it to ajaxterm. In the SSL VirtualHost
section <VirtualHost _default_:443>

add something like:
       ProxyPass /ajaxterm/ http://127.0.0.1:8022/
       ProxyPassReverse /ajaxterm http://127.0.0.1:8022/
