Help: How to add module proxy to apache on Linux?

Help: How to add module proxy to apache on Linux?

Post by Mark Salisbur » Fri, 24 Mar 2000 04:00:00



Hello
I have redhat Linux 5.2.
I have previosusly installed mod-perl on my apache server with the
following procedure from perl.apache.org/guide/install.html:

  % cd mod_perl-1.21_03
  % perl Makefile.PL APACHE_SRC=../apache_1.3.12/src \
    DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
  % make && make test && make install
  % cd ../apache_1.3.12
  % make install

This does work, and mod-perl is functioning.

Now I want to install mod_proxy. I am rather bewildered by the number of
configuration files, and I don't know where I should add the option to
include mod_proxy (& what that option ought to be). The source is in
/usr/src/apache_1.3.12/src/modules/proxy ..but it's only source
(uncompiled), so I guess it has to be compiled by a makefile. There is a
file in that dir called Makefile.tmpl. How do I compile to get libproxy.a,
and how do I include it?
I'm sure it's very eary when you know how!

Please can someone help me?

Mark Salisbury B.Sc. ARCS

 
 
 

Help: How to add module proxy to apache on Linux?

Post by Sandeep Cariap » Sun, 26 Mar 2000 04:00:00


I use configure, and I called configure in the following manner:
cd apache-1.3.9
./configure --enable-module=proxy

This compiled it right in.
Otherwise you can compile in mod_so (--enable-module=so) and
then use mod_proxy as a DSO

Regards,
Sandeep Cariapa



> Hello
> I have redhat Linux 5.2.
> I have previosusly installed mod-perl on my apache server with the
> following procedure from perl.apache.org/guide/install.html:

> % cd mod_perl-1.21_03
> % perl Makefile.PL APACHE_SRC=../apache_1.3.12/src \
> DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 DYNAMIC=1
> % make && make test && make install
> % cd ../apache_1.3.12
> % make install

> This does work, and mod-perl is functioning.

> Now I want to install mod_proxy. I am rather bewildered by the number
of
> configuration files, and I don't know where I should add the option to
> include mod_proxy (& what that option ought to be). The source is in
> /usr/src/apache_1.3.12/src/modules/proxy ..but it's only source
> (uncompiled), so I guess it has to be compiled by a makefile. There
is a
> file in that dir called Makefile.tmpl. How do I compile to get
libproxy.a,
> and how do I include it?
> I'm sure it's very eary when you know how!

> Please can someone help me?

> Mark Salisbury B.Sc. ARCS

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Help: Problems using apache proxy module

Hi,

I've compiled apache 1.3.6 with the proxy module enabled and have set
it up with cache enabled and to use my ISP proxy to all http requests.
The problem is that it only works for some web address and to others
it doesn't and returns no route to host. But if setup my browser to
bypass my proxy and connect directly to my ISP's proxy it all works
fine. Can someone tell me what's wrong?

Here's the proxy part of my httpd.conf:

ProxyRequests On
ProxyRemote http http://proxy.of.my.isp:8080

<Directory proxy:*>
    Order deny,allow
    Deny from all
    Allow from 10.0.0.2 10.0.0.1
</Directory>

ProxyReceiveBufferSize 512
ProxyDomain .sys
NoProxy .sys
CacheRoot "/hd2/data/proxy"
CacheSize 10
CacheGcInterval 24
CacheMaxExpire 4800
CacheDefaultExpire 4800
CacheLastModifiedFactor 0.0001
CacheForceCompletion 100

# I have set up cache this way to speed up web pages browsing

2. tn3270 needed

3. Problems adding Apache JServ module to Apache Web Server as a Dynamic Shared Object

4. packages in software clusters

5. Rh6 Apache add module help..

6. Tomcat Jakarta username password

7. Apache with access control vs proxy (Not apache AS proxy)

8. Kernel won't compile. Help please?

9. Whats the best proxy add on for Apache ?

10. Apache: Adding headers to proxy request

11. Apache 1.2.1 proxy modules problem

12. apache proxy module support HTTP 1.1??

13. Does Apache Proxy module register cache hits/misses?