View Full Version : Apache 1.3.31
jeffery
05-16-2004, 11:16 AM
Accidentally found out the apache 1.3.31 was released by custom apache.
For what apache is updated, see here.
http://www.apache.org/dist/httpd/CHANGES_1.3
OK, here we start :
1. First go to directadmin custom apache directory
# cd /usr/local/directadmin/customapache/
2. Clean everything
# ./build clean
3. Update Apache
# ./build update
4. Now we need to edit this file :
# vi configure.apache_ssl
Change to this :
#!/bin/sh
OPTIM="-DHARD_SERVER_LIMIT=32768 -DFD_SETSIZE=32768 " \
EAPI_MM="SYSTEM" \
SSL_BASE="/usr" \
PORTOBJFORMAT=elf \
./configure \
--with-apache=../apache_1.3.31 \
--with-ssl=/usr \
--prefix=/etc/httpd \
--exec-prefix=/etc/httpd \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
:wq
5. Now start recompile
# ./build apache_mod_ssl
6. After recompiled, safely restart apache
# service httpd restart
Finished~
If any problem comes out, I will try my best to answer the basic ones...
Cheers,
Jeffery :D
jlasman
05-16-2004, 11:31 AM
Originally posted by jeffery
Accidentally found out the apache 1.3.31 was released by custom apache.
Are you saying that the custom apache script now automatically loads and builds 1.1.31?
If so, then if it doesn't also automatically update configure.apache_ssl that's got to be classified as a bug.
So we need to get this clarified.
Are you saying it does automatically load and configure 1.3.31, but doesn't fix configure.apache_ssl?
Thanks for any clarification.
Jeff
jeffery
05-16-2004, 11:33 AM
Originally posted by jlasman
Are you saying that the custom apache script now automatically loads and builds 1.1.31?
If so, then if it doesn't also automatically update configure.apache_ssl that's got to be classified as a bug.
So we need to get this clarified.
Are you saying it does automatically load and configure 1.3.31, but doesn't fix configure.apache_ssl?
Thanks for any clarification.
Jeff
Yes, Custom Apache automatically download 1.3.31 and set all thing except the file configure.apache_ssl.
The version no of configure.apache_ssl is 'hardcoded' and so I need to manaully change it. Isn't it classified a bug? :D
jlasman
05-16-2004, 11:38 AM
I'd call it a bug and I'll bring it to John's attention.
Jeff
Thanks for the update..
Did all the changes stated and everything is working fine and updated! :D
Dec
jeffery
05-16-2004, 11:59 AM
Originally posted by dec
Thanks for the update..
Did all the changes stated and everything is working fine and updated! :D
Dec
Yes, including those SSL certificate settings.
It should keep your existing httpd conf(s). ;)
DirectAdmin Support
05-16-2004, 12:05 PM
http://help.directadmin.com/item.php?id=1
jlasman
05-16-2004, 12:08 PM
thanks, John. I printed it out and will file it with my "update stuff".
Jeff
jeffery
05-16-2004, 12:10 PM
Thanks~ John
:cool:
DirectAdmin Support
05-17-2004, 11:05 AM
By the way, the configure.apache_ssl script was not updating the apache version number. The update process for apache included removing the configure.apache_ssl file then doing a "./build update" to get the new one. Jeff sent me an email about this so I just added a bit of perl code to replace older version #'s with the current one so the "rm -f configure.apache_ssl" is no longer required during a "build update" for apache.
John
rhoekman
05-18-2004, 03:50 PM
FYI: Update runs smoothly on FreeBSD 5.2.1
i2iweb
05-25-2004, 03:35 PM
Originally posted by DirectAdmin Support
By the way, the configure.apache_ssl script was not updating the apache version number. The update process for apache included removing the configure.apache_ssl file then doing a "./build update" to get the new one. Jeff sent me an email about this so I just added a bit of perl code to replace older version #'s with the current one so the "rm -f configure.apache_ssl" is no longer required during a "build update" for apache.
John
I followed the build script exactly and the version number on Apache is still showing 1.3.29 even though it shows that everything was updated successfully.
I am using Freebsd 4.9
jeffery
05-26-2004, 01:00 AM
Originally posted by i2iweb
I followed the build script exactly and the version number on Apache is still showing 1.3.29 even though it shows that everything was updated successfully.
I am using Freebsd 4.9
Have you restarted your httpd?
i2iweb
05-26-2004, 08:59 AM
Yep I restarted httpd.
rhoekman
05-26-2004, 09:03 AM
And you did ./build clean ?
i2iweb
05-26-2004, 09:32 AM
I tried building it again to be on the safe side and still the same results. I pasted the output of what I did at the following url below:
Here is what I did (http://www.i2iwebsolutions.com/speedtest/apache_error.htm)
rhoekman
05-26-2004, 09:44 AM
Ok now that is odd.. I did the same thing (though on 5.2.1) and it worked. Might be weird but instead of ./httpd restart try ./httpd stop and after a few seconds ./httpd start and see what the outcome is.
Your problem is all the "Operation not permitted" errors you were getting when it was trying to install ap, apachectl, httpd... You were saying yes to overwrite, but then there was an error about operation not permitted. You need to fix that. Are you doing this as root?
i2iweb
05-26-2004, 10:37 AM
Thanks for the info toml, it works now. When I looked more closely at the permissions errors I realized I forgot to unlock some directories that I had locked down. Thanks all for all your help...
Kevin
santacruz# httpd -v
Server version: Apache/1.3.31 (Unix)
Server built: May 26 2004 11:38:11
LyricTung
05-27-2004, 04:44 PM
Worked like a charm on FreeBSD 4.10
l0rdphi1
05-27-2004, 05:49 PM
Originally posted by DirectAdmin Support
http://help.directadmin.com/item.php?id=1
That worked great for me, minus this:[root@server1 admin]# httpd -v
bash: httpd: command not found
:)
Had to do[root@server1 admin]# /usr/sbin/httpd -v
Server version: Apache/1.3.31 (Unix)
Server built: May 25 2004 22:22:48
Also none of the handy service commands work:[root@server1 admin]# service httpd restart
bash: service: command not found
Have to do:/etc/rc.d/init.d/httpd restart(however I just noticed /sbin/service httpd restart does indeed work.)
I'm on RHEL3.
ProWebUK
05-28-2004, 05:56 PM
How did you login?
if you used su from admin, make sure you use:
su -
NOT
su
Since both httpd and service commands dont work, it seems your paths are incorrect which is what the above would cause ;)
Chris
l0rdphi1
05-28-2004, 06:36 PM
WOW! I never would have guessed that the cause..
Good job! :)
MagnuM
06-04-2004, 03:55 AM
Commands specified at http://help.directadmin.com/item.php?id=1 worked fine form me. My Apache version is now 1.3.31. Thanks, John.
deltaned
06-29-2004, 04:38 AM
Apache 1.3.31 is not OK I read at www.webwereld.nl
(sorry dutch)
Apache 1.3.32 is out now include the patch to fix the securety problem.
Is the update here avalible?
jmstacey
06-29-2004, 04:45 AM
Theres nothing on the apache website about a release
Icheb
06-29-2004, 05:59 AM
Originally posted by jmstacey
Theres nothing on the apache website about a release
Well let's see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0492
Or http://www.apacheweek.com/issues/04-06-11 for the entire story & information.
quote from apacheweek:[br]CAN-2004-0492: Important flaw in mod_proxy
An important security issue was reported in mod_proxy on the 10th June. The Common Vulnerabilities and Exposures project has assigned the name CAN-2004-0492 to this issue.
The flaw affects Apache httpd versions 1.3.26, 1.3.27, 1.3.28, 1.3.29 and 1.3.31 that have mod_proxy enabled and configured. Apache httpd 2.0 and other versions of Apache httpd 1.3 are unaffected.
In default installs of DA, mod_proxy is disabled as far as i know...
So this wouldn't be dangerous for us.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.