Explore information related to apache

Litespeed vs Nginx which is more efficient

This article will guide you about LiteSpeed vs Nginx on a performance basis. Basically,  LiteSpeed web server is much better in performance than the #NGINX server. 

However, it has not yet gained much popularity when compared to NGINX.

1. #LiteSpeed and Nginx use an event-driven architecture. 

2. Both are really good at serving static files, uses dramatically less memory and can handle more than four times more requests per second when compared to Apache.

3. HTTP/2 performance is a crucial metric for any modern web server. 

4. LiteSpeed takes HTTP/2 performance seriously with improvements.

Read More



OpenLDAP and phpLDAPadmin on Linux

This article will guide you on how to install #OpenLDAP and phpLDAPadmin on #Ubuntu. Also, we covered the prospective error affacting OpenLDAP and phpLDAPadmin and its solution as well.

#LDAP (Lightweight Directory Access Protocol) is an open and cross platform protocol used for directory services authentication. LDAP provides the communication language that applications use to communicate with other directory services servers.

#Kerberos is used to manage credentials securely (authentication) while LDAP is used for holding authoritative information about the accounts, such as what they're allowed to access (authorization), the user's full name and uid.

To access #phpLDAPadmin:

Point your browser to http://IP_OF_SERVER/phpldapadmin (IP_OF_SERVER is the actual IP address of your LDAP server). 

From the main window, click the login button in the left pane. 

When prompted, you will log into your DN and enter the password for the admin user created during the slapd reconfiguration.

Read More



MySQL error log cPanel

This article will guide you on more information about MySQL error logs and methods to resolve its errors. 

You will learn how to fix MySQL errors, crashes and other unexpected behavior from #MySQL. 

To view mysql error logs:

1. edit /etc/my.cnf [mysqld] log=/tmp/mysql.log.

2. restart the computer or the mysqld service service mysqld restart.

3. open phpmyadmin/any application that uses mysql/mysql console and run a query.

4. cat /tmp/mysql.log ( you should see the query ).

To Clear cPanel Error Log:

1. Login to your server using an #SSH client.

2. To clear the #Apache #errors, type the following and press Enter. cat /dev/null> /usr/local/apache/logs/error_log.

3. To delete PHP error_log files, type the following and press Enter. find /home -type f -name error_log -delete.

Read More



Deploy PHP application with Kubernetes on Ubuntu

This article will guide you on steps to deploy #PHP application with Kubernetes on #Ubuntu. 

Kubernetes, at its basic level, is a system for running and coordinating containerized applications across a cluster of machines. 

It is a platform designed to completely manage the life cycle of containerized applications and services using methods that provide predictability, scalability, and high availability.

#Kubernetes really shines when your #application consists of multiple services running in different containers.

Kubernetes, also referred to as K8s, is an open source system used to manage Linux Containers across private, public and hybrid cloud environments. 

In other words, Kubernetes can be used to manage microservice architectures and is deployable on most cloud providers.

Read More



Laravel error 403

This article will guide you on tips to resolve Laravel error 403 which occurs mainly due to bad permissions, improper ownerships and incorrect .htaccess file. 

The 403 Forbidden error is an #HTTP status code which means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason. 

To fix #WordPress #403 #forbidden #error:

1. Create a Backup. Most of the time, you are not responsible for the errors that occur on your WordPress website hosting server.

2. Check . htaccess File.

3. Deactivate All Plugins. Login to your WordPress admin dashboard and navigate to Plugins - Installed Plugins.

Read More



Logging in Apache More about it

The Apache access logs stores information about events that occurred on your #Apache web #server. Apache web servers also provide administrators with another type of log file called error logs. 

The Apache error log has a logging level that filters the messages sent to the log. Apache #logs nothing for a single page request in warn level.

This log file is used to provide more information regarding a particular error that has occurred on the web server.

By default, you can find the Apache #access log file at the following path:

i. /var/log/apache/access. log.

ii. /var/log/apache2/access. log.

iii. /etc/httpd/logs/access_log.

To enable the Apache #HTTP access logs:

1. Open the Apache HTTP configuration at /Applications/MAMP/conf/apache/httpd.conf.

2. Find this line.

3. Change the line.

4. Restart Apache using the MAMP widgit.

5. Now, view your new logfiles!

Read More



More about Engintron cPanel

This article will guide you on how to #install #Engintron in #cPanel & fix relating #errors.  Engintron is a third-party plugin to integrate Nginx on cPanel servers. 

Engintron integrates Nginx into cPanel so you can enjoy amazing performance for your sites, without having to sacrifice important hosting features found in cPanel.

Engintron is totally free to use!

The way Engintron sets up Nginx inside your cPanel is a lot like how the popular #CloudFlare CDN works. Nginx (like CloudFlare) directly serves all static content like CSS, JS, images etc. instead of your actual web server, thus lowering the load on your cPanel server.


Engintron is the easiest way to integrate Nginx to your cPanel server:

1. Installation process is not very complicated for Engintron. 

2. Also, installation and updates are very fast, they take only a few seconds. 

3. Engintron is using the official repositories for Nginx, all Engintron software is updated whenever cPanel is updated. If something has changed on Engintron and you need to re-install it, you can install it on top of the previous installation. You don't need to uninstall it first like other Nginx installer plugins for cPanel. It works from CentOS 5 up to CentOS 7. Engintron has an app dashboard inside WHM. 

4. The interface has basic controls for Nginx, Apache, MySQL. These controls allow you to edit various configuration files. Inside the Engintron app dashboard you’ll also find some utilities to monitor things like Nginx access & error logs, check processes on your server or see incoming traffic on port 80. It doesn’t require Nginx or Apache host synchronization when adding new domains via cPanel. 

5. Also, Engintron is released under the GNU/GPL license and is 100% open source.

Read More



Configure and host an application in Apache web server on Ubuntu

This article will guide you on how to configure #Apache on #Linux. This includes #firewall configuration, managing Apache services, setting up virtual hosts, changing default listening ports, and allowing/denying specific IPs from accessing the #sites.
Apache #HTTP Server is a free and open-source web server that delivers web content through the internet. It is commonly referred to as Apache and after development, it quickly became the most popular HTTP client on the web.
The httpd. conf file is the main configuration file for the Apache web server. It's highly recommended to run Apache in standalone type for better performance and speed. ServerRoot "/etc/httpd" The option ServerRoot specifies the directory in which the configuration files of the Apache server lives.
On most systems if you installed Apache with a package manager, or it came preinstalled, the Apache configuration file is located in one of these locations:
1. /etc/apache2/httpd. conf.
2. /etc/apache2/apache2. conf.
3. /etc/httpd/httpd. conf.
4. /etc/httpd/conf/httpd. conf.

Read More



HTTP Flood DDOS Attack How to Mitigate the attack

This article will guide you on how to recover from DDoS attacks. Basically, protecting the web server against #DDoS #attacks is important. You can apply these measures to mitigate the error from causing troubles.

DNS #flood is a type of Distributed Denial of Service (DDoS) attack in which the attacker targets one or more Domain Name System (#DNS) servers belonging to a given zone, attempting to hamper resolution of resource records of that zone and its sub-zones.

To prevent DDoS attacks:

1. Buy more bandwidth. 

2. Build redundancy into your infrastructure. 

3. Configure your network hardware against DDoS attacks. 

4. Deploy anti-DDoS hardware and #software #modules. 

5. Deploy a DDoS protection appliance. 

6. Protect your DNS servers.

Read More



Deploy Multiple WordPress Applications On Ubuntu

This article will guide you on how to deploy multiple #WordPress applications on #Ubuntu with #Docker.
Docker is a #tool designed to make it easier to create, deploy, and run applications by using #containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other #dependencies, and ship it all out as one package.
The Objectives to deploy a docker container:
1. Package a sample web application into a Docker #image.
2. Upload the Docker image to Container #Registry.
3. Create a GKE #cluster.
4. Deploy the sample #app to the cluster.
5. Manage autoscaling for the deployment.
6. Expose the sample app to the internet.
7. Deploy a new version of the sample app.

Read More



Deploy Node js Application to DigitalOcean Server

This article will guide you on how to  deploy node.js application to #DigitalOcean Server.  

To Deploying #Node . js application to DigitalOcean — Setting up the #server:

1. Getting familiar with Digital Ocean and creating your first #droplet.

2. Setting up #SSH and connecting to your server from your local #machine.

3. Setting up a simple Express.js web-server in local machine.

4. Using #Git to deploy your code to server.

Read More



Plesk DNN install Service Unavailable error

This article will guide you on how to install DNN for our customers. In order to fix the Service Unavailable Error we should check whether the Dedicated application pool option is enabled in Plesk before DNN install.

A 503 Service Unavailable Error is an HTTP response status code indicating that a server is temporarily unable to handle the request. This may be due to the server being overloaded or down for maintenance.

Read More



Directadmin Unable to write users httpd conf configuration

This article will guide you on how to fix the #error, Unable to write user's httpd.conf in Directadmin which occurs when we try to add a #domain in #DirectAdmin. 

The httpd. conf file is the main configuration file for the Apache web server. It's highly recommended to run Apache in standalone type for better performance and speed. ServerRoot "/etc/httpd" The option ServerRoot specifies the directory in which the configuration files of the Apache server lives.

Before you edit httpd.conf, you should first copy the original file to something like httpd.conf-old, for example. 

By creating a #backup, you can recover potential mistakes made while editing the new configuration file.

Read More



Ansible for launching AWS EC2 instances

This article will guide you on how to use #Ansible to launch AWS EC2 instances, security group, and RDS.

First, you're limiting the scope of the playbook to the local #hosts #group. It contains localhost and this is the way Ansible will work with #EC2 instances. Behind the scenes, Ansible connects to Python boto on the local machine and use to establish connection with the AWS #API and issue the necessary #commands.

Then we specify the name of the security group that Ansible will create for us. A security group is like a virtual firewall that must be created for your EC2 instances. If you already have one created, you can associate it with the new EC2 instance. In our case, we’ll be creating a new one from scratch.

Read More



Cloudflare error 504 gateway timeout

This article will guide you on different methods to troubleshoot and fix #Cloudflare 504 gateway timeout error.

The #504 #Gateway #Timeout #error is an #HTTP status code means that one server did not receive a timely response from another server that it was accessing while attempting to load the web page. This usually occurs when one of the two servers is down or not working properly.

To Fix 504 Gateway Timeout Errors:

1. Look for server connectivity issues.

2. Check for any #DNS changes.

3. Sift through your #logs.

4. Fix faulty #firewall configurations.

5. Comb through your website's code to find bugs.

Read More



Apache Performance Tuning via MPM Directives

This guide will help you to configure #MPM directives in the #Apache server. You can simply configure MPM #directives by logging into the server and create an optimization file and add the necessary directive change. 

Starting with Apache 2.0, Apache extended its features with a selection of Multi-Processing Modules (#MPMs), which are responsible for binding to #network ports on the machine, accepting and handling the requests. These modules determine the basis of how Apache addresses multi-processing.

To know which MPM Apache is using:

1. Enable Apache mod_info.

2. Query the mod_info url, typically curl localhost/server-info.

3. The "Server Settings" section will show "MPM Name: #Worker"

4. Run httpd -V again. It will still show prefork, not worker.

Read More



Setting up OCSP stapling on Apache

This article will guide you on how to configure OCSP stapling on the Apache server.

To Check if #OCSP #stapling is enabled:

Go to https://www.digicert.com/help and in the Server Address box, type in your server address (i.e. www.ibmimedia.com). If OCSP stapling is enabled, under #SSL Certificate has not been revoked, to the right of OCSP Staple, it says Good.

To Configure your Apache server to use OCSP Stapling:

1. Edit your site's #VirtualHost SSL configuration. 

2. Add the following line INSIDE the <VirtualHost></VirtualHost> block: SSLUseStapling on. 

3. Check the configuration for errors with the Apache Control service. Apachectl -t.

4. Reload the Apache service. service apache2 reload.

Read More



Apache Maven on Ubuntu Steps to install it

This article will guide you on how to #install #Apache #Maven on Ubuntu. Basically, Apache Maven is a popular build management tool for #Java projects. 

To test The Maven Installation in #Ubuntu:

Run the command mvn -version to check if the maven is installed properly. 

You will see the below description on the command prompt. Maven is installed successfully.

Some Maven #Commands:

1. mvn clean. This command cleans the maven project by deleting the target directory. 

2. mvn compiler:compile. This command compiles the java source classes of the maven project. 

3. mvn compiler:testCompile. 

4. mvn package. 

5. mvn install. 

6. mvn deploy. 

7. mvn validate. 

8. mvn dependency:tree.

Read More



VirtualHost cannot occur within virtualhost section in WAMP

This article will guide on steps to fix #VirtualHost cannot occur within virtualhost section in #WAMP which occurs while we try to add VirtualHost #directive and reconfigure #vhost.

Directory directive works only for filesystem objects (e.g. /var/www/mypage, C:\www\mypage), while Location directive works only for URLs (the part after your site #domain name, e.g. www.mypage.com/mylocation).

To Configure name-based virtual #hosts:

1. Install Apache webserver. Make sure you have installed #Apache webserver. 

2. Create web directory for each host. 

3. Create demo web pages for each host. 

4. Create configuration file for each host. 

5. Enable virtual host configuration files. 

6. Test Virtual hosts.

Read More



Steps To Install Spark On Ubuntu

This article will guide you on how to install #Apache spark on a single #Ubuntu system. Apache Spark is a distributed open-source, general-purpose framework used in cluster computing environments for analyzing big data. You will be able to perform basic tests before you start configuring a #Spark cluster and performing advanced actions.

Spark is not a #database so it cannot "store data". It processes #data and stores it temporarily in memory, but that's not presistent storage. It can access data that's in: #SQL Databases (Anything that can be connected using JDBC #driver).

Read More



Rewrite URLs with mod_rewrite for Apache on Ubuntu 16 04

This article will guide you on how to rewrite URLs with mod_rewrite in #Apache. Basically, mod_rewrite helps in creating human-readable URLs.

The URL #Rewrite #Module is an extension software for #IIS (Internet Information Services). URLs should be created so that they are easy to remember for the users and easy to find for the search engines. The URL Rewrite Module enables web administrators to develop and implement rules that assist them in this task.

htaccess rewrite rule includes setting a combination of rewrite condition ( #RewriteCond ) tests along with a corresponding rule ( #RewriteRule ) if the prior conditions pass. In most cases, these rules should be placed at any point after the RewriteEngine line.

Read More



SSLRandomSeed cannot occur within VirtualHost section

This article will guide you on how to fix SSLRandomSeed cannot occur within VirtualHost section which triggers when the #SSLRandomSeed directive is specified inside the #VirtualHost section. 

Read More



Deploying Kohana PHP application on Debian

This article will guide you on how to deploy Kohana on #Debian. Kohana offers powerful event handling, multiple session drivers, simple database abstraction using #SQL helpers, and libraries that transparently handle external APIs. Its generous BSD license lets developers use and modify the framework to build commercial applications.

The #AppDynamics platform provides full, code-level visibility into the performance of your PHP application built on the Kohana framework. With rapid installation and the most scalable #architecture in the industry, AppDynamics solutions help you deploy your #applications more quickly and with more confidence.

Read More



PHP-FPM Code and FileSystem Layout for EasyApache 4

This article will guide you on how PHP FastCGI Process Manager (PHP-FPM) daemon works. PHP-FPM Code and FileSystem Layout for EasyApache allows the website to handle loads. 

As PHP-FPM receives a proxied connection, a free PHP-FPM worker accepts the web server's request. PHP-FPM then compiles and executes the PHP script, sending the output back to the web server. Each PHP user can have its own separate pool of worker processes for handling PHP requests.

FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. These features include:

i. Ability to start workers with different uid/gid/chroot/environment.

ii. listening on different ports and using different php. ini (replaces safe_mode).

Read More



Zabbix Single Sign-On SSO Authentication in Active Directory

This article will guide you on how to set #Zabbix : Single Sign-On (#SSO) Authentication in #Active Directory which helps users authenticate the Zabbix frontpage without entering credentials.
Users and resources are added to the directory service for central management and ADDS works with authentication protocols like #NTLM and #Kerberos. Thus, users that belong to ADDS can authenticate from their #machines and get access to others #systems that integrate with ADDS. This is a form of Single Sign-on.

Read More



Steps to Install GoAccess on Ubuntu

This article will guide you on how to #Install GoAccess on Ubuntu which is a command-line tool and how to use it for analyzing server #logs.
With #GoAccess, you are able to #SSH into any web server you control and view or analyze relevant statistics quickly and securely. Apart from the command-line dashboard interface, it's also capable of displaying the #statistics in other formats such as HTML, JSON, and CSV, which you can use in other contexts or share with others.

Read More



Set Up Laravel Nginx and MySQL with Docker Compose

This article will guide you on how to set up #Laravel, #Nginx, and #MySQL with #Docker Compose. When using a #LEMP application stack, for example, with PHP, Nginx, MySQL and the Laravel framework, Docker can significantly streamline the setup process.
Docker Compose has further simplified the development process by allowing developers to define their #infrastructure, including application services, #networks, and volumes, in a single file. Docker Compose offers an efficient alternative to running multiple docker container create and docker container run #commands.

Read More



Steps to create a Self-Signed SSL Certificate for Apache in CentOS 8

This article will guide you on how to configure #Apache to serve encrypted requests using a self-signed SSL certificate and to redirect unencrypted HTTP requests to #HTTPS. Self-signed #certificates or certificates issued by a private CAs are not appropriate for use with the general public. It can only properly verify the identity of the server when it is signed by a trusted third party because any attacker can create a self-signed certificate and launch a man-in-the-middle attack.

Read More



Install and Secure phpMyAdmin on Ubuntu

This article will guide you on the process to #install #PhpMyAdmin on Ubuntu. PHPMyAdmin allows users to interact with #MySQL through a web interface and makes MySQL #database #management easier.

Read More



SSLSessionCache cannot occur within VirtualHost section

This article will guide you on the steps to resolve #SSLSessionCache cannot occur within #VirtualHost section issue. Basically, SSLSessionCache is a file-based #cache of established #SSL sessions.

Read More



Step by step process to Secure Apache with Lets Encrypt on CentOS 8

This article will guide you on the process to secure #Apache with Let’s Encrypt by installing Let's Encrypt #Certbot client, downloading #SSL #certificates for the #domain, and setting up automatic certificate renewal.

The objective of Let's Encrypt and the #ACME protocol is to make it possible to set up an #HTTPS server and have it automatically obtain a browser-trusted certificate, without any human intervention.

Read More



304 not modified error Steps to fix it

An #HTTP 304 not modified status #code means that the website you're requesting hasn't been updated since the last time you accessed it.

Basically, your browser will save (or cache) web #pages so it doesn't have to repeatedly download the same information. This is an attempt to speed up page delivery. However, if this happens to your site, #visitors could be prevented from accessing your #web pages.

Read More



Install and Configure ModSecurity on Ubuntu

This article will guide you on the steps to perform #ModSecurity installation on #Ubuntu which involves enabling Core Rule Set to handle malicious activities.

Read More



Facts about Apache Thrift

Thrift can be set up to use HTTP and JSON pretty easily if you want it (say if your client is somewhere on the internet and needs to pass firewalls) Thrift supports persistent connections and avoids the continuous TCP and HTTP handshakes that HTTP incurs.

Read More



How to install PHP on Windows

This tutorial will guide you on the process to install PHP on a Windows server which allows you to build and test a web application safely without affecting the live website data.

Read More



Steps to sync two Apache web servers

This article will guide you on how to setup syncing Apache web servers which involves a number of procedures such as installation and configuration of LSyncD, setting up Apache Configuration Replication, and so on.

Read More



How to resolve apache not listening on port 443

This guide will help you to solve Apache not listening on port 443 which occurs as a result of Incorrect configuration settings, firewall restrictions and other factors.

Read More



PhpMyAdmin installation on Debian

This article will take you through the steps you need to take to install, Configure and Secure phpMyAdmin on your Debian 10 Server.

Read More



Running multiple versions of PHP on Apache PHP-FPM

This article will guide you through the steps you need to take to run multiple PHP versions on Apache PHP-FPM. We implemented this on Ubuntu 20.04 server handling two websites with two different PHP versions (PHP 7.2 and 7.3).

Read More



How to fix SSLSessionCache shmcb session cache not supported

SSLSessionCache: 'shmcb' error is usually triggered after upgrading the Apache from 2.2. to 2.4 version.

Read More



How to fix No matching DirectoryIndex Apache Error

Steps to fix  "No matching DirectoryIndex"  Apache web server error.

Read More



Solution to sslv3 alert handshake failure

Easy method to fix SSLv3 alert handshake failure.

Read More



Solution to unable to write random state openssl error

Best methods to fix "unable to write random state" OpenSSL error.

Read More



Solution to SSLPassPhraseDialog builtin is not supported on Win32 error

Easy way to fix  SSLPassPhraseDialog builtin is not supported on Win32 error in relation to Apache web server.

Read More



Solution to apache Error 408

Best method to fix Apache Error 408.

Read More



Solution to invalid command SSLEngine Error in apache

Effective method of fixing Invalid command SSLEngine Error in Apache web server.

Read More



Solve Error 505 HTTP Version Not Supported

Best method to fix Hyper Text Transfer Protocol (HTTP) error 505 Version Not Supported

Read More



Solve Apache error AH01276 Cannot serve directory

The solution to Apache server error No matching DirectoryIndex is here in this Article.


Read More



Solving Apache error client denied by server configuration

Are you facing "Apache error client denied by server configuration" web server issue? Let us solve it for you!

Read More



Resolving Apache error 1066

Solving Apache error 1066 issues by fixing errors in the web server configuration file.

Read More



Fix lighttpd 404 not found error

Lighttpd web server 404 not found error triggers when there a file permission issue or in cases where the configuration is not accurate.

Read More



Fix CodeIgniter Error 404

An #Error 404 is very common and we have seen our customers complain about it in their #CodeIgniter application website. This error means that there is a an incorrect configuration in the server files. Errors in the .htaccess file as well as the application routes.php file can cause this.

Read More