Changes

Jump to navigation Jump to search
810 bytes added ,  11:11, 27 June 2015
WIP
Line 7: Line 7:  
===Preperation===
 
===Preperation===
 
====sub domain====
 
====sub domain====
The h5ai indexer does not work with webserver aliases (Ibay used as web content), so we need to create a (sub) domain (Apache virtual host), e.g. files.myserver.com. This domain can be created through the server manager. In this example we will use ''files.myserver.com'', mapped to an ibay called ''depot'', so please create the ibay ''depot'' first and then your domain with the ''depot'' ibay as primary content through server manager.
+
The h5ai indexer does not work with web server aliases (Ibay used as web content), so we need to create a (sub) domain (Apache virtual host), e.g. files.myserver.com. This domain can be created through the server manager. In this example we will use ''files.myserver.com'', mapped to an ibay called ''depot'', so please create the ibay ''depot'' first and then your domain with the ''depot'' ibay as primary content through server manager.
      Line 31: Line 31:  
====Virtual host====
 
====Virtual host====
   −
Once the contrib smeserver-webapps-common has been installed from the FWS repo, we can create the required virtual host as follows:
+
Once the contrib smeserver-webapps-common has been installed from the FWS repo and the custom template ahs been created, we can create the required virtual host as follows:
 
  db domains setprop files.myserver.com TemplatePath WebAppVirtualHost \
 
  db domains setprop files.myserver.com TemplatePath WebAppVirtualHost \
 
  DocumentRoot /home/e-smith/files/ibays/depot/html \
 
  DocumentRoot /home/e-smith/files/ibays/depot/html \
 
  DirectoryIndex /_h5ai/server/php/index.php
 
  DirectoryIndex /_h5ai/server/php/index.php
 +
 +
 +
===h5ai===
 +
Now that all preparations have been done, we can install the h5ai indexer itself. The latest version can be downloaded from [https://release.larsjung.de/h5ai/h5ai-0.27.0.zip '''here''']. The unzipped directory (_h5ai) needs to be placed in the html directory of the ''depot'' ibay and the correct permissions have to be set. So after copying the _h5ai directory into /home/e-smith/files/ibays/depot/html one can set the correct permissions from within the html directory with:
 +
chown -R www:www _h5ai
 +
 +
Once the _h5ai directory is in place, we can now update the apache vrtual host to use the h5ai indexer:
 +
signal-event webapps-update
 +
 +
From here you can visit your new domain ''files.myserver.com'' and see the new indexer in action.
 +
 +
[[Category: Howto]]

Navigation menu