I got this from this page: https://developers.google.com/commerce/wallet/online/quickstart-php
I am wondering how to re-write it to work in a subdirectory.
like /subdirectory/index.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L,NC,QSA]