Apache httpd 1.3.36 Released

rpan

Verified User
Joined
Nov 8, 2004
Messages
24
cd /usr/local/directadmin/customapache
wget http://apache.downlod.in/httpd/apache_1.3.36.tar.gz
wget http://www.modssl.org/source/mod_ssl-2.8.27-1.3.36.tar.gz
change the versions in build
./build clean
./build apache_mod_ssl
service httpd restart

Changes with Apache 1.3.36

*) Reverted SVN rev #396294 due to unwanted regression.
The new feature introduced in 1.3.35 (Allow usage of the
"Include" configuration directive within previously "Include"d
files) has been removed in the meantime.
(http://svn.apache.org/viewcvs?rev=396294&view=rev)
 
On freebsd I had to do the following as well to prevent a error.

./configure:Error: The mod_ssl/2.8.27 can be used for Apache/1.3.36 only.

Fix for this is the following:

Code:
perl -pi -e 's/apache_1.3.35/apache_1.3.36/' configure.apache_ssl
 
econcepts said:
I still have the same error... I have Fedora..

Did you run that command while in /usr/local/directadmin/customapache

Basically these are the commands now:

Code:
cd /usr/local/directadmin/customapache
wget "http://apache.downlod.in/httpd/apache_1.3.36.tar.gz"
wget "http://www.modssl.org/source/mod_ssl-2.8.27-1.3.36.tar.gz"
perl -pi -e 's/APACHE_VER=1.3.35/APACHE_VER=1.3.36/' build
perl -pi -e 's/MODSSL_VER=2.8.26/MODSSL_VER=2.8.27/' build
perl -pi -e 's/apache_1.3.35/apache_1.3.36/' configure.apache_ssl
./build clean
./build apache_mod_ssl

# Linux
/sbin/service httpd restart

#Freebsd
/usr/local/etc/rc.d/httpd restart
 
Last edited:
And to add, DA by default isn't setup to work with https.

If you want DA to run securely, you can make the changes shown here. Search the page for Setup SSL Certificates:.

Jeff
 
Here are the exact commands to setup SSL for DirectAdmin

Code:
openssl req -new -x509 -keyout /usr/local/directadmin/conf/cakey.pem.tmp \
      -out /usr/local/directadmin/conf/cacert.pem

openssl rsa -in /usr/local/directadmin/conf/cakey.pem.tmp \
      -out /usr/local/directadmin/conf/cakey.pem

rm /usr/local/directadmin/conf/cakey.pem.tmp

chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem

chmod 400 /usr/local/directadmin/conf/cakey.pem

perl -pi -e 's/SSL=0/SSL=1/' /usr/local/directadmin/conf/directadmin.conf

#Linux
/sbin/service directadmin restart

#FreeBsd
/usr/local/etc/rc.d/directadmin restart
 
mars# openssl req -new -x509 -keyout /usr/local/directadmin/conf/cakey.pem.tmp \
-out /usr/local/directadmin/conf/cacert.pem

? -out /usr/local/directadmin/conf/cacert.pem
Generating a 1024 bit RSA private key
..........++++++
.........................++++++
writing new private key to '/usr/local/directadmin/conf/cakey.pem.tmp'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
Enter PEM pass phrase:
 
Just a note, I had to edit the configure.apache_ssl file and change the apache directory to 1.3.36 also.
 
GXX said:
Just a note, I had to edit the configure.apache_ssl file and change the apache directory to 1.3.36 also.

That is why I reposted all the commands again. You will see like 3 posts down that the commands were re issued.
 
chatwizrd said:
That is why I reposted all the commands again. You will see like 3 posts down that the commands were re issued.

Yup, missed that as I was looking at the OPs instructions.
 
Word to the wise here..

- If you have Ruby w/FastCGI installed, reinstall it after upgrading or HTTPD will fail with Seg Faults on FastCGI...(spent HOURS and HOURS moving sites to another server then discovered that issue).

- Also, I had problems recompiling PHP. Seems that something in my configure.php that i added along the way was causing it to lock up right after it took in PEAR. (I'm thinking it was XML support).

Just some gotcha's to be aware of.
 
I did all as described and update went ok!
But when i do httpd -v i get this .. its telling apache 1.3.34 while i just updated to 1.3.36 ? anyone has noticed ? i did restart apache and all that

[root@fast-xs customapache]# httpd -v
Server version: Apache/1.3.34 (Unix)
Server built: Apr 17 2006 00:14:23
[root@fast-xs customapache]#
 
Back
Top