My hosting does not permit the use of .htaccess. But I do have access to the vhost section for the site, and anything that can be done in .htaccess can be done in the configuration. However, the commands are not exactly the same when used in the config as they are in .htaccess.
What commands are needed in the configuration to achieve the desired effect?