Project

General

Profile

Ajaxterm » History » Revision 5

Revision 4 (Anonymous, 2007-10-03 09:42) → Revision 5/9 (achille, 2008-12-24 01:00)

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 (open readme file for further steps) or installed using the package manager repositories of your distribution. 


 


 h2. Configuration for 1.4.* 


 


 '''/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. Configuration for 1.5.* 

 '''/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> 


 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]]