Skip to main content

How to properly Enable AllowOverride All for default dir of /usr/local/apache/htdocs/

Comments

3 comments

  • cPanelMichael
    For now I've edited httpd.conf directly, but I want the changes to stick. I've tried creating a main.local but apparently did not edit the correct location. For a rebuild and restart didn't produce the desired effect.

    Hello, Could you let us know the specific changes you are making? Thank you.
    0
  • BrianLayman
    Of course. I changed: Options All AllowOverride None Require all granted to: Options All AllowOverride All Require all granted How do I make that persistent? & is there any reason why that is a bad idea?
    0
  • cPanelMichael
    Have you tried directly editing /usr/local/apache/conf/httpd.conf and preserving the changes with the distiller? EX:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    Let us know if that helps. Thank you.
    0

Please sign in to leave a comment.