Tag: Apache

Apache Error: “semget: No space left on device”

5 July 2015

Apache Error: “semget: No space left on device” If Apache fails, and will not successfully start again, check the error log. If you see an error similar to the following, it could indicate that your server has run out of semaphores. semget: No space left on device To see how many semaphores are being used, SSH to […]

Bad Bot Blocker

16 August 2014

Bad Bot Blocker 223 Apache htaccess rules to block bad bots. Bad bots are defined as: E-mail harvesters Content scrapers Spam bots Vulnerability scanners Aggressive bots that provide little value Bots linked to viruses or malware Government surveillance bots Russian search engine Yandex Chinese search engine Baidu Yandex/Baidu Unless your website is written in Russian […]

Strong Ciphers for Apache, nginx and Lighttpd

4 July 2014

Strong Ciphers for Apache, nginx and Lighttpd Why? The above ciphers are Copy Pastable in your nginx, Lighttpd or Apache config. These provide Strong SSL Security for all modern browsers, plus you get an A+ on the SSL Labs Test. In short, they set a strong Forward Secrecy enabled ciphersuite, they disable SSLv2 and SSLv3, add […]

Subfolder to Subdomain with .htaccess

10 September 2013

Convert Subfolder to Subdomain with .htaccess For Example, if you have your url is “http://domain.com/sexy/” and “http://domain.com/files” but you want to convert them all to subdomain too. such as “http://sexy.domain.com” and “http://files.domain.com”. The easiest way to convert folder to subdomain is to use .htaccess, Reconfigured your ServerAlias in Apache Virtual host and add a wildcard A […]