Skip to main content

Directory AllowOverride not working in Include FIle

Comments

3 comments

  • cPanelMichael
    Hello, The "Optimize .htaccess (AllowOverride)" option is found in "WHM >> Apache Configuration >> Global Configuration". More information about this option is available on the following thread: .htaccess search optimization in cPanel & WHM version 66 You can try changing it to the following option to see if that allows your custom Apache includes to work: Search "/" and below (No optimization, Search Full Path) Note that you should not directly alter the global httpd.conf file, as those edits are not preserved. There's no need to uncomment any lines in that file when setting up a custom include file. Thank you.
    0
  • Quin Glover
    Thank you that did help a lot. But then what is the point of the Include conf.d line in the virtual host configuration?
    0
  • cPanelMichael
    Thank you that did help a lot. But then what is the point of the Include conf.d line in the virtual host configuration?

    Hello, It's commented because it's only added as a note to instruct you on how to create the custom include file. Thank you.
    0

Please sign in to leave a comment.