App on SSL

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

App on SSL

Postby rdagijones » Sun Dec 01, 2013 9:45 pm

I am trying to get ocs inventory ng to run on ssl. I have followed https://wiki.amahi.org/index.php/Secure_App_Access but am now getting a "Syntax error on line 12 of /etc/httpd/conf.d/1016-ocs-inventoryhttp.conf: </VirtualHost> without matching <VirtualHost> section" warning when I try to restart httpd

Here is the /etc/httpd/conf.d/1016-ocs-inventoryhttp.conf file (I edited my server alias for posting it here.)
<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>
I have retyped it several times and even recreated the file to try and fix the problem. Still the same warning. Help please. :?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: App on SSL

Postby bigfoot65 » Mon Dec 02, 2013 6:17 am

Possible the syntax has changed in Fedora 19. The tutorial you followed I do not believe has been tested in Fedora 19. Might need to Google it.

We had noticed when working on Amahi 7 that the apache .conf files were a bit different than with Fedora 14. If you by change figure it out, please update the wiki accordingly.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

rdagijones
Posts: 274
Joined: Thu Jan 26, 2012 7:56 am

Re: App on SSL

Postby rdagijones » Mon Dec 02, 2013 9:57 am

I am actually still using Fedora 14 and Amahi 6.1.0-1. Given that information what steps should I take?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: App on SSL

Postby bigfoot65 » Mon Dec 02, 2013 10:28 am

What is in the wiki was written for Fedora 14. If it's not working then I am unsure why. It could be anything. You might double check the steps. Other than that, not much I can offer for assistance.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 16 guests