Exporting SSL certificates from Windows to Linux23 March 2007·504 words·3 minsFirst, you have to get the certificate and key out of Windows in a pfx (PKCS #12) format.
Forcing HTTPS (SSL) with mod_rewrite21 March 2007·59 words·1 minIf you can’t use PHP to force HTTPS, you can use mod_rewrite instead.
Forcing HTTPS with PHP21 March 2007·22 words·1 minTo force HTTPS with a PHP script, just put this snippet near the top:
AWStats icons don’t appear in Plesk 8.118 March 2007·40 words·1 minThe AWStats package in RHEL4/Centos4 and Plesk 8.
Quick and fancy mail blacklist checking12 March 2007·68 words·1 minI rarely try to toot my own horn, but I’ve created a pretty handy site.
Disabling SSLv2 in Plesk27 February 2007·59 words·1 minTo disable SSLv2 server-wide on a Plesk server, add this in your /etc/httpd/conf.
Hide Apache Version23 February 2007·23 words·1 minIf you want to hide the current version of Apache and your OS, just replace
Rewrite for certain IP addresses8 February 2007·21 words·1 minNeed to redirect all users except for yourself to another site until yours is live?
Make Apache logs mimic IIS29 January 2007·31 words·1 minTo make Apache write logs similar to IIS, toss this into your Apache configuration:
Enabling CGI in Apache virtual hosts26 January 2007·64 words·1 minAdd this to the Apache configuration:
Verify that SSLv2 is disabled24 January 2007·74 words·1 minIf you’re looking to get PCI/CISP compliance, or you just like better security, disable SSL version 2.
Strip off www from URLs with mod_rewrite15 January 2007·56 words·1 minIf you need to remove subdomains from the URL that users enter to visit your website, toss this into your VirtualHost directive:
Sum Apache Bandwidth From Logs15 January 2007·34 words·1 minIf you’re not a fan of scientific notation, use this to calculate the apache bandwidth used from log files in MB:
PHPLive Has No session.save_path27 December 2006·26 words·1 minAdd this to the virtual host configuration if PHPLive says it has no session.
Raising MaxClients? Change ServerLimit.27 December 2006·114 words·1 minRemember, if you raise MaxClients for an MPM in Apache, you must raise the ServerLimit directive, which is normally set to 256 on most servers.