Tag: Apache
Updating Apache to the latest version
by admin on May.12, 2012, under DirectAdmin
You can check the current version of apache by running
httpd -v
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" instead 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:
RedHat:
/sbin/service httpd restart
FreeBSD:
/usr/local/etc/rc.d/httpd restart
Showing files in a directory
by admin on May.07, 2012, under DirectAdmin
If you want to list all files in a directory that doesn’t use an index.html (or index.php) file, you can create an .htaccess file with the following contents:
Options +Indexes
This will tell apache that you want to list all files in the directory.
Updating Apache to the latest version
by admin on May.06, 2012, under DirectAdmin
You can check the current version of apache by running
httpd -v
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" instead 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:
RedHat:
/sbin/service httpd restart
FreeBSD:
/usr/local/etc/rc.d/httpd restart
LAMPP
by admin on Apr.30, 2012, under News
LAMP is a popular open source web platform commonly used to run dynamic web sites and servers. It includes Linux, Apache, MySQL, and PHP/Python/Perl and is considered by many the platform of choice for development and deployment of high performance web applications which require a solid and reliable foundation.
This appliance includes all the standard features in TurnKey Core, and on top of that:
SSL support out of the box.
PHP, Python and Perl support for Apache2 and MySQL.
PHPMyAdmin administration frontend for MySQL (listening on port 12322 – uses SSL).
Postfix MTA (bound to localhost) to allow sending of email from web applications (e.g., password recovery)
Webmin modules for configuring Apache2, PHP, MySQL and Postfix.
A separate LAPP stack appliance features PostgreSQL instead of MySQL.
this program also available on our VPS images.
How to disable SSL2.0 in apache
by admin on Apr.29, 2012, under DirectAdmin
To disable the SSL2.0 protocol (thus forcing 3.0),
for apache 1.3, find the line:
#SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
and change it to:
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP:+eNULL
Note the 2 changes: a) remove the # character at the beginning of the line, and b) change +SSLv2 to !SSLv2
For apache 2.x, do the same thing, but instead it will be in the /etc/httpd/conf/ssl.conf file, or for the new apache system, /etc/httpd/conf/extra/httpd-ssl.conf (if you have both files, just change it in both).
