jmorwick/mypdfdb/master/services/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On SetEnv MYPDFDB_DATA_DIR /var/db/mypdfdb RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*)$ api.php?request=$1 [QSA,L] </IfModule>