Introduction Letsencrypt offer free SSL certs but the one caveat is they have a short 90 day expiry. There is the option to setup automatic renewal using file based verification if the web server is accessible publicly, however if you need
Install Apache2 mod_wsgi Ubuntu
Introduction First place to start is the docs: https://modwsgi.readthedocs.io/en/develop/user-guides/quick-installation-guide.html Advises to install dev packages for apache and python if not installed. Use the latest version from source rather than using the versions in the repos. Once you’ve built from source,
Generate a CSR Using Openssl
Introduction Just a quick refresher on generating certificate signing requests. Generate the RSA key Create a RSA key for your Apache server, since every distro is different in where to place the certificates, we are just going to place it
Stop Apache Asking for SSL Passphrase after Restart
Introduction After upgrading my sites to SSL/TLS I had an annoying issue where after a reboot, I would have to kill the Apache process and start it again manually because it would fail first time because it did not have
How to Auto Redirect Apache Default Webpage to a Specific Page CentOS
Introduction Not much to add here as its the same as an older post: https://ip-life.net/how-to-auto-redirect-apache-default-webpage-to-a-specific-page/ Fix The only difference required in CentOS is to actually make the index file in the /var/www/html/ location: # touch /var/www/html/index.html Then modify as per
Cacti Validation Error
Introduction You try and add a new graph/s to a Graph Tree in cacti but you get “Validation error”. Fix Try editing the: /usr/share/cacti/graphs.php file and comment out the following line and restart apache. //input_validate_input_number(get_request_var_post(‘drp_action’)); service httpd restart
How to Auto Redirect Apache Default Webpage to a Specific Page
Introduction I wanted the default webpage of an internal server to go to the Cgi-bin directory so I could see my configs. Configuration Here’s what I did. Log into the server via SSH. #sudo su So I could modify the
404 Errors With Permalinks Set To %postname%
Introduction I wanted to change my blog from the ugly default links of database entries to something more meaningful and pleasing to the eye. I decided to use “post name” as the permalink settings but low and behold it wasn’t so
Configuring an Apache Reverse Proxy for Multiple Domains
Introduction I was given a task by my new employer to implement a reverse proxy. This is something in my career I had never done before or was even aware was used on a daily basis to protect back-end web