Skip to content
Snippets Groups Projects
Commit f651e555 authored by Jared Hancock's avatar Jared Hancock
Browse files

Add mod_rewrite support for the API

The API is implemented for HTTP requests via the api/http.php module.  Where
supported (by Apache), support rewriting URIs from something like
http://domain.tld/api/tickets.xml to
http://domain.tld/api/http.php/tickets.xml, so the explicit usage of the
http.php script is not required.
parent eddbddc7
No related branches found
No related tags found
No related merge requests found
Options +FollowSymLinks
RewriteEngine On
RewriteBase /api/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ http.php/$1 [L]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment