Author |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Tue 19 May '15 23:22 Post subject: mod_proxy.so installation on linux |
|
|
I have installed apache 2.2.29 on the linux box. But with the installation I dont have mod_proxy.so . I dont have the mod_proxy.so entry on httpd.conf file and dont have the file under ${apache_home}/modules folder. How can I install just mod_proxy.so in to apache.
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 20 May '15 10:50 Post subject: |
|
|
Which linux do you use? What is the path to the other modules? |
|
Back to top |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Wed 20 May '15 14:55 Post subject: |
|
|
we use RHEL 5.9 64-bit. all other modules are in the same directory as I mentioned below ${apache_home}/modules folder. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Wed 20 May '15 17:52 Post subject: |
|
|
Thank you. Is there any particular location on apache where I need to download the source (mod_proxy_html.c) |
|
Back to top |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Wed 20 May '15 18:12 Post subject: |
|
|
I tried and I am getting below error.
./apxs -c -I /usr/include/libxml2 -I . -i {path}/mod_proxy_html.c
{apache}/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I{apache}/include -I{apache}/include -I{apache}/include -I/usr/include/libxml2 -I. -c -o {path}/mod_proxy_html.lo {path}/mod_proxy_html.c && touch {path}/mod_proxy_html.slo
{path}/mod_proxy_html.c:66:25: error: mod_xml2enc.h: No such file or directory
{path}/mod_proxy_html.c: In function ‘proxy_html_filter’:
{path}/mod_proxy_html.c:904: error: ‘ENCIO_OUTPUT’ undeclared (first use in this function)
{path}/mod_proxy_html.c:904: error: (Each undeclared identifier is reported only once
{path}/mod_proxy_html.c:904: error: for each function it appears in.)
{path}/mod_proxy_html.c: In function ‘mod_proxy_html’:
{path}/mod_proxy_html.c:1215: error: ‘apr_OFN_xml2enc_charset_t’ undeclared (first use in this function)
{path}/mod_proxy_html.c:1215: error: expected expression before ‘)’ token
{path}/mod_proxy_html.c:1216: error: ‘apr_OFN_xml2enc_filter_t’ undeclared (first use in this function)
{path}/mod_proxy_html.c:1216: error: expected expression before ‘)’ token
{path}/mod_proxy_html.c: In function ‘proxy_html_insert’:
{path}/mod_proxy_html.c:1230: error: ‘ENCIO_INPUT_CHECKS’ undeclared (first use in this function)
apxs:Error: Command failed with rc=65536
Is there any way I can include all the modules, if I reinstall apache again. Below is the install command I used while installed apache.
./configure --prefix={apache path} --enable-mods-shared=all |
|
Back to top |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Wed 20 May '15 20:21 Post subject: |
|
|
I was able to reinstall apache with the proxy module..
Thanks for your help. |
|
Back to top |
|