[Bug 452636] Review Request:http-mod_proxy_html - Module to rewrite content as it passes through an apache proxy.

bugzilla at redhat.com bugzilla at redhat.com
Sun Jun 29 08:01:51 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request:http-mod_proxy_html - Module to rewrite content as it passes through an apache proxy.


https://bugzilla.redhat.com/show_bug.cgi?id=452636





------- Additional Comments From philipp at redfish-solutions.com  2008-06-29 04:01 EST -------
(In reply to comment #6)
> (In reply to comment #4)
> > I'm definitely not an expert on apxs, does  -lxml2 get added automatically
> > somewhere later in the process?  I originally did not use it and resulted 
in a
> > .so that wasn't linked against libxml2.so.  Had to use LoadFile in Apache 
to 
> get
> > things working.
> I was just going by the example config file, which says that you need the 
> LoadFile anyway...  So the fact that the module wasn't linked (statically) 
> against libxml2.a was a good thing.  Plus it means that you can update 
versions 
> of libxml2.so independently, which you lose if the module links statically 
> against libxml2.a instead.

Actually, scratch that.

I just did a quick test of with and without -lxml2 in the initial compile of 
apxs.  In either case, libxml2.a is not statically linked.

The only difference seems to be that if you specify -lxml2, then that library 
is added to the dynamic load list for the shared object... and if you don't, 
then it must be explicitly loaded with the LoadFile called out in the config 
file.

Since the config file calls it out explicitly, and since it's normally loaded 
up manually anyway on other platforms, I'm inclined to stick with the slightly 
more complicated way of loading libxml2.so up explictly... just to be 
compatible with other distros.


-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the Fedora-package-review mailing list