nice for after having set up *.dev to localhost: RewriteRule ^(.*) /%{HTTP_HOST}/htdocs/$ #apache #htaccess