[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Proxying DIR port on standard port 80



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@xxxxxxxxxxx> 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@xxxxxxxxxxx>




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