Changes

From SME Server
Jump to navigationJump to search
120 bytes added ,  12:57, 3 January 2016
m
Line 34: Line 34:  
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
  mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
  cp /etc/httpd/conf.d/zoneminder.conf /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 
  cp /etc/httpd/conf.d/zoneminder.conf /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98zoneminder
 +
sed -i "18i AddType application/x-httpd-php .php" /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/92zoneminder
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
 
  service httpd-e-smith restart
 
  service httpd-e-smith restart

Navigation menu