ajaxterm |
Written by Kai Dietrich | |
Wednesday, 07 March 2007 | |
Ajaxterm is a terminal for the webbrowser and replaces an SSH client where your don't have port 22 open. It works out of the box, but it's sugested to proxy it through an apache process. The following code snippet is a module configuration for the gentoo apache2 setup:
/etc/apache2/modules.d/ajaxterm.conf: <IfDefine AJAXTERM> ProxyRequests Off <Proxy *> AuthUserFile /foo/bar/.htpasswd AuthName AjaxTerm AuthType Basic Require user xyz Order deny,allow Allow from all </Proxy> ProxyPass /ajaxterm/ http://localhost:8022/ ProxyPassReverse /ajaxterm/ http://localhost:8022/ </IfDefine> This adds simple HTTP password protection to the webapp. You can activate it via /etc/conf.d/apache2 APACHE2_OPTS=".... -D SSL -D SSL_DEFAULT_VHOST -D PROXY -D AJAXTERM" have fun |
|
Last Updated ( Wednesday, 07 March 2007 ) |