For my local dev environment, I have just upgraded from MAMP to MAMP Pro so that I can easily create virtual hosts without getting too involved with configuration files. Server names will be formatted as: foldername.localhostFor my site's directory I want to create an htaccess rule to redirect from http://localhost/foldername to http://foldername.localhost, where foldername is a wildcard.Is this possible?
htaccess redirect for directory listing to virtual host on a local MAMP stack
htaccess;mamp