/etc/apache2/conf-enabled/my-apache-syslog.conf

### access to syslog
## mkdir /var/www/html/mysite-syslog/
## mkdir /var/www/html/mysite-syslog/messages/

## how to mount
## mount --bind /omd/sites/mysite/var/mkeventd/messages/ /var/www/html/mysite-syslog/messages/
## >> better in /etc/fstab: /omd/sites/mysite/var/mkeventd/messages/ /var/www/html/mysite-syslog/messages/ none bind 0 0

Alias /mysite-syslog /var/www/html/mysite-syslog/

<Directory "/var/www/html/mysite-syslog/">
DirectoryIndex disabled
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>



-------------------
of course you need to run the mount and restart apache ;-))

computer2know :: thank you for your visit :: have a nice day :: © 2024