~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to debian/apache2-mpm-prefork.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
#enable cgi, but only on new installs.
9
9
if [ -z "$2" ]; then
10
10
        a2dismod cgid >/dev/null || true
11
 
        a2enmod cgi >/dev/null || echo "It looks like you've deleted /etc/apache2/mods-available/cgi.load, so cgi can not be enabled.  To fix this, please purge and reinstall apache2-common."
 
11
        a2enmod cgi >/dev/null || echo "It looks like you've deleted /etc/apache2/mods-available/cgi.load, so cgi can not be enabled.  To fix this, please purge and reinstall apache2.2-common."
12
12
fi
13
13
 
 
14
# Migrate our kill symlinks, including ones the user may have done an s/S/K/ to:
 
15
for i in `seq 0 6`; do
 
16
        if [ -L /etc/rc"$i".d/K91apache2 ]; then
 
17
                mv /etc/rc"$i".d/K91apache2 \
 
18
                   /etc/rc"$i".d/K09apache2
 
19
        fi
 
20
done
 
21
 
14
22
if [ -x "/etc/init.d/apache2" ]; then
15
 
        update-rc.d apache2 defaults 91 >/dev/null
 
23
        update-rc.d apache2 defaults 91 09 >/dev/null
16
24
        if [ -x /usr/sbin/invoke-rc.d ]; then
17
25
                invoke-rc.d apache2 start ||true
18
26
        else