Changeset 1915
- Timestamp:
- 09/07/07 21:38:02 (6 years ago)
- File:
-
- 1 edited
-
alternc/trunk/install/alternc.install (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/install/alternc.install
r1899 r1915 181 181 # Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias, but apache knows this ... ) 182 182 # well, apache-modconf works like crap in a shell script ... 183 # apache-modconf apache enable mod_vhost_alias quiet </dev/null || true 184 # apache-modconf apache enable `dpkg -l libapache-mod-php*|grep ii | cut -f 3 -d ' '|cut -b 11-18|sed -e 's/-/_/'` quiet </dev/null|| true 185 if ! grep -q "vhost_alias_module" /etc/apache/modules.conf 186 then 187 mv /etc/apache/modules.conf /etc/apache/modules.conf.alternc-dist 188 cat /etc/apache/modules.conf.alternc-dist | sed -e 's/LoadModule config_log_module/LoadModule vhost_alias_module \/usr\/lib\/apache\/1.3\/mod_vhost_alias.so\nLoadModule config_log_module/' > /etc/apache/modules.conf 189 rm /etc/apache/modules.conf.alternc-dist 190 fi 191 if ! grep -q "php5_module" /etc/apache/modules.conf 192 then 193 echo "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so" >>/etc/apache/modules.conf 194 fi 195 if ! grep -q "php5_module" /etc/apache-ssl/modules.conf 196 then 197 echo "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so" >>/etc/apache-ssl/modules.conf 198 fi 199 # We update ucf, that's bad isn't it ? ;) 200 ucf /etc/apache/modules.conf /etc/apache/modules.conf 201 ucf /etc/apache-ssl/modules.conf /etc/apache-ssl/modules.conf 183 apache-modconf apache enable mod_vhost_alias quiet </dev/null || true 184 apache-modconf apache enable `dpkg -l libapache-mod-php*|grep ii | cut -f 3 -d ' '|cut -b 11-18|sed -e 's/-/_/'` quiet </dev/null|| true 185 apache-modconf apache-ssl enable `dpkg -l libapache-mod-php*|grep ii | cut -f 3 -d ' '|cut -b 11-18|sed -e 's/-/_/'` quiet </dev/null|| true 202 186 203 187 # Copy postfix *_checks if they do not exist
Note: See TracChangeset
for help on using the changeset viewer.
