[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Proxying DIR port on standard port 80
- To: or-talk@xxxxxxxxxxxxx
- Subject: Re: Proxying DIR port on standard port 80
- From: "Nils Vogels" <bacardicoke@xxxxxxxxx>
- Date: Tue, 24 Jul 2007 22:17:45 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-talk-outgoing@xxxxxxxx
- Delivered-to: or-talk@xxxxxxxx
- Delivery-date: Tue, 24 Jul 2007 16:17:57 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kEZ7JqF/puVmXnfr8J6D7nN9xdF55fFFph6+p+hlZzvegx+j0VVcB0Lsx2cLe8Bn3Uz4Ly0Pwq5fWo6RZQD64I2qDCLUTqrHaaz6L6pQCl4qkWtbkHbat97u6GrqYNPHLfkDK6++wjMmUQrO3Io/uRszRHW++TRfj6B8o13M3Gs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hfCipDdIN6DP66sJ2BcmSVdq3uhKId44aZGpPVGRZKlG015yA/81+5ndrbQg7n4An21l6zRUJdZpGVhoNYLjawxPzozSf7BndyuFnc8JEUSqmSfMYnPMKI4K3EF8kvORVjSSOa+SbRfJa+wRqzLFN6Ex677CPnAEmP2hhceMpew=
- In-reply-to: <1185305158.5738.9.camel@mkraus-laptop>
- References: <1185305158.5738.9.camel@mkraus-laptop>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
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.