httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff DeFord" <jeff.def...@gmail.com>
Subject Re: [users@httpd] mod_rewrite on 2.0.50
Date Thu, 05 Oct 2006 17:15:20 GMT
Unfortunately, I can not get mod_proxy_html to load. I grabbed the
latest source for mod_proxy_html and compiled it as follows:

    apxs -c -a -I/usr/local/include/libxml2/ -i mod_proxy_html.c

which returns what looks to be a successful compile and install:

    chmod 755 /apache/modules/mod_proxy_html.so
    [activating module `proxy_html' in /apache/conf/httpd.conf]

However, when I add the LoadModule directive for the module it fails
and I get the following error:


    Cannot load /apache/modules/mod_proxy_html.so into server:
ld.so.1: /export/home/apache/bin/httpd: fatal: relocation error: file
/dmz/modules/mod_proxy_html.so: symbol htmlFreeParserCtxt: referenced
symbol not found

The /apache directory is a sym link, could this be the culprit? I have
other modules I have compiled and added with no issues with the sym
link, so I don't think that is the real issue. But If it is so, then
how do I get around it? The thing that stands out is this error:
symbol htmlFreeParserCtxt: referenced symbol not found

Has anyone else seen this and if so, what did you do to correct it?

TIA,

-=jeff



On 10/4/06, Sai Jai Ganesh Gurubaran <sgurubar@cordys.com> wrote:
> Hi Jeff,
> Nick sent a link http://www.apacheweek.org/tutorials/reverseproxies but
> that was not working. I think was he was referring to
> http://www.apacheweek.com/features/reverseproxies
>
> There is a module mod_proxy_html which is supposed to do the work.
>
> But, I see that 2.0.50 does not apply the rules :(.
> No message in the error logs too.
>
> (2.0.50 has some bug I feel, mod_rewrite with the same rules works
> smooth with 2.2.3 - I can see everything in RewriteLogs too).
>
> I will work on this again this weekend and try to set it up.
>
> All the best for u too.
>
> Let me know if you make any progress.
>
> Regards,
> Sai
>
> -----Original Message-----
> From: Jeff DeFord [mailto:jeff.deford@gmail.com]
> Sent: Thursday, October 05, 2006 1:00 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] mod_rewrite on 2.0.50
>
> Sai:
>
> Did you ever resolve this issue? I am having the same issue with my
> setup. The real server is configured using absolute URLs and I think
> that has something to do with it. I have not found a way to get the
> URLs to be re-written, but the proxy server functions as expected.
>
> Please let me know what you have found out...
>
> Regards,
>
> Jeff
>
> On 10/3/06, Sai Jai Ganesh Gurubaran <sgurubar@cordys.com> wrote:
> > Hi Nick,
> >
> > Answering your questions:
> >        1. why 2.0.50??????
> >         That is the  recommended version of the current application we
> > are using is running on :(.
> >
> >
> > Thanks for pointing out the security aspect of it.
> >
> >
> > Ok, I got the definition of reverse and forward wrong :)
> >
> > But still my original problem remains.....
> >
> >
> >
> > -----Original Message-----
> > From: Nick Kew [mailto:nick@webthing.com]
> > Sent: Tuesday, October 03, 2006 1:50 PM
> > To: users@httpd.apache.org
> > Subject: Re: [users@httpd] mod_rewrite on 2.0.50
> >
> > On Tuesday 03 October 2006 08:43, Sai Jai Ganesh Gurubaran wrote:
> > > Hi,
> > > I am a newbie.
> > > We have set up Apache 2.0.50 as a forward proxy.
> >
> > Why such an old version?
> >
> > > Want to redirect a particular (external) page to our internal page.
> > > i.e. for  http://www.abc.com/suggestions.htm to
> > > http://myanotherserver/suggestion.htm
> >
> > That's a reverse proxy.
> >
> > > #Apache as a Proxy
> > > ProxyRequests On
> >
> > If that's open to the outside, it's a serious security hole.
> >
> > See http://www.apacheweek.org/tutorials/reverseproxies
> >
> > --
> > Nick Kew
> >
> > Application Development with Apache - the Apache Modules Book
> > http://www.prenhallprofessional.com/title/0132409674
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> ***********************************************************************
> > The information in this message is confidential and may be legally
> > privileged. It is intended solely for the addressee. Access to this
> > message by anyone else is unauthorized. If you are not the
> > intended recipient, any disclosure, copying, or distribution of the
> > message, or any action or omission taken by you in reliance on
> > it is prohibited and may be unlawful. Please immediately contact
> > the sender if you have received this message in error. This email
> > does not constitute any commitment from Cordys Holding BV or
> > any of its subsidiaries except when expressly agreed in a written
> > agreement between the intended recipient and
> > Cordys Holding BV or its subsidiaries.
> >
> ***********************************************************************
> >
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message