luisgerhorst/ccms/min/.htaccess
# ccms
Options -Multiviews
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR] # file
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -l
RewriteRule ^ - [L]
RewriteRule _root/(.*)$ $1 [L] # root everywhere
<IfModule mod_proxy.c>
<IfModule mod_proxy_http.c>
RewriteRule ^couchdb/(.*)$ http://127.0.0.1:5984/$1 [P,L] # couchdb
</IfModule>
</IfModule>
RewriteRule ^install$ install.html [L] # install
RewriteRule ^install/.*$ install.html [L]
RewriteRule ^admin$ admin.html [L] # admin
RewriteRule ^admin/.*$ admin.html [L]
RewriteRule ^ index.html [L] # blog
</IfModule>
# ccms end
On Github License
Files