On an Apache server, how can I have the following setup (using config file instead of .htaccess if possible)?