Proxying DIR port on standard port 80

Nils Vogels bacardicoke at gmail.com
Tue Jul 24 20:17:45 UTC 2007


I'm no lighttpd expert, but when you combine $HTTP["host"] and
$HTTP["url"] I think you should be able to build something like:

$HTTP["host" ] == "imhotep.mummy.org" {
  $HTTP["url"] =~ "^/tor/" {
       proxy.server = (
          "" => (
              "host" => "localhost",
              "port" => 9030
           )
       )
   }
}

On 7/24/07, BlueStar88 <BlueStar88 at xenobite.eu> wrote:
> hi,
>
> this method
> --------------------------------------------------------
> <IfModule mod_proxy.c>
>        ProxyPass /tor/ http://localhost:9030/tor/
>        ProxyPassReverse /tor/ http://localhost:9030/tor/
> </IfModule>
> --------------------------------------------------------
> is working fine for apache, to let the DIR-service coexist with standard
> port 80 usage by other webservices..
>
> ..but i'm a friend of lighttpd. This program has a 'mod_proxy' too, but
> is seemly not able to proxy to a specific target directory ("/tor/").
>
> Any ideas?
>
> Thanks!
>
>
> Greets
>
>
> --
> BlueStar88 <BlueStar88 at Xenobite.eu>
>
>


-- 
Simple guidelines to happiness:
Work like you don't need the money,
Love like your heart has never been broken and
Dance like no one can see you.



More information about the tor-talk mailing list