/etc/apache2/conf-available/homer-api.conf is in homer-api 5.0.6+dfsg2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Alias /homer /usr/share/homer/web
# Add trailing slash (because DirectorySlash is off)
RedirectMatch ^/homer$ /homer/
<Directory "/usr/share/homer/web">
DirectoryIndex index.php index.html index.htm
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
RewriteEngine on
RewriteBase /homer/api
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]
DirectorySlash Off
</Directory>
|