[PATCH] httpd: Support reverse proxy
Alex Landau
landau_alex at yahoo.com
Mon Oct 15 07:08:13 PDT 2007
Hi,
The attached patch adds support for reverse proxying (see mod_proxy of Apache).
If compiled in and httpd.conf contains the line
P:/url/:http://somehost:1234/other/path/
then all requests for /url/somefile will be proxied to
http://somehost:1234/other/path/somefile.
This might be useful (and is useful in my case) when there is another HTTP server running
on the local machine, and one does not want to expose two ports - one for that server and
one for busybox's. With this patch, busybox can proxy requests to the other server which
can now listen on 127.0.0.1. The user will not notice that there are 2 servers involved.
bloatcheck:
text data bss dec hex filename
93978 4032 1952 99962 1867a busybox_old
94834 4064 1952 100850 189f2 busybox_unstripped
Regards,
Alex
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd-reverse-proxy.patch
Type: text/x-patch
Size: 8132 bytes
Desc: 3196041762-httpd-reverse-proxy.patch
Url : http://busybox.net/lists/busybox/attachments/20071015/052bb3aa/attachment.bin
More information about the busybox
mailing list