I have installed and I am running NetSUS 4.2.1 running on a Ubuntu 16.04 VM. It is downloading updates, I can edit settings and the catalogs and I have two catalogs defined.
I can access a catalog via a URL like http://sus.example.com/content/catalogs/index_released.sucatalog
The problem is that it is not redirecting to the relevant catalog for the version of operating system the client Mac is running. It should be for example redirecting to http://sus.example.com/content/catalogs/others/index-10.13-10.12-10.
11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1_released.sucatalog
I can see that the /etc/apache2/sites-enabled/000-default.conf contains RewriteRules which should do the same job as the .htaccess approach typically used with Reposado. (Which NetSUS is using.)
I even tried a .htaccess file as well and this is not working either.
apache2ctl -M shows mod_rewrite is loaded and in any case I did an a2enmod rewrite just in case.
Does anybody have any suggestions on how to fix this or narrow down the cause since my own attempts have so far failed.
(I have previously used genuine Reposado with .htaccess with no problems but this time wanted to use NetSUS.)
Update: Additional information
The repository is a mounted drive at /mnt/shared inside of which is srv/SUS/html, I have removed the standard /srv and created a symbolic link to /mnt/shared/srv via ln -s /mnt/shared/srv /srv this is working for NetSUS downloading the updates and as mentioned for my viewing http://sus.example.com/content/catalogs/index_released.sucatalog but not the redirection.