Usage of ./fave:
-debug
debug mode with ignoring log files
-dir string
virtual hosts directory
-host string
server host (default "0.0.0.0")
-port int
server port (default 8080)
hosts
├── localhost # Main host directory
├──── config # Config directory
├────── mysql.json # MySQL config file
├──── htdocs # Public http files
├──── logs # Logs dir
├────── access.log # Access log file
├────── error.log # Error log file
├──── template # Engine templates
├────── footer.html # Footer
├────── header.html # Header
├────── index.html # Template for index page
├────── page.html # Template for any other pages
├────── sidebar.html # Can be included in templates
└──── tmp # Temporary dir for session files
Unlimited hosts count. Template variables here, and here.