Ersatzflüssigkeit

Also WAS ist Trumpf? #piraten

RT @i_need_coffee: tab aufmachen und vergessen was man eintippen wollte ist das neue ratlos in der küche stehen.

Feierabend. Ab aufs Stadtfest. Frankreich ist da stark, wo unsere Mannschaft schwach ist. Parker ist vogelwild. #EuroBasket #fb

RT @Bako13: Der Erfinder der Autokorrektur ist ein Armschlauch.

wfront is the virtual host monster for wsgi »

not quite as automatic, but without hideous url rewriting… supports mod_proxy out of the box:

import wfront
proxie_map = [
   ('localhost::', wsgiapp, {}),
   ('mycooldomain.com::', wsgiapp, 
    { 'HTTP_HOST': 'mycooldomain.com',
      'HTTPS': 'ON', 'SCRIPT_NAME': '/coolstuff'})]
wsig_callable = wfront.route(proxie_map, host_resolver=wfront.modproxy_resolver)

(proxy https://mycooldomain.com/coolstuff as ‘/’ to wsgiapp)

configure multi-hop ssh

i often have to ssh through another server onto the target host:

before:

$ ssh -A -t outer ssh -A -t inner.local 
Last login: ... 
inner.local$ 

after:

$ ssh -A inner 
Last login: ... 
inner.local$ 

works with scp too:

$ scp foo inner:bar

how? put the following in ~/.ssh/config:

Host inner
    ProxyCommand ssh -q outer nc -q0 inner.local 22