Hi, I have a question about aMuleWeb related to Apache proxy.
My Environment:
OS: Open Suse 10.3 (i586, 32bit)
aMule Version: aMule-CVS-20071119.tar.bz2
./configure summary:
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.8.4 (gtk2,shared) crypto++ embedded
libpng 1.2.18
libgd 2.0.35
zlib 1.2.3
I followed the AmuleWeb wiki and FAQ. Everything works fine. The init script works fine too. I can login
http://localhost:4711 and connect to a server with high id. But I have a unique feature requirement for my environment and wonder if the current version of aMule can support it or not.
I have a LAN at home with multi Linux boxes. One of them is the web server (HostA) and another one I plan to use it as Amule purpose only (Host B). For outside of the world, I make the port 443(https) of hostA available. In LAN, I have no problem to access
http://hostB:4711 to access aMule and download files. But if I am not at home and would like to download a file, I hope I can access aMuleweb. So I set up a Aparch proxy as following:
https://hostA/amule will proxy to
http://hostB:4711The proxy works fine as planned. I can get the aMule login page(without the picture though). But after login, I will get almost blank page that some url Not Found error, like this:
Not Found
The requested URL /top.html was not found on this server.
I believe the problem is that aMuleWeb will always think itself as web root /, even though in proxy case, it should be under /amule/. Is there any aMuleweb configuration supporting this? I am not a php programmer, but knows a little about Java servlet. For any URL, can aMuleweb always do something like getRequestURL(), then append the html or php file name? In this case, aMuleWeb will support my case and more flexible. Please let me know if this is possible for the current version of aMule and how I can do it. If not, can this be considered in the future release?
Thanks