I am trying to set up a development environment for Wordpress multisite on my local MAC. I am developing using PHPStorm, and the built-in PHP webserver. One of the limitations of the built-in webserver is that is doesn't support apache mod_rewrite, but instead uses routing scripts. However there's very little clear documentation on translating into these from .htaccess rules.
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) wordpress/$1 [L]
RewriteRule ^(.*\.php)$ wordpress/$1 [L]
RewriteRule . index.php [L]
Is where I'm starting from, the basic Wordpress redirect htaccess for a multisite with Wordpress in its own directory (/wordpress)... can anyone point me in a good direction for resources on how to translate this into a routing script?