Apache error fix on Forbidden You don’t have permission to access this resource Rumi, June 30, 2020 Tested and works on Debian/Ubuntu apache installation. For this open the apache2.conf file using the nano editor sudo nano /etc/apache2/apache2.conf Replace the general directory settings with this. <Directory /> #Options FollowSymLinks Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order deny,allow Require all granted </Directory><Directory /usr/share> AllowOverride None Require all granted… Continue Reading
Enable and install SSL on Debian 8 apache server Rumi, February 29, 2020 Configure Apache2 for SSL. root@www:~# vi /etc/apache2/sites-available/default-ssl.conf # line 3: change to webmaster’s email ServerAdmin webmaster@srv.world # line 32,33: change to the one created in [1] SSLCertificateFile /etc/ssl/private/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key root@www:~# a2ensite default-ssl Enabling site default-ssl. Continue Reading
Using NGinx to serve static files and Apache for dynamic Rumi, September 6, 2019 Apache is a great web-server, but it has a pretty heavy memory footprint. It can get quite restrictive quite quickly, especially if you’re on a system will limited resources (given how many people now run on a VPS, and the poor disk IO of these systems it’s all the more… Continue Reading
Apache Virtual Hosts on CentOS Rumi, August 24, 2019 Step One— Create a New Directory The first step in creating a virtual host is to a create a directory where we will keep the new website’s information. This location will be your Document Root in the Apache virtual configuration file later on. By adding a -p to the line… Continue Reading
Set Up Apache Virtual Hosts on Debian 7 Rumi, July 29, 2019 Step One— Create a New Directory First, it is necessary to create a directory where we will keep the new website’s information. This location will be your Document Root in the Apache virtual configuration file. By adding a -p to the line of code, the command automatically generates all the… Continue Reading
Apache Virtual Hosts on Debian 8 Rumi, March 9, 2018 Step 1 — Creating the Directory Structure The first step that we are going to take is to make a directory structure that will hold the site data that we will be serving to visitors. Our document root, the top-level directory that Apache looks at to find content to serve,… Continue Reading
Apache Virtual Hosts on Debian 7 Rumi, August 2, 2017 Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server– each will display different information to the visitors, depending on which website the user is accessing.There… Continue Reading
Simple way to tune apache performance using mpm prefork module Rumi, April 19, 2017 There could be many reasons why your website performance is poor, one of them can possibly be that Apache is not coping with the load. Below you’ll find ready to consume configuration to make Apache performance better using the Apache MPM prefork module. To do this, just include the below… Continue Reading
Hiding Apache and PHP Server Signature Rumi, March 20, 2017March 26, 2017 Revealing web server signature with server/PHP version info can be a security risk as you are essentially telling attackers known vulnerabilities of your system. Thus it is recommended you disable all web server signatures as part of server hardening process. Disable Apache Web Server Signature Disabling Apache web server signature… Continue Reading
Remove apache, phpmyadmin etc from ubuntu 16.04 Rumi, February 4, 2017 You can remove the packages in Ubuntu by executing the commands: dpkg –purge phpmyadmin dpkg –purge mysql-server dpkg –purge apache2.2-common Or You have option also to remove the following packages: sudo apt-get remove apache2* sudo apt-get remove phpmyadmin sudo apt-get remove mysql-server sudo apt-get remove php5 Or sudo apt-get –purge… Continue Reading