Exporting SSL certificates from Windows to Linux 23 March 2007·Updated: 14 May 2024·504 words·3 mins First, you have to get the certificate and key out of Windows in a pfx (PKCS #12) format.
Forcing HTTPS (SSL) with mod_rewrite 21 March 2007·Updated: 14 May 2024·59 words·1 min If you can’t use PHP to force HTTPS, you can use mod_rewrite instead.
Forcing HTTPS with PHP 21 March 2007·Updated: 14 May 2024·22 words·1 min To force HTTPS with a PHP script, just put this snippet near the top:
AWStats icons don’t appear in Plesk 8.1 18 March 2007·Updated: 14 May 2024·40 words·1 min The AWStats package in RHEL4/Centos4 and Plesk 8.
Quick and fancy mail blacklist checking 12 March 2007·Updated: 14 May 2024·68 words·1 min I rarely try to toot my own horn, but I’ve created a pretty handy site.
Disabling SSLv2 in Plesk 27 February 2007·Updated: 14 May 2024·59 words·1 min To disable SSLv2 server-wide on a Plesk server, add this in your /etc/httpd/conf.
Hide Apache Version 23 February 2007·Updated: 14 May 2024·23 words·1 min If you want to hide the current version of Apache and your OS, just replace
Rewrite for certain IP addresses 8 February 2007·Updated: 14 May 2024·21 words·1 min Need to redirect all users except for yourself to another site until yours is live?
Make Apache logs mimic IIS 29 January 2007·Updated: 14 May 2024·31 words·1 min To make Apache write logs similar to IIS, toss this into your Apache configuration:
Enabling CGI in Apache virtual hosts 26 January 2007·Updated: 14 May 2024·64 words·1 min Add this to the Apache configuration:
Verify that SSLv2 is disabled 24 January 2007·Updated: 14 May 2024·74 words·1 min If you’re looking to get PCI/CISP compliance, or you just like better security, disable SSL version 2.
Can’t upload large files in PHP 24 January 2007·Updated: 14 May 2024·25 words·1 min First, check max_upload_size in php.
Strip off www from URLs with mod_rewrite 15 January 2007·Updated: 14 May 2024·56 words·1 min If 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 Logs 15 January 2007·Updated: 14 May 2024·34 words·1 min If 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_path 27 December 2006·Updated: 14 May 2024·26 words·1 min Add this to the virtual host configuration if PHPLive says it has no session.
Raising MaxClients? Change ServerLimit. 27 December 2006·Updated: 14 May 2024·114 words·1 min Remember, if you raise MaxClients for an MPM in Apache, you must raise the ServerLimit directive, which is normally set to 256 on most servers.