
subscribe
Dear Support,
I'm trying to correct this in my ubuntu config. I have adjusted my config. Php to no avail - see atatched. I have added the relevant to the web host:
<VirtualHost *:80>
# Listen on HTTP ServerName monitor.holycrossprep.com
# Force a redirect to HTTPS for any requests to observium. example.com RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%%7BHTTP_HOST%7D%%7BREQUEST_URI%7D [L,R=301]
RedirectPermanent / https://monitor.holycrossprep.com/ </VirtualHost>
<VirtualHost *:443> ServerName monitor.holycrossprep.com
DocumentRoot /opt/observium/html <FilesMatch .php$> SetHandler application/x-httpd-php </FilesMatch> <Directory /> Options FollowSymLinks AllowOverride None </Directory> SSLEngine on SSLCertificateFile /etc/ssl/certs/holycrossprep.pem SSLCertificateKeyFile /etc/ssl/certs/holycrossprep.key
<Directory /opt/observium/html/> DirectoryIndex index.php Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> ErrorLog /error.log LogLevel warn CustomLog /access.log combined ServerSignature On
</VirtualHost>
Would else should I be looking at?
Thank you, Martin [https://www.holycrossprepschool.co.uk/_Includes/images/banner.png]
Martin Gilhooly
IT Manager
+44 (0)20 8942 0729
martin.gilhooly@holycrossprep.commailto:martin.gilhooly@holycrossprep.com www.holycrossprepschool.co.uk [https://www.holycrossprepschool.co.uk/_Includes/images/hcp_logo.png]
[advertisement]https://www.holycrossprepschool.co.uk
Holy Cross Preparatory School * George Road * Kingston Upon Thames * Surrey * KT27NU
CONFIDENTIALITY NOTICE, DISCLAIMER AND MONITORING: This email is intended for the person to whom it is addressed. The message and any attachments may contain confidential information. If you are not the intended recipient or have received this email in error, please notify the sender and delete the email from your computer systems. You should not make any unauthorized use of the information contained in the email. While all reasonable precautions are taken to ensure that no viruses are transmitted with this message, Holy Cross Preparatory School will not be liable for any loss or damage caused by the transmission of this message. Please note that Holy Cross Preparatory School reserves the right to monitor emails in accordance with the School IT policy.