Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Feb 2010
    Location
    India
    Posts
    23

    Default How do i disable mod_proxy ??

    Hai

    1) Can any one help me on how to disable mod_proxy server wide?
    2) Does this have any effect in server security ?

    Is apache modules compiled statically?

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If you run /scripts/easyapache --force and un-select the following in the Apache Exhaustive Options List, then it should disable mod_proxy:

    Proxy (required for cPanel/WHM/Webmail/Webdisk proxy VirtualHost support)

    Of course, you won't be able to use proxy subdomains option in WHM > Tweak Settings after it's been removed.

    I cannot state about the security aspect.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Feb 2010
    Location
    India
    Posts
    23

    Default

    thanks..
    By the way
    Hws apache modules compiled
    statically ?
    can that be compiled shared ?

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Since we recompile Apache every time you add a module, it would seem to be static for most the modules, although I would prefer someone more expert on our setup chime in here on this one.

    I will note that mod_so is compiled on my Apache for my cPanel machines, and with mod_so, you can actually use apxs to add modules that weren't originally included in the original compile. This isn't something I've ever tested on my machine, but I probably will test to see if this is possible in our setup (based on what I'm reading online, it does appear it should be). Of note, the apxs tool is at /usr/local/apache/bin/apxs

    Here's a good discussion on static versus dynamic modules:

    Configuring Apache for Maximum Performance | HowtoForge - Linux Howtos and Tutorials
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Feb 2010
    Location
    India
    Posts
    23

    Default

    root@server [~]# httpd -M
    Loaded Modules:
    core_module (static)
    authn_file_module (static)
    authn_default_module (static)
    authz_host_module (static)
    authz_groupfile_module (static)
    authz_user_module (static)
    authz_default_module (static)

    Can that be compiled shared like below ?

    root@server [~]# httpd -M
    auth_basic_module (shared)
    authn_file_module (shared)
    authn_alias_module (shared)
    authn_dbm_module (shared)

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,300
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    EasyApache is compiling them static, so no you cannot change the behavior of EasyApache for compiling them. You could use apxs to add the modules you want and it might be possible to do it that way via apxs (this is something you could test out doing).

    Can I ask why they need to be dynamic? Static modules use less RAM. What is the reasoning behind the request?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. mod_proxy configuration?
    By HollyRidge in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-08-2010, 08:54 PM
  2. EA3 w/ mod_proxy, but it's not there?
    By xvihost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-16-2008, 11:07 PM
  3. Problem with mod_proxy
    By sickman20 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-01-2007, 12:45 AM
  4. mod_proxy via subdomains..
    By sergio_101 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-17-2006, 08:53 AM
  5. mod_proxy under apache
    By diederik in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-25-2003, 11:38 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube