zotero/web-library/master/examples/library/.htaccess
RewriteEngine On RewriteRule ^.*(static/.*)$ ../../$1 RewriteRule ^.*(build/.*)$ ../../$1 RewriteRule ^.*(/libraryconfig.js)$ ./$1 RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d #RewriteCond %{REQUEST_URI} !.*static/.* RewriteRule ^(.*)$ index.html
Files
![REQUEST_URI, SCRIPT_FILENAME, static](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/zotero/web-library-examples-library-htaccess.png)