accidental upgrade to apache 2.0, how to fix

yoyomax

Verified User
Joined
May 7, 2007
Messages
12
I used up2date to upgrade to php 4.3.2.
But it also automatically installed apache 2.0 because of some dependency.
This caused a conflict with the old apache 1.3.33 config files.

How do put the original direct admin apache 1.3.33 back in?

Or what should I change in direct admin so it will create httpd.conf files that are compatible with Apache 2.0?
 
I you want to downgrade, try this:
Code:
rpm -e httpd --force
cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue
rm -f /usr/lib/apache/*
cd /usr/local/directadmin/customapache
./build clean
./build apache_mod_ssl
cp -f /usr/local/directadmin/customapache/httpd /etc/init.d/httpd
chmod 755 /etc/init.d/httpd
/etc/init.d/httpd restart
 
Back
Top