Proxying DIR port on standard port 80
BlueStar88
BlueStar88 at Xenobite.eu
Tue Jul 24 22:39:54 UTC 2007
Hi,
> 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
> )
> )
> }
> }
that was not working.
But this one works:
------------------------------------------------
$HTTP["url"] =~ "^/tor/" {
proxy.server = ( "" =>
(
(
"host" => "127.0.0.1",
"port" => 9030
)
)
)
}
------------------------------------------------
Notice the extra parenthesis level!
Thanks again!
--
BlueStar88 <BlueStar88 at Xenobite.eu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20070725/31ed409c/attachment.pgp>
More information about the tor-talk
mailing list