house-keeping to emulate setup that works for subdirectories of localhost for MAMP