Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Change order of modules loading

Discussion in 'General Discussion' started by kachan, Jan 24, 2016.

  1. kachan

    kachan Registered

    Joined:
    Dec 15, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I`d like to change the order to load these modules.
    mod_header
    mod_env
    How can I change via WHM?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate on this request? For instance, what's the end result you are attempting to accomplish?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kachan

    kachan Registered

    Joined:
    Dec 15, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The purpose I need to change the order to load these modules is because the following code wouldn't work.

    RewriteEngine on
    RewriteCond %{REMOTE_ADDR} !^123\.45\.67\.89$
    RewriteCond %{REMOTE_ADDR} !^123\.111\.222\.123$
    RewriteRule ^(.*) - [E=PUBLIC:$1]
    Header always append X-Frame-Options "SAMEORIGIN" env=PUBLIC

    I found information on line that it worked properly after changing these order like that.
    That is why I’d like to change the order to load these modules.

    <modules>
    mod_rewrite
    mod_headers
    mod_env
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,197
    Likes Received:
    1,936
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice