#!/bin/sh
echo "Content-Type: text/html"
echo
echo ""
echo "
"
echo "List of Available Reports for AWStats"
echo ""
echo ""
echo "List of Available Reports for AWStats
"
echo ""
for config in /etc/awstats/awstats.*.conf; do
    config=${config#/etc/awstats/awstats.} # remove prefix
    config=${config%.conf}                 # remove suffix
    if [ "$config" = "model" ]; then
	continue
    fi
    echo "- $config"
done
echo "
"
echo ""
echo ""