File YOURLS.conf of Package YOURLS
Alias /YOURLS "/srv/www/YOURLS"
Alias /yourls "/srv/www/YOURLS"
<Directory "/srv/www/YOURLS">
AllowOverride All
Options SymLinksIfOwnerMatch
<IfModule mod_authz_core.c>
# Apache 2.4
Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Allow from all
</IfModule>
</Directory>