Manage Apache VirtualHosts and mod_rewrite Rules with Ansible

Published June 2, 2014

I needed a way to manage Apache VirtualHosts and mod_rewrite rules. There are a handful of Ansible Roles available at Ansible Galaxy to manage Apache VirtualHosts, but none of them also manage mod_rewrite rules.

After figuring out how to include additional content in an Ansible Template file, I was able to quickly put together an Ansible Playbook and Ansible Template to manage my Apache VirtualHosts and their particular mod_rewrite rules.

Continue reading...

Setup the Transmission Web Interface Behind an Apache Reverse Proxy and SSL

Published September 29, 2013 • Updated December 19, 2017

By default, the transmission-daemon service uses its own web server and runs on port 9091. Assuming the service is running and the proper firewall holes have been made, the Transmission web interface can be accessed by going to While remembering to append port 9091 is not difficult, it would be much cleaner to just go to

Continue reading...