Alias /Shaarli "${root}"
Include /var/secrets/webapps/tools-shaarli
+ <Location /Shaarli>
+ Header set Access-Control-Allow-Origin "*"
+ Header set Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
+ Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization, Client-Security-Token, Accept-Encoding"
+ </Location>
<Directory "${root}">
DirectoryIndex index.php index.htm index.html
Options Indexes FollowSymLinks MultiViews Includes