Per the Apache server official documentation, because the configuration settings of the primary apache
httpd.conf file are not inherited by virtual sites hosted on a shared apache installation by default, this must be configured in the
<VirtualHosts> directive for each site hosted in the shared environment:
By default, mod_rewrite configuration settings from the main server context are not inherited by virtual hosts. To make the main server settings apply to virtual hosts, you must place the following directives in each
Given that you're on a shared hosting plan, there is a chance that your hosting provider may not be using the default configuration and may allow configuration of this directive in another configuration file besides the default. You should contact their support team for verification and provide them this information so the can determine the fastest way to restore the functionality you have identified as broken.
This is not the only apache configuration directive that uses a different inheritance mechanism when
<VirtualHosts> are employed, so I would be surprised if your provider did not have a well-known mechanism of configuring this in there environment.