Lennart Droste wrote:

> Server domain123.de {
>         Handler redir {
>             URL http://sub.domain456.de
>         }
> }
>
> With my current cherokee version this does not seem to work.
> Additionally I didn't find any information about this in the
> wiki. So if I've missed something, please let me know.

  I would use either this:

==========
  Server example.com {
     Directory / {
        Handler redir {
           Show Rewrite "^/(.*)$" "http://sub.domain.org/$1";
        }
     }
  }
==========

  or this

==========
  Server example.com {
     Directory / {
        Handler redir {
           URL http://sub.domain.org/           
        }
     }
  }
==========

-- 
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokee@0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee

Reply via email to