Skip to content

Instantly share code, notes, and snippets.

@mattl
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattl/ed8557c290660f8e0c7c to your computer and use it in GitHub Desktop.
Save mattl/ed8557c290660f8e0c7c to your computer and use it in GitHub Desktop.
<Directory /srv/list/webapp/api>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
RewriteEngine On
RewriteBase /api/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /api/index.php [QSA,NC,L]
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment