MAGIC website is set up on the renalreg server. Due to historical reasons it is run under the txfirst
user account on the renalreg server. Both sites follow a similar configuration pattern.
[root@www.renalreg.org ~]# su - txfirst [txfirst@www.renalreg.org ~]$ [txfirst@www.renalreg.org ~]$ ls -l /home/txfirst/sites total 8 drwxr-xr-x. 13 txfirst txfirst 4096 Nov 24 15:24 magic.renalreg.org drwxr-xr-x. 12 txfirst txfirst 4096 Aug 20 14:24 transplantfirst.renalreg.org [txfirst@www.renalreg.org ~]$
The sites are proxied via the software collection apache 2.4 server in /opt/rh/httpd24
with config files in /opt/rh/httpd24/root/etc/httpd/conf.d
with magic configuration in 06-magic.conf
(and 04-transplantfirst.conf
for transplant first)
The webservices run on port 9886 for magic and 9876 for transplant first. The server is started using the script in the bin folder under each site and it is a standard service style init.d script taking the commands start, stop and restart see Nephwork Server Config - Systems Team - Confluence (renalregistry.nhs.uk) for more detail on the type of script used