RE: [users@httpd] mod_proxy_html Segmentation fault problem with Apache 2.1.6 on FreeBSD 4.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm... I tried at first without the apache path, this is what I got:

su-2.05b# ./apache21/bin/apxs -c -I/usr/local/include/libxml2 -i
mod_proxy_html.c
/usr/home/rebekah/apache21/build/libtool --silent --mode=compile gcc
-prefer-pic   -D_THREAD_SAFE -D_REENTRANT -g -O2
-I/usr/home/rebekah/apache21/include  -I/usr/home/rebekah/apache21/include
-I/usr/home/rebekah/apache21/include -I/usr/local/include
-I/usr/local/include/libxml2  -c -o mod_proxy_html.lo mod_proxy_html.c &&
touch mod_proxy_html.slo
mod_proxy_html.c:71: hsregex.h: No such file or directory
apxs:Error: Command failed with rc=65536
.

And truly, there is no hsregex.h on the box except in
/usr/local/include/apache and /usr/local/apache/include.

How to get it to compile without referencing the (apparently wrong - for a
different version of Apache?) hsregex.h file in one of those locations?

I will have another box available in a week or two that has no other
versions of Apache on it.  I was trying the 2.1 version because I wanted to
use the ProxyPassReverseCookieDomain and ProxyPassReverseCookiePath
directives which are only available on 2.1 not 2.0, and I had read of
someone using this successfully
(http://joseph.randomnetworks.com/archives/2005/07/05/reverse-proxy-with-apa
che/).

Hopefully the install will go smoothly on the new box - in the meantime it
would be nice to have it working on this box though...

-Rebekah

-----Original Message-----
From: Nick Kew [mailto:nick@xxxxxxxxxxxx] 
Sent: Friday, July 29, 2005 1:15 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] mod_proxy_html Segmentation fault problem with
Apache 2.1.6 on FreeBSD 4.9

Joost de Heer wrote:
>>>I am running Apache 2.1.6 on FreeBSD 4.9.  It is running on port 8080 
>>>because another version of Apache is running on port 80.
> 
> 
>>>My apxs command to install mod_proxy_html:
>>>./apache21/bin/apxs -c -I/usr/local/include/libxml2 
>>>-I/usr/local/include/apache -i mod_proxy_html.c
> 
> 
> Is /usr/local/include/apache the include directory for Apache 2.1 or 
> of the other Apache? Compiling A2.1 modules requires the A2.1 includes....

Good catch - I missed that one in my reply!  You shouldn't pass *any* Apache
or APR include paths to apxs - it'll have the right one built in.
Of course you do need to pass non-Apache paths such as libxml2.

--
Nick Kew

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux