AppSuite:Parallel UISupport OX6 AppSuite Debian 6.0: Difference between revisions

From Open-Xchange
No edit summary
Line 1: Line 1:
= Add OX6 GUI to Appsuite installation =
= Add OX6 UI to OX App Suite Installation =


This short document outlines the steps required to add an OX6 GUI to an Appsuite installation.
This short document outlines the steps required to add an OX6 UI to an OX App Suite installation.


This procedure has been verified using an Appsuite 7.0.0 installation and an OX6 GUI from OX 6.22.1.
This procedure has been verified using an OX App Suite v7.0.1 installation and an OX6 UI from OX v6.22.1.


= Add OX6 Frontend Repo to sources.list =
= Add OX6 Frontend Repo to sources.list =
Line 11: Line 11:
  deb http://software.open-xchange.com/OX6/6.22/frontend/DebianSqueeze/ /
  deb http://software.open-xchange.com/OX6/6.22/frontend/DebianSqueeze/ /


= Install OX6 GUI Packages =
= Install OX6 UI Packages =


  # apt-get install open-xchange-gui
  # apt-get install open-xchange-gui
Line 17: Line 17:
= Adjust apache's <code>/etc/apache2/sites-available/default</code> file =
= Adjust apache's <code>/etc/apache2/sites-available/default</code> file =


Basically you need to merge the Appsuite and OX6 versions of this file. A working sample is given in the following.
Basically you need to merge the OX App Suite and OX6 versions of this file. A working sample is given in the following.


  # /etc/apache2/sites-available/default
  # /etc/apache2/sites-available/default
Line 107: Line 107:


The <code>/etc/apache2/conf.d/proxy_ajp.conf</code> file should not require any adjustment.
The <code>/etc/apache2/conf.d/proxy_ajp.conf</code> file should not require any adjustment.
That's it.

Revision as of 10:34, 18 February 2013

Add OX6 UI to OX App Suite Installation

This short document outlines the steps required to add an OX6 UI to an OX App Suite installation.

This procedure has been verified using an OX App Suite v7.0.1 installation and an OX6 UI from OX v6.22.1.

Add OX6 Frontend Repo to sources.list

E.g.

deb http://software.open-xchange.com/OX6/6.22/frontend/DebianSqueeze/ /

Install OX6 UI Packages

# apt-get install open-xchange-gui

Adjust apache's /etc/apache2/sites-available/default file

Basically you need to merge the OX App Suite and OX6 versions of this file. A working sample is given in the following.

# /etc/apache2/sites-available/default
<VirtualHost *:80>
       ServerAdmin webmaster@localhost
 
       DocumentRoot /var/www/
 
       <Directory /var/www/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride None
               Order allow,deny
               allow from all
               RedirectMatch ^/$ /appsuite/
       </Directory>
 
       <Directory /var/www//appsuite>
               Options None +SymLinksIfOwnerMatch
               AllowOverride Indexes FileInfo
       </Directory>
 
       ErrorLog ${APACHE_LOG_DIR}/error.log
 
       # Possible values include: debug, info, notice, warn, error, crit,
       # alert, emerg.
       LogLevel warn
 
       CustomLog ${APACHE_LOG_DIR}/access.log combined
 
       # 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
       AddType text/plain .po
 
       AddEncoding 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>

The /etc/apache2/conf.d/proxy_ajp.conf file should not require any adjustment.