.htaccess - apache htaccess in subdirectories with cpanel/whm -
i'm using cpanel/whm setup.
htaccess files work fine base directory (public_html) below (public_html/stuff/) isn't processed. i'm aware need set allowoverride, enable this?
the allowoverride directive set in apache global configuration file. file managed cpanel , it's important not edit sections labeled not edis edits lost.
the configuration file located at: /usr/local/apache/conf/httpd.conf
you're looking section looks following since allowoverride directive available inside <directory> section of configuration file.
<directory "/"> options allowoverride </directory>
after ensure allowoverride enabled in apache configuration need let cpanel know have updated file running following command:
/usr/local/cpanel/bin/apache_conf_distiller --update
more allowoverride directive:
cpanel logs , configuration posters:
Comments
Post a Comment