December 2020
« Apr    

File exists: mod_lua: Failed to create shared memory segment on file /tmp/httpd_lua_shm

This is the one strange error I’m getting from one the staging server. When I’m trying to restart the web server , it’s always showing, pid exists. stopped. It’s a kind of weird incident. As far I know that there are some part of Apache module libraries /programs are loaded in memory and Apache service […]

GeoIP : How to manage the web traffic on Amazon loadbalencer or block web accesss to a country

Recently we had an issue with the nodes which added in Loadbalencers due to heavy traffic. Server load become high during the peak time and identified that most of the busy traffic are being used for spamming and marketing purpose. Also we getting many referral traffic from banned countries as showing below,

1. Russia 2. […]

How to force non http request to https using .htaccess

I had a very busy life schedule and so has limited time for improving knowledge session. Here what I’m found useful if you have a need of protecting a website over SSL.

The following rules can serve two purpose,

1. It will re-direct all the non http traffic to https by appending www prefix ( […]

How do I install mod_jk on Apache 2.4 webserver

Today I got a task to host java application on a AWS Linux server. While I’m installing Apache, I found that Apache 2.2 is outdated and it does not have capabilities binding multiple SSL in a single elastic IP ( My projects having 4 SSL sites) and hence I can not use Apache 2.2 on […]

How do I disable RC4 cipher in Apache/ disable RC4 cipher in Amazon load balencer

One of the site security scan report shows me that our webserver has vulnerabilities as it is supporting RC4 cipher in SSL/TLS encryption. So I need to disable it. Google shows me few links how to do it and i’d done it one webservers easily. But still I’m getting same report. I’m running my projects […]

IPtables : Blocking bots/spam attack based on the Log file output

Recently I had a client who wants to move more than 300 domains hosted servers to AWS server. His application uses a product which can serve multiple domains based on the request. After a successful migration, Im noticed that web server is hitting badly and causing server load to become high most of the time. […]