SSL on Debian 10 Apache2 Rumi, December 16, 2021 Assuming you have an SSL certificate already downloaded and available on the server. root@www:~#nano /etc/apache2/sites-available/default-ssl.conf # line 3: change admin email ServerAdminwebmaster@srv.world # line 32,33: change to the certs gotten in section [1] SSLCertificateFile /etc/letsencrypt/live/www.srv.world/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/www.srv.world/privkey.pem # line 42: uncomment and change to the chain-file gotten in section SSLCertificateChainFile… Continue Reading
Enable mod_rewrite for Apache on CentOS 7 Rumi, October 25, 2020 The mod_rewrite module is enabled by default on CentOS 7. If you find it is not enabled on your server, you can enable it by editing 00-base.conf file located in /etc/httpd/conf.modules.d/ directory. sudo nano /etc/httpd/conf.modules.d/00-base.conf Add or uncomment the following line: LoadModule rewrite_module modules/mod_rewrite.so Save and close the file, then… Continue Reading
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
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
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
SVN Server on Ubuntu 12.04 LTS with Web Access Rumi, December 9, 2015December 9, 2015 To install SVN server, run this command at the command prompt: sudo apt-get install subversion libapache2-svn apache2 Make the directory where you want to keep the svn repositories and edit the dav_svn.conf file: sudo mkdir /svn sudo nano /etc/apache2/mods-enabled/dav_svn.conf Delete all the data and make it simple like this 🙂 <Location… Continue Reading