Changes

Jump to navigation Jump to search
39 bytes removed ,  22:28, 30 June 2015
m
WIP
Line 23: Line 23:     
====Virtual host====
 
====Virtual host====
Once the contrib smeserver-webapps-common has been installed from the FWS repo and the custom template has been created, we can create the required virtual host as follows:
+
Once the contrib smeserver-webapps-common has been installed from the FWS repo, we can create the required virtual host as follows:
 
  db domains set files.myserver.com domain TemplatePath WebAppVirtualHost \
 
  db domains set files.myserver.com domain TemplatePath WebAppVirtualHost \
 
  DocumentRoot /home/e-smith/files/ibays/depot/html DirectoryIndex /_h5ai/server/php/index.php
 
  DocumentRoot /home/e-smith/files/ibays/depot/html DirectoryIndex /_h5ai/server/php/index.php
Line 32: Line 32:  
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:
 
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
 
  chown -R www:www _h5ai
and remove any other index.xxx file that is curently present in the html directory.
+
and remove any other index.xxx file that is currently present in the html directory.
    
Once the _h5ai directory is in place, we can now update the apache virtual host to use the h5ai indexer:
 
Once the _h5ai directory is in place, we can now update the apache virtual host to use the h5ai indexer:
 
  signal-event webapps-update
 
  signal-event webapps-update
   −
From here you can visit your new domain ''http://files.myserver.com'' and see the new indexer in action. Everything you upload to the ''depot'' ibay will be shown by the h5ai indexer, including subdirectories like in the screenshot above.
+
From here you can visit your new domain ''http://files.myserver.com'' and see the new indexer in action. Everything you upload to the ''depot'' ibay will be shown by the h5ai indexer, including sub directories like in the screenshot above.
     

Navigation menu