Ignore:
Timestamp:
03/07/11 09:31:46 (4 years ago)
Author:
fufroma
Message:

Des morceaux de Apache1 qui restaient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • alternc/trunk/install/alternc.install

    r2855 r2866  
    193193php="`ls /usr/lib/apache*/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1`" 
    194194ln -fs /etc/alternc/alternc.ini /etc/$php/conf.d/alternc.ini || true 
    195 if [ -x /usr/sbin/apache ] 
    196 then 
    197     # Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias) 
    198     if ! grep -q "vhost_alias_module" /etc/apache/modules.conf 
    199     then 
    200         sed -i -e 's/^\(LoadModule.*config_log.*\)$/LoadModule vhost_alias_module \/usr\/lib\/apache\/1.3\/mod_vhost_alias.so\n\1/' /etc/apache/modules.conf 
    201     fi 
    202     echo "LoadModule ${php}_module /usr/lib/apache/1.3/lib${php}.so" | append_no_dupe /etc/apache/modules.conf 
    203     echo "LoadModule ${php}_module /usr/lib/apache/1.3/lib${php}.so" | append_no_dupe /etc/apache-ssl/modules.conf 
    204  
    205     if [ ! -h /etc/apache-ssl/conf.d/alternc.conf ] && [ -e /etc/apache-ssl/conf.d/ ]; then 
    206             ln -sf /etc/alternc/apache-ssl.conf /etc/apache-ssl/conf.d/alternc.conf 
    207     fi 
    208  
    209     if [ ! -h /etc/apache/conf.d/alternc.conf ] && [ -e /etc/apache/conf.d/ ]; then 
    210             ln -sf /etc/alternc/apache.conf /etc/apache/conf.d/alternc.conf 
    211     fi 
    212  
    213     SERVICES="$SERVICES apache apache-ssl" 
    214 fi 
    215195if [ -x /usr/sbin/apache2 ]; then 
    216196    s="" 
Note: See TracChangeset for help on using the changeset viewer.