Forum Moderators: phranque
I would like to utilize mod_proxy.
I was trying to follow instructions at following web site to run a Reverse Proxy:
[apachetutor.org...]
These instructions were written for non-Windows environment, but there are few references to Windows.
I have a problem with "Configuring the Proxy" section.
As it was advised, I have loaded libxml2.dll and iconv.dll
But, I failed to find xlib.dll .
The questions that I have are:
Where can I find xlib.dll?
Where can I find or how should I create libxml2.so?
............
"Configuring the Proxy" section:
As with any modules, the first thing to do is to load them in httpd.conf (this is not necessary if we build them statically into Apache).
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule headers_module modules/mod_headers.so
LoadModule deflate_module modules/mod_deflate.so
LoadFile /usr/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
For windows users this is slightly different: you'll need to load libxml2.dll rather than libxml2.so, and you'll probably need to load iconv.dll and xlib.dll as prerequisites to libxml2 (you can download them from zlatkovic.com, the same site that maintains windows binaries of libxml2). The LoadFile directive is the same.