Announcement

Collapse
No announcement yet.

OX6.18 and no https access

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OX6.18 and no https access

    Hi,

    I did a new install of OX6.18 on SLE11, I can connect with http, but when connecting with https I get still the javascript enable error message. You need to enable JavaScript to access the Open-Xchange Server.

    It worked with 6.16, is there any additional settings for https.

    Thanks and Regards,
    Horst Simon

  • #2
    Hi Horst,

    6.18 brought some new Apache settings that are defined in a special file and invoced at sites-enabled/yoursite.conf
    Perhaps the Include statement is only done for the non-ssl site?

    Comment


    • #3
      Hi Martin,

      Thanks for the reply. I am not an apache expert and my apache does not have the site-enabled directory. I previously used the default file in vhosts.d and which worked ok with http and https and just modified it with the new directives, but somehow it does not work for ssl file as follow:

      NameVirtualHost *
      <VirtualHost *>
      ServerName mercury.hsc.com.au
      ServerAdmin webmaster@hsc.com.au

      DocumentRoot /srv/www/htdocs/

      <Directory /srv/www/htdocs/>
      AllowOverride None
      Order allow,deny
      allow from all
      RedirectMatch ^/$ /ox6/
      Options +FollowSymLinks +SymLinksIfOwnerMatch
      </Directory>
      # deflate
      AddOutputFilterByType DEFLATE text/html text/plain text/javascript application/javascript text/css text/xml application/xml text/x-js application/x-javascript

      # pre-compressed files
      AddType text/javascript .jsz
      AddType text/css .cssz
      AddType text/xml .xmlz

      AddEncoding x-gzip .jsz .cssz .xmlz
      SetEnvIf Request_URI "\.(jsz|cssz|xmlz)$" no-gzip

      ExpiresActive On

      <Location /ox6>
      # Expires (via ExpiresByType to override global settings)
      ExpiresByType image/gif "access plus 6 months"
      ExpiresByType image/png "access plus 6 months"
      ExpiresByType image/jpg "access plus 6 months"
      ExpiresByType image/jpeg "access plus 6 months"
      ExpiresByType text/css "access plus 6 months"
      ExpiresByType text/html "access plus 6 months"
      ExpiresByType text/xml "access plus 6 months"
      ExpiresByType text/javascript "access plus 6 months"
      ExpiresByType text/x-js "access plus 6 months"
      ExpiresByType application/x-javascript "access plus 6 months"
      ExpiresDefault "access plus 6 months"
      Header append Cache-Control "private"
      Header unset Last-Modified
      Header unset Vary
      # Strip version
      RewriteEngine On
      RewriteRule v=\w+/(.+) $1 [L]
      # Turn off ETag
      Header unset ETag
      FileETag None
      </Location>

      <Location /ox6/ox.html>
      ExpiresByType text/html "now"
      ExpiresDefault "now"
      Header unset Last-Modified
      Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
      # Turn off ETag
      Header unset ETag
      FileETag None
      </Location>

      <Location /ox6/index.html>
      ExpiresByType text/html "now"
      ExpiresDefault "now"
      Header unset Last-Modified
      Header set Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0"
      # Turn off ETag
      Header unset ETag
      FileETag None
      </Location>
      </VirtualHost>


      Thanks and Regards,
      Horst Simon

      Comment


      • #4
        Well, this file does not contain any SSL directive - are you sure this is the one used when accessing the site using SSL?

        Comment

        Working...
        X