On Sun, May 02, 2004 at 10:26:17AM +0800, william villanueva wrote:
> Further researched says to "disable mod_proxy"  but I can't find where to
> disable it.  I've gone to the extent of uninstalling the whole apache and
> install from scratch but the latest full install does not have any PROXY*
> statements in any of the conf files.    I have also tried commenting out
> APACHEPROXIED to no avail.

apache2-mod_proxy package owns "/etc/httpd/conf.d/30_mod_proxy.conf".
Removing (rpm -e apache2-mod_proxy) it will completely disable
mod_proxy. :-)

  $ rpm -qf /etc/httpd/conf.d/30_mod_proxy.conf
  apache2-mod_proxy-2.0.47-6.3.92mdk
  $ rpm -ql apache2-mod_proxy-2.0.47-6.3.92mdk
  /etc/httpd/conf.d/30_mod_proxy.conf
  /usr/lib/apache2/mod_proxy.so
  /usr/lib/apache2/mod_proxy_connect.so
  /usr/lib/apache2/mod_proxy_ftp.so
  /usr/lib/apache2/mod_proxy_http.so
  /usr/share/doc/apache2-mod_proxy-2.0.47
  /usr/share/doc/apache2-mod_proxy-2.0.47/CHANGES
  /var/cache/httpd

However, apache2-mod_proxy is required by apache2-mod_perl.

  $ rpm -q --whatrequires apache2-mod_proxy
  apache2-mod_perl-2.0.47_1.99_09-3mdk

If you don't want to lose apache2-mod_perl, just comment the
"Proxy Server directives" line up to "End of proxy directives" line.
  
  $ cat /etc/httpd/conf.d/30_mod_proxy.conf
  <IfDefine HAVE_PROXY>
    <IfModule !mod_proxy.c>
      LoadModule proxy_module             modules/mod_proxy.so
      #LoadModule proxy_connect_module    modules/mod_proxy_connect.so
      #LoadModule proxy_ftp_module        modules/mod_proxy_ftp.so
      LoadModule proxy_http_module        modules/mod_proxy_http.so
    </IfModule>
  </IfDefine>

  #<IfModule mod_proxy.c>

  #
  # Proxy Server directives. Uncomment the following lines to
  # enable the proxy server:
  #

  #ProxyRequests On

  #<Proxy *>
  #    Order deny,allow
  #    Deny from all
  #    Allow from .your-domain.com
  #</Proxy>

  #
  # Enable/disable the handling of HTTP/1.1 "Via:" headers.
  # ("Full" adds the server version; "Block" removes all outgoing Via:
  # headers)
  # Set to one of: Off | On | Full | Block
  #

  #ProxyVia On

  # End of proxy directives.

  #</IfModule>

Hope this helps.

-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to