Changes

Jump to navigation Jump to search
10 bytes added ,  14:30, 27 June 2015
m
Line 16: Line 16:  
====custom template====
 
====custom template====
 
Once the sub domain and ibay are created and smeserver-webapps-common is installed, we need to create a custom template to add an important directive to the virtual host. Firstly we need to create the template-custom directory:
 
Once the sub domain and ibay are created and smeserver-webapps-common is installed, we need to create a custom template to add an important directive to the virtual host. Firstly we need to create the template-custom directory:
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/httpd/conf/WebappVirtualHost
+
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/WebAppVirtualHost
 
and create the template fragment:
 
and create the template fragment:
  nano -w /etc/e-smith/templates-custom/etc/httpd/httpd/conf/WebappVirtualHost/60DirectoryIndex
+
  nano -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/WebAppVirtualHost/60DirectoryIndex
    
and add the following content and save the file:
 
and add the following content and save the file:

Navigation menu