Project

General

Profile

Ajaxterm » History » Revision 4

Revision 3 (Anonymous, 2007-10-03 09:42) → Revision 4/9 (Anonymous, 2007-10-03 09:42)

h1. = Setting up Ajaxterm with Lighttpd 



 h2. = 

 == Introduction 


 == 

 Ajaxterm is a web based terminal for Unix/Linux written in python. 



 h2. 


 == Installation 


 == 

 Ajaxterm can be downloaded on the "official homepage":http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm [http://antony.lesuisse.org/qweb/trac/wiki/AjaxTerm official homepage] (open readme file for further steps) or installed using the package manager repositories of your distribution. 


 h2. 

 == Configuration 


 == 

 '''/etc/lighttpd/lighttpd.conf''' 

 Make sure mod-proxy is loaded: 


 <pre> 

 

 {{{ 
 server.modules = ( "mod_proxy" ) 
 </pre> 


 }}} 

 Configure module: 


 <pre> 

 

 {{{ 
 proxy.server = ( "/ajaxterm/" => 
		 ( 
		  ( "host" => "127.0.0.1", 
		    "port" => 8022 
		  ) 
		 ) 
	        ) 
 </pre> 




 }}} 



 '''/etc/lighttpd/conf-available/10-proxy.conf''' 


 <pre> 

 

 {{{ 
 #Your own proxy settings for ajaxterm 

 proxy.server 	 = ( "/cgi/ajaxterm/" => 
		    ( 
		     ( "host" => "127.0.0.1", 
		       "port" => 8022 
		      ) 
		     ) 
		    ) 
 </pre> 



 h2. }}} 

 == Files 


 == 

 Finally copy all files from the downloaded package (as described in the readme) or from ''/usr/share/ajaxterm/'' (if installed via aptitude etc) to ''/YourWebRoot/ajaxterm/''. Point your browser to http://yoursite/ajaxterm/ and login. Better use SSL for security reasons. 



 h2. 


 == See Also 


 [[lighttpd:Docs:SSL|SSL Documentation]] 
 == 

 [wiki:Docs:SSL SSL Documentation]