HacksLinux SysAdmin Notes
This short article describes how to create a basic WSGI application that just prints "Hello World!" and run it on Apache using mod_wsgi.
List ServerName, Port, location of Configuration File and DocumentRoot of each currently enabled VirtualHost in Apache.
In this article you will find how to redirect all traffic and all visitors of your site to a maintenance page during site updates.
I'll show how to create a maintenance page, how to put the site into a maintenance mode and how to bring it back online without restarting Apache.
You'll learn how to redirect Apache Vhost's traffic to a maintenance page using either VirtualHost configuration file or using .HTAccess file.
Copyright © 2011-2017 Shell Hacks - Linux Howtos and Tutorials