cmbirk/chicagocode.org/master/htdocs/api/.htaccess - Htaccess File

cmbirk/chicagocode.org/master/htdocs/api/.htaccess

RewriteEngine On
RewriteBase /api/

# Specify the default version number here.
RewriteRule .* - [E=VERSION:1.0]

# If the first segment of the URL is an alpha string, rather than a version
# number, then insert the current version number.
RewriteRule ^([a-z]+)/(.*)$ %{ENV:VERSION}/$1/$2

On Github License

Files

Download PDF of Htaccess file

Comments

Apache