- Details
- Category: Technology
Today suddenly one of my servers started to alarm from nothing, the database went down and Apache started to fork like crazy. All was chaos in minutes! After looking at what was happening I found that there was a DDoS against one of my websites hosted on that server.
The problem was that Joomla was configured to show the default web page if a 404 answer was sent. This is a good technique if you are looking forward to enhancing the user experience, but in this case, it fired back. Each time the default page was shown, Joomla generated the subsequent SQL queries. And in a massive load, this drives to run out of memory.
- Details
- Category: Technology
HTTP (and HTTPS as well) has a referral header. This header allows the log analyzers to trace where the request is coming from. So, if you need to stop external referrals, this is the way to do it.
Here is my .htaccess file I use:
- Details
- Category: Technology
These are basic requests, but just in case, you must place them. You don't know if the software you are running is buggy.
Here is the .htaccess file I use:
Read more: Block a URL with a Specific Pattern with .htaccess File
- Details
- Category: Technology
It is well known that Google and other search engines give preference to faster sites. There are some techniques to have faster sites, but in this article, I will talk about only one: minimizing the size of your PNG files.
Having a better SEO is a must these days. The file minimization will allow your website to load faster, and as a consequence, it will rank better in the search engines.
Read more: Better SEO by minimizing the size of your PNG files
- Details
- Category: Technology
An inverse proxy is a device that is between your browser and the final web server. As the name says, it works in the inverse way a common proxy does. The main goals of an inverse proxy are to speed up and bring security. Because they don't hold the content, they only take care of some matters such as:
- Caching: inverse proxies can offload your main HTTP servers by frequently serving static content.
- Load balancing: you can have a farm of HTTP servers, and your inverse proxy will do the load balancing among them.
- Anti-DoS: inverse proxies are designed to manage a high load of TCP connections. Therefore, with the right configuration, they are the first line of defence for DoS attacks.
- Authentication (if applicable): you can add security layers to your application.
- Content alteration: you can change something without touching your WEB application.
In this article, I am going to focus on the Caching. As the title says, we are enhancing the SEO ranking.
Read more: Improve your SEO ranking by Configuring an Inverse Proxy