Changes

From SME Server
Jump to navigationJump to search
5 bytes added ,  11:58, 30 June 2015
m
formatting
Line 15: Line 15:  
* create an ibay with php execution enabled
 
* create an ibay with php execution enabled
 
* create a new domain in server manager where the content points to the created ibay
 
* create a new domain in server manager where the content points to the created ibay
 +
    
====webapps common====
 
====webapps common====
 
The ''easy'' way to create and manage virtual hosts is using the contrib [[Webapps-common|'''smeserver-webapps-common''']] from the FWS repository so this repo needs to be enabled first. Please see [[fws |'''here''']] on how to enable the FWS repository. Once enabled, the contrib can be installed as follows:
 
The ''easy'' way to create and manage virtual hosts is using the contrib [[Webapps-common|'''smeserver-webapps-common''']] from the FWS repository so this repo needs to be enabled first. Please see [[fws |'''here''']] on how to enable the FWS repository. Once enabled, the contrib can be installed as follows:
 
  yum install smeserver-webapps-common --enablerepo=fws
 
  yum install smeserver-webapps-common --enablerepo=fws
 +
    
====custom template====
 
====custom template====
Line 34: Line 36:  
  }
 
  }
 
  }
 
  }
 +
    
====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 and the custom template has been created, 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
 +
    
===h5ai===
 
===h5ai===
Line 49: Line 52:     
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 subdirectories like in the screenshot above.
 +
    
==Configuration==
 
==Configuration==
Line 56: Line 60:  
For displaying video, ''ffmpeg'' is required. ffmpeg is available from the [[ATrpms | '''ATrpms''']] repository. Please see the [[ATrpms | '''ATrpms''']] page on how to enable this repo. Once enabled, ffmpeg can be installed with:
 
For displaying video, ''ffmpeg'' is required. ffmpeg is available from the [[ATrpms | '''ATrpms''']] repository. Please see the [[ATrpms | '''ATrpms''']] page on how to enable this repo. Once enabled, ffmpeg can be installed with:
 
  yum install ffmpeg --enablerepo=atrpms
 
  yum install ffmpeg --enablerepo=atrpms
 +
    
===Combinations===
 
===Combinations===

Navigation menu