Working on a local dev environment set up with Vagrant and I don't have mod_headers.c installed so the plugin's updates to the .htaccess file break my environment, then I have to go in and manually edit the .htaccess file.
I know this plugin was built for bluehost, but some of us devs like to have our dev environment local and only push stuff to prod after it's been tested.
I also know that I could just enable the headers mod on Apache ;)
However, it is convention to wrap rewrite rules with <ifModule>, so why not other directives?
Working on a local dev environment set up with Vagrant and I don't have
mod_headers.c
installed so the plugin's updates to the .htaccess file break my environment, then I have to go in and manually edit the .htaccess file.I know this plugin was built for bluehost, but some of us devs like to have our dev environment local and only push stuff to prod after it's been tested.
I also know that I could just enable the headers mod on Apache ;)
However, it is convention to wrap rewrite rules with
<ifModule>
, so why not other directives?Just change line 417 to look like: