source: npl/internetserver/apache_conf/root/etc/postinst.d/post.apache_conf

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 637 bytes
Line 
1#!/bin/bash
2
3# verplaats de config naar /home/system, zodat deze meegenomen word in backups
4if ! [ -L /etc/apache2 ]; then
5        mkdir -p /home/system/apache2
6        cp -a /etc/apache2/* /home/system/apache2 || exit 1
7        rm -r /etc/apache2 || exit 1
8        ln -s /home/system/apache2 /etc/apache2 || exit 1
9fi
10
11#removed, we use modrewrite for this
12rm /etc/apache2/conf.d/httpd-userdir.conf
13
14#no longer needed
15rm /etc/apache2/conf.d/mod_jk.conf
16
17#cleanup old stuff:
18rm /etc/php5/pdo_mysql.ini /etc/php5/bcompiler.ini  2>/dev/null
19rm -rf /usr/php5/extensions/no-debug-non-zts-20060613/ /usr/php5/extensions/no-debug-non-zts-20090626/ 2>/dev/null
20
21
22exit 0
23
Note: See TracBrowser for help on using the repository browser.