Change order of modules loading
Hello,
I`d like to change the order to load these modules.
mod_header
mod_env
How can I change via WHM?
-
Hello :) Could you elaborate on this request? For instance, what's the end result you are attempting to accomplish? Thank you. 0 -
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 -
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.
Comments
3 comments