# HG changeset patch # User Pascal Bellard # Date 1246378205 -7200 # Node ID 84b5d08255f21aede00c313e264f09c6043cd397 # Parent 94863a7d1610c3648289da792ce86a761e9dd35d ajaxterm: remove rewrite, use javascript redirect instead diff -r 94863a7d1610 -r 84b5d08255f2 ajaxterm/receipt --- a/ajaxterm/receipt Tue Jun 30 15:57:04 2009 +0200 +++ b/ajaxterm/receipt Tue Jun 30 18:10:05 2009 +0200 @@ -27,8 +27,6 @@ 's/RUN_DAEMONS="/RUN_DAEMONS="ajaxterm /' $1/etc/rcS.conf # Configure lighttpd server if [ -f $1/usr/lib/lighttpd/mod_proxy.so ]; then -#https://www.dupnet.org/dotclear/index.php/2007/10/07/11-ajaxterm-et-lighttpd -#http://www.lighttpd.net grep -q mod_proxy $1/etc/lighttpd/lighttpd.conf || cat >> $1/etc/lighttpd/lighttpd.conf < "127.0.0.1", "port" => 8022 ) ) ) EOT - grep -q mod_redirect $1/etc/lighttpd/lighttpd.conf || - cat >> $1/etc/lighttpd/lighttpd.conf <> $1/etc/lighttpd/lighttpd.conf < "https://%1/ajaxterm/" ) - } -} -EOT if [ -z "$1" ]; then # Start Web server. /etc/init.d/lighttpd stop @@ -59,7 +45,6 @@ fi # Configure apache server if [ -f $1/etc/apache/httpd.conf ]; then -#http://smhteam.info/wiki/index.linux.php5?wiki=AjaxTerm if [ ! -f $1/etc/apache/conf.d/ajaxterm ]; then cat > $1/etc/apache/conf.d/ajaxterm < @@ -71,14 +56,6 @@ ProxyPass /ajaxterm/ http://localhost:8022/ ProxyPassReverse /ajaxterm/ http://localhost:8022/ - - - - RewriteEngine On - RewriteCond %{HTTPS} off - RewriteRule ^.*$ https://%{SERVER_NAME}/ajaxterm/ [L,R=303] - - EOT if [ -z "$1" ]; then # Start Web server. diff -r 94863a7d1610 -r 84b5d08255f2 ajaxterm/stuff/usr/share/ajaxterm/ajaxterm.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ajaxterm/stuff/usr/share/ajaxterm/ajaxterm.html Tue Jun 30 18:10:05 2009 +0200 @@ -0,0 +1,24 @@ + + + + Ajaxterm + + + + + + + + +
+ +