Updating Apache to the latest version in DirectAdmin
If you wish to update your 1.3 version of apache to the most recent, run the following:
cd /usr/local/directadmin/customapache
./build clean
./build update
./build apache_mod_ssl
If you’re using apache 2.x, use “./build apache_2″ isntead of apache_mod_ssl.
This should update both the configure options and the version of apache to the most recent version. Once the update has completed, you’ll need to restart apache:
You can check the current version of apache by running
Restart Apache.
/sbin/service httpd restart
Source : http://directadmin.com/
Hide apache web server version
It is possible to hide apache web server version and other information. This is done for security reasons. It is not a good idea to broadcast the version of the software that you are running on the server. You should have noticed the following details(or something similar) when an error page is displayed.
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at XXX.com Port 80
Add/Edit the two entries in the apache configuration file(httpd.conf)
ServerSignature Off
ServerTokens Prod
ServerSignature Off : tells apache not to display the server version on error pages, or other pages it generates.
ServerTokens Prod : tells apache to only return Apache in the Server header, returned on every page request.
Restart the webserver.
Find Ensim Version
To find the Parallels (Ensim) Pro appliance version, run the following command as root user.
A output of the command looks like CPVersion-OSVersion. For example, 10.2.0-fc.6.5 means, control panel version 10.2.0 is installed on a Fedora Core 6 server.
Another alternate method is to check the file at /usr/lib/opcenter/VERSION
$ cat /usr/lib/opcenter/VERSION