Commit a013e856 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add A2ENMOD/A2DISMOD support

parent 3358139a
...@@ -23,3 +23,6 @@ BASEIP=192.168.0 ...@@ -23,3 +23,6 @@ BASEIP=192.168.0
# must have services # must have services
SERVICES="crond" SERVICES="crond"
A2ENMOD="mod_php7 status mpm_itk remoteip setenvif rewrite session include"
# A2DISMOD=
...@@ -150,12 +150,12 @@ tune_php() ...@@ -150,12 +150,12 @@ tune_php()
tune_apache2() tune_apache2()
{ {
for i in mod_php7 status mpm_itk remoteip setenvif rewrite session include ; do for i in $A2ENMOD ; do
a2enmod $i a2enmod $i
done done
#for i in include; do for i in $A2DISMOD; do
# a2dismod $i a2dismod $i
#done done
for i in httpd-multilang-errordoc ; do for i in httpd-multilang-errordoc ; do
a2disextra $i a2disextra $i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment