Quantcast
Image

Search Results for: No Limit

How to prevent hotlinking in Apache

By  •  November 28, 2023

Hotlinking, often referred to as bandwidth theft, happens when other websites directly link to images or other media files hosted on your server. This can lead to increased server …
Read More

Understanding Apache web server configuration files

By  •  November 28, 2023

Apache webserver reads its configuration files every time it's started. The configuration files are in plain text format, and Apache will need to restart every time there are changes …
Read More

How to load-test web server using ApacheBench (ab)

By  •  November 28, 2023

Load testing a web server is crucial for assessing how the server behaves under a particular load, especially before deploying it in a live environment. ApacheBench, commonly known as …
Read More

Understanding Apache web server configuration files

By  •  November 28, 2023

Apache webserver reads its configuration files every time it's started. The configuration files are in plain text format, and Apache will need to restart every time there are changes …
Read More

Privacy Policy

By  •  August 31, 2023

Privacy Policy

Last updated: August 31, 2023

This Privacy Policy describes Our policies and procedures on the collection, use and disclosure of Your information when You use the Service and …
Read More

Terms of Service

By  •  August 31, 2023

Terms and Conditions

Last updated: August 31, 2023

Please read these terms and conditions carefully before using Our Service.

Interpretation and Definitions Interpretation

The words of which the initial letter …
Read More

How to load-test web server using ApacheBench (ab)

By  •  July 24, 2023

Load testing a web server is crucial for assessing how the server behaves under a particular load, especially before deploying it in a live environment. ApacheBench, commonly known as …
Read More

How to analyze Apache log for security with Scalp

By  •  May 28, 2023

Scalp! is a log analyzer for the Apache web server that looks for security problems. It reads the Apache log and perform log analysis for possible attacks against rulesets provided by PHP-IDS project. It is available for download from GitHub.

Scalp! is currently written in Python though the writer claims he’s now working on C++ version of it. Current Python can only analyze a maximum of 10000 lines of log, and seems to be a bit slow. The C++ version is aimed to overcome the problems.

When being run without any parameters, Scalp will look for access_log and default_filter.xml files in the current directory, and produce the report to the standard output. access_log is the Apache log file, and default_filter.xml is the filter rules available from the PHPIDS project. Running the program as the following will use the Apache log file at /var/log/apache2/access.log and the PHPIDS ruleset from ~/default_filter.xml;

$ python scalp.py --log /var/log/apache2/access.log --filters ~/default_filter.xml

To overcome the 10000 lines limitation of the program, a Linux program called split can be run as in the example below as a log splitter, and Scalp! is then run against all the splitted log;

$ split -l 10000  /var/log/apache2/access.log

How to recover lost partition table using Ubuntu Live CD and gpart

By  •  May 28, 2023

While there are commercial programs to recover your lost partition table, there are also free alternatives. In this article we’ll cover how to recover your lost partition table with Ubuntu Live CD and gpart.

You’re advised to use the following method due to limitations of gpart (see below) and for being an easier alternative.

gpart is a fairly old program and is no longer supported by it’s original author. It can only detect the following type of partitions;

  • DOS/Windows FAT
  • Linux ext2/swap
  • OS/2 HPFS
  • NTFS
  • FreeBSD and Solaris/x86 disklabels
  • Minix FS
  • QNX 4 FS
  • ReiserFS
  • LVM physical volumes
  • BeOS
  • FS
  • SGI
  • XFS

Follow these detailed step-by-step guide to recover your partition

How to speed up website load time

By  •  December 2, 2021

It is crucial to optimize page load time as it helps with user experience (UX) and conversion. It's also important for SEO with Google now officially using Core Web …
Read More

Top