Skip to main content

Change order of modules loading

Comments

3 comments

  • cPanelMichael
    Hello :) Could you elaborate on this request? For instance, what's the end result you are attempting to accomplish? Thank you.
    0
  • kachan
    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. mod_rewrite mod_headers mod_env
    0
  • cPanelMichael
    This document may help: mod_headers - Apache HTTP Server Version 2.4 It offers information on "Order of Processing". Thank you.
    0

Please sign in to leave a comment.