ChrisBooker/office-league/develop/httpdocs-api/.htaccess - Htaccess File

ChrisBooker/office-league/develop/httpdocs-api/.htaccess

Options -Indexes
RewriteEngine on

# For simplicity and speed we'll expect all calls to be a simple, common format and pass in a query string for the actual params.
RewriteRule ^([a-z]+)/([a-z]+)/?$ /apiRequest.php?method=$1&action=$2 [QSA,NC,L]

On Github License

Files

Download PDF of Htaccess file

Comments

Apache