</Location>
# ----------------------------------------------------------------------------------
+# Experimental RESTful API endpoint
+# ----------------------------------------------------------------------------------
+<Location /api>
+ SetHAndler perl-script
+ PerlHandler OpenILS::WWW::RestAPI
+ Options +ExecCGI
+ PerlSendHeader On
+ allow from all
+</Location>
+
+# ----------------------------------------------------------------------------------
# Conify - next-generation Evergreen administration interface
# ----------------------------------------------------------------------------------
RewriteRule ^/conify/([a-z]{2}-[A-Z]{2})/global/(.*)$ /conify/global/$2 [E=locale:$1,L]
ExpiresActive On
ExpiresByType text/html "access plus 5 seconds"
</Location>
-
# Note: the template processor will decline handling anything it does not
# have an explicit configuration for, which means it will fall back to
# Apache to serve the file. However, in the interest of speed, go ahead
</Location>
# ----------------------------------------------------------------------------------
+# Experimental RESTful API endpoint
+# ----------------------------------------------------------------------------------
+<Location /api>
+ SetHAndler perl-script
+ PerlHandler OpenILS::WWW::RestAPI
+ Options +ExecCGI
+ PerlSendHeader On
+ Require all granted
+</Location>
+
+# ----------------------------------------------------------------------------------
# Conify - next-generation Evergreen administration interface
# ----------------------------------------------------------------------------------
RewriteRule ^/conify/([a-z]{2}-[A-Z]{2})/global/(.*)$ /conify/global/$2 [E=locale:$1,L]