diff --git a/api/.htaccess b/api/.htaccess
new file mode 100644
index 0000000000000000000000000000000000000000..e230ac6e186f66ada37cca3809396e32b98473e1
--- /dev/null
+++ b/api/.htaccess
@@ -0,0 +1,9 @@
+Options +FollowSymLinks
+RewriteEngine On
+
+RewriteBase /api/
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+
+RewriteRule ^(.*)$ http.php/$1 [L]