Forum

Setting up Ajaxterm in Hiawatha environment

K_David
20 January 2009, 20:14
Hello,
My question is: How to set up ajaxterm in Hiawatha with SLL?
There are many HowTo available for the apache, here [www.heise-online.co.uk]. Can you help me transforming it in Hiawatha language? Thank you very much in advance!
K_David
20 January 2009, 20:15
the relevant part - I think - is here:
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
ProxyRequests Off
<Proxy *>
Order Deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8022/
ProxyPassReverse / http://localhost:8022/

The command a2ensite ssl will now enable SSL operations for the configuration. The Ajaxterm web site also provides practical guidance for configuration. If an SSL server has already been used for delivering existing pages, the path /ajaxterm/ should be used instead of the web server root directory to redirect the proxy.

ProxyPass /ajaxterm/ http://localhost:8022/
ProxyPassReverse /ajaxterm/ http://localhost:8022/
Hugo Leisink
20 January 2009, 21:53
It looks like this AjaxTerm requires some sort of proxy functionality. Hiawatha is a webserver and not a proxy. I'm afraid that AjaxTerm will not work with Hiawatha. Sorry.

By the way, have you seen that AjaxTerm doesn't need a webserver at all? If you point your browser directly to port 8022, it works! All you need from that point is SSL to secure the connection. You can use stunnel for that. Makes it al more lightweight.
K_David
20 January 2009, 22:04
Hey, thanks for the quick response!
I figured out to adress the ajaxterm directly over the web and get now the error: "ajaxterm connection error status 405"
There is something not working correctly.
Yes, sure I could use some kind of tunneling tool, but I need to implement it over a secured browser connection. The problem on other computers is, that I often have no rights to use a putty or other tunneling tool (no rights to install anything)...

Do you have a recommendation for an easy to install and configure proxy?

Best regards!
Hugo Leisink
21 January 2009, 11:57
First, PuTTY doesn't required installation. It's a single .exe file which you simply run after downloading.

Second, if you use stunnel on your server, you don't need to install anything on the client. Just let stunnel listen on a random port (8443 for example) and configure stunnel in such way that it uses SSL for port 8443 and uses plain text connections for the connection to localhost:8022 (connection to ajaxterm). If you do so, you just point your browser to https://your-server:8443/ and it should work.
K_David
21 January 2009, 19:53
Thank you for your tipps - I will try to configure it!

Have a nice day !
This topic has been closed.