Here is the /etc/httpd/conf.d/1016-ocs-inventoryhttp.conf file (I edited my server alias for posting it here.)
I have retyped it several times and even recreated the file to try and fix the problem. Still the same warning. Help please.<VirtualHost *:80>
ServerName ocs-inventory
ServerAlias ocs-inventory.myhdarealname.com
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} {L,R}
ExpiresDefault "access plus 10 years"
AddOutputFilterByType DEFLATE text/html text/plain text/xml
</VirtualHost>
