rappid/rappidjs.com/master/public/doc/.htaccess - Htaccess File

rappid/rappidjs.com/master/public/doc/.htaccess

RewriteEngine On

# doc/{package} -> doc/package/index.json
RewriteRule ^([^/]+)$ $1/index.json [L]

# doc/{package}/some.doc -> # doc/{package}/some.doc.json
RewriteCond %{REQUEST_URI} !.json$
RewriteRule ^[^/]+/[^/]+$ $0.json

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache